• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Maven WAR Plugin ignores project-specific dist folder when packaging

Ranch Hand
Posts: 129
Oracle Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I am building a maven project and bundling it into a war and finally an EAR file. I have angular code inside the war project under src/main/webapp/angular_dashboard as a web resource and under that i have a folder called dist which is needed inside the war.

When the build runs , the maven war plugin (version 2.6) does not include the dist folder inside the war file.
I tried to use warSourceIncludes and packagingIncludes , but doesnt seem to solve the case.

ANy suggestions ? If needed, i can post my entire maven project stucture here
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic