Oh, I may find the problem. I shall use following scripts, <configuration> <warSourceDirectory>src/webapp</warSourceDirectory> <outputDirectory>target</outputDirectory> </configuration> The warSourceDirectory is my pre-archived directory ^_^ In fact, I didn't understand the doc correctly. Really, I don't understand webappDirectory well, too. How to explain the parameter?
a cup of Java, cheers! Sha Jiang jiangshachina wrote: > > 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 parameters in maven-war-plugin, > <configuration> > <webappDirectory>src/webapp</webappDirectory> > <warSourceDirectory>src/webapp</warSourceDirectory> > <outputDirectory>target</outputDirectory> > </configuration> > and then Maven regards src/webapp as pre-archived directory, that's not my > want. > But I don't find which parameter is used for setting pre-archived > directory :( > > a cup of Java, cheers! > Sha Jiang > -- View this message in context: http://www.nabble.com/How-to-customize-%22pre-archive%22-directory--tf2587306s177.html#a7215186 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]