Index: plugin.jelly =================================================================== RCS file: /home/cvspublic/maven-plugins/war/plugin.jelly,v retrieving revision 1.45 diff -u -r1.45 plugin.jelly --- plugin.jelly 15 Jul 2004 09:28:56 -0000 1.45 +++ plugin.jelly 16 Aug 2004 21:59:30 -0000 @@ -21,6 +21,7 @@ @@ -35,6 +36,7 @@ + @@ -131,17 +133,19 @@ - Assembling webapp ${pom.artifactId} - - - + + + + + + @@ -171,16 +175,20 @@ - - - - - - - - + + + + + + + + + + + + Index: plugin.properties =================================================================== RCS file: /home/cvspublic/maven-plugins/war/plugin.properties,v retrieving revision 1.12 diff -u -r1.12 plugin.properties --- plugin.properties 15 Jul 2004 09:28:56 -0000 1.12 +++ plugin.properties 16 Aug 2004 21:59:30 -0000 @@ -54,3 +54,6 @@ # Location of the manifest file to be used maven.war.manifest=${maven.war.src}/META-INF/MANIFEST.MF + +# Wether the project classes should be packed in a jar or not +maven.war.usesJar=false Index: xdocs/changes.xml =================================================================== RCS file: /home/cvspublic/maven-plugins/war/xdocs/changes.xml,v retrieving revision 1.31 diff -u -r1.31 changes.xml --- xdocs/changes.xml 15 Jul 2004 09:28:56 -0000 1.31 +++ xdocs/changes.xml 16 Aug 2004 21:59:30 -0000 @@ -25,6 +25,9 @@ + + Add the maven.war.usesJar property that, when set to true, includes the project's jar into WEB-INF/lib (instead of copying the project classes into WEB-INF/classes + Made the maven.war.final.name property public as it is required by several other plugins and before this change the only Index: xdocs/properties.xml =================================================================== RCS file: /home/cvspublic/maven-plugins/war/xdocs/properties.xml,v retrieving revision 1.14 diff -u -r1.14 properties.xml --- xdocs/properties.xml 15 Jul 2004 09:28:56 -0000 1.14 +++ xdocs/properties.xml 16 Aug 2004 21:59:31 -0000 @@ -147,6 +147,13 @@ >SUN Code Conventions for the JavaServer Pages + + maven.war.usesJar + Yes + + Whether to pack the project classes in a jar located at WEB-INF/lib or copy the projects classes into WEB-INF/classes (default behavior) + +