Fantastic fix! I kinda hacked up my cactus jelly script to deal with the fact that the war did have version information.
Eric Pugh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:28 PM To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-turbine-maven/src/plugins-build/war plugin.jelly kschrader 2003/01/27 10:27:45 Modified: src/plugins-build/war plugin.jelly Log: The webapp that is built shouldn't include the version number in the file/folder name. Revision Changes Path 1.2 +4 -4 jakarta-turbine-maven/src/plugins-build/war/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/war/plugin.jelly,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin.jelly 24 Jan 2003 03:46:23 -0000 1.1 +++ plugin.jelly 27 Jan 2003 18:27:45 -0000 1.2 @@ -29,9 +29,9 @@ <goal name="war:war" prereqs="war:init" description="Build a war file"> <property name="maven.war.final.name" - value="${maven.final.name}.war"/> + value="${pom.artifactId}.war"/> - <echo>Building WAR ${maven.final.name}</echo> + <echo>Building WAR ${pom.artifactId}</echo> <mkdir dir="${maven.war.build.dir}" /> <war warfile="${maven.war.build.dir}/${maven.war.final.name}" @@ -89,9 +89,9 @@ <goal name="war:webapp" prereqs="war:init" description="Build a webapp directory"> - <echo>Assembling webapp ${maven.final.name}</echo> + <echo>Assembling webapp ${pom.artifactId}</echo> - <property name="webapp.build" value="${maven.war.build.dir}/${maven.final.name}"/> + <property name="webapp.build" value="${maven.war.build.dir}/${pom.artifactId}"/> <mkdir dir="${webapp.build}"/> <property name="webapp.build.webinf" value="${webapp.build}/WEB-INF"/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
