vmassol 2003/11/12 14:27:28
Modified: integration/maven project.xml project.properties
Log:
Not sure if this is better but it allows to build the plugin and override the
default version number. For example this could be useful for nightly builds where we
have version of the form: 1.6dev-20031112.
Revision Changes Path
1.4 +1 -1 jakarta-cactus/integration/maven/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/project.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- project.xml 8 Nov 2003 16:33:50 -0000 1.3
+++ project.xml 12 Nov 2003 22:27:28 -0000 1.4
@@ -7,7 +7,7 @@
<!-- Note: Although we inherit from default-project.xml, we still cannot
remove the <currentVersion> tag as this project.xml is parsed at
runtime whenever our plugin is called. -->
- <currentVersion>1.6dev</currentVersion>
+ <currentVersion>${cactus.plugin.version}</currentVersion>
<name>Maven Cactus plugin</name>
<package>org.apache.cactus.integration.maven</package>
1.3 +5 -1 jakarta-cactus/integration/maven/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/project.properties,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- project.properties 29 Oct 2003 20:15:41 -0000 1.2
+++ project.properties 12 Nov 2003 22:27:28 -0000 1.3
@@ -6,6 +6,10 @@
# $Id$
# -----------------------------------------------------------------------------
+# Plugin version. This property is externalized from project.xml so that it can
+# be overriden by the build process.
+cactus.plugin.version = 1.6dev
+
# Checkstyle config to use
maven.checkstyle.properties = ${basedir}/../../checkstyle.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]