2

Currently I have a multi-maven project, and my webapp maven project is currently generating a .war file.

How can I have it generate an exploded war?

(It is hard to deploy when it is a single file as it is large, and I am forced to upload the entire file when most of the library files are already on the server after the initial deploy)

loyalflow
  • 14,275
  • 27
  • 107
  • 168
  • 2
    Try [this](http://stackoverflow.com/questions/352612/how-to-get-maven-to-run-warexploded-but-not-warwar) – janisz Sep 10 '12 at 18:56

2 Answers2

2

You need maven-war-plugin:exploded

yegor256
  • 102,010
  • 123
  • 446
  • 597
0

Look in ./target/$war-name/ -- that should be the complete war, expanded.

Joseph Ottinger
  • 4,911
  • 1
  • 22
  • 23
  • I have that, but it doesn't have the correct file set, wasn't sure why or if it was really an exploded war. – loyalflow Sep 10 '12 at 19:07