Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Maven WAR Plugin ignores project-specific dist folder when packaging

Ranch Hand
Posts: 127
Oracle Opera Java
  • Mark post as helpful
  • send pies
  • 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
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic