A 15:47 23/06/2003 +0200, vous avez �crit :
Hi all,

can someone tell me why the war:war goal builds a WAR file named ${pom.artifactId}.war?
I expected ${maven.final.name}.war as name like jar:jar builds JAR files.


In plugin.jelly of the war-plugin there is ${maven.war.final.name} defined. But its value equals to ${pom.artifactId}.

I guess the reason is that ${maven.final.name} contains version info and the war built would be called something like : mywebapp-1.1.war
That would cause your web app to respond to the URL http://www.myserver.net/mywebapp-1.1 instead of http://www.myserver.net/mywebapp ; which obviously most people would not like.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to