• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Maven WAR Plugin ignores project-specific dist folder when packaging

Ranch Hand
Posts: 127
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
On top of spaghetti all covered in cheese, there was this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic