Hello,
I'm using customized project directory structure.
To standard Maven Web application project, when run mvn package,
a folder generated at directory target, the folder includes all of
files/dirs would be archived to war file.
I call the folder pre-archived directory :D
I customized three
Oh, I may find the problem.
I shall use following scripts,
configuration
warSourceDirectorysrc/webapp/warSourceDirectory
outputDirectorytarget/outputDirectory
/configuration
The warSourceDirectory is my pre-archived directory ^_^
In fact, I didn't understand the doc correctly.
The war plugin will create an exploded (pre-archived) version of the
webapp in the directory you configure using the webappDirectory property.
However, it sounds like you might be trying to build the exploded webapp
in your warSourceDirectory, which you have configured to be src/webapp.
If
Hello Max,
Thanks!
I was confused by the two parameters.
Now, I use following format scripts,
configuration
webappDirectorytarget/${artifactId}/webappDirectory
warSourceDirectorysrc/webapp/warSourceDirectory
outputDirectorytarget/outputDirectory
/configuration
I have to