weaver 2004/10/01 08:00:48
Modified: maven-plugin plugin.jelly plugin.properties
Log:
Support enable/disable of copying the war file on deploy.
Revision Changes Path
1.20 +4 -2 jakarta-jetspeed-2/maven-plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/maven-plugin/plugin.jelly,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- plugin.jelly 29 Sep 2004 16:07:22 -0000 1.19
+++ plugin.jelly 1 Oct 2004 15:00:48 -0000 1.20
@@ -248,11 +248,13 @@
<attainGoal name='jetspeed2:deploy.shared'/>
- <copy todir="${org.apache.jetspeed.deploy.war.dir}" failonerror="true"
overwrite="true">
+ <j:if test="${org.apache.jetspeed.copy.war}">
+ <copy todir="${org.apache.jetspeed.deploy.war.dir}" failonerror="true"
overwrite="true">
<fileset dir="${maven.war.build.dir}" >
<include name="${maven.war.final.name}" />
</fileset>
- </copy>
+ </copy>
+ </j:if>
<attainGoal name='jetspeed2:copy.context'/>
1.8 +10 -0 jakarta-jetspeed-2/maven-plugin/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/maven-plugin/plugin.properties,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plugin.properties 29 Sep 2004 16:07:22 -0000 1.7
+++ plugin.properties 1 Oct 2004 15:00:48 -0000 1.8
@@ -43,10 +43,20 @@
maven.war.build.dir=${maven.build.dir}
maven.war.webapp.dir=${maven.war.build.dir}/${pom.artifactId}
+
+
# Specifies whether or not to expand the war when deploy.portal is called.
+# If this is set to false, "org.apache.jetspeed.copy.war" must be set to true.
# You can override this property either in you project's project.properties
# or from your ${user.home}/build.properties
org.apache.jetspeed.explode.war=true
+
+# Specifies whether or not to the war file is copied to the deployment directory
+# of your app server.
+# If this set to false "org.apache.jetspeed.explode.war" must be set to true.
+# You can override this property either in you project's project.properties
+# or from your ${user.home}/build.properties
+org.apache.jetspeed.copy.war=true
maven.war.final.name=jetspeed.war
maven.war.web.app.name=jetspeed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]