Author: jbalunas(a)redhat.com
Date: 2010-06-11 11:45:59 -0400 (Fri, 11 Jun 2010)
New Revision: 17616
Modified:
root/pom.xml
Log:
Updated to support branch and tag based builds
Modified: root/pom.xml
===================================================================
--- root/pom.xml 2010-06-11 14:55:14 UTC (rev 17615)
+++ root/pom.xml 2010-06-11 15:45:59 UTC (rev 17616)
@@ -10,6 +10,22 @@
<version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Richfaces Aggregator</name>
+
+ <properties>
+ <richfaces.bom.path>trunk</richfaces.bom.path>
+ <richfaces.commons.path>trunk</richfaces.commons.path>
+ <richfaces.cdk.path>trunk</richfaces.cdk.path>
+ <richfaces.core.path>trunk</richfaces.core.path>
+ <richfaces.ui.core.path>trunk</richfaces.ui.core.path>
+ <richfaces.ui.iteration.path>trunk</richfaces.ui.iteration.path>
+ <richfaces.ui.misc.path>trunk</richfaces.ui.misc.path>
+ <richfaces.ui.dist.path>trunk</richfaces.ui.dist.path>
+ <richfaces.archetype.simpleapp.path>trunk</richfaces.archetype.simpleapp.path>
+ <richfaces.examples.core-demo.path>trunk</richfaces.examples.core-demo.path>
+ <richfaces.examples.showcase.path>trunk</richfaces.examples.showcase.path>
+ <richfaces.docs.path>trunk</richfaces.docs.path>
+ <richfaces.dist.path>trunk</richfaces.dist.path>
+ </properties>
<modules>
<!-- These trunk settings, and this pom.xml will be removed -->
@@ -18,22 +34,22 @@
<!--<module>build/resources/trunk/checkstyle</module>-->
<!--<module>build/resources/trunk/faces-shade-transformers</module>-->
- <module>build/bom/trunk</module>
- <module>commons/trunk</module>
- <module>cdk/trunk</module>
- <module>core/trunk</module>
+ <module>build/bom/${richfaces.bom.path}</module>
+ <module>commons/${richfaces.commons.path}</module>
+ <module>cdk/${richfaces.cdk.path}</module>
+ <module>core/${richfaces.core.path}</module>
<!-- richfaces ui -->
- <module>ui/core/trunk</module>
- <module>ui/iteration/trunk</module>
- <module>ui/misc/trunk</module>
- <module>ui/dist/trunk</module>
+ <module>ui/core/${richfaces.ui.core.path}</module>
+ <module>ui/iteration/${richfaces.ui.iteration.path}</module>
+ <module>ui/misc/${richfaces.ui.misc.path}</module>
+ <module>ui/dist/${richfaces.ui.dist.path}</module>
<!-- Remaining -->
- <module>archetypes/richfaces-archetype-simpleapp/trunk</module>
- <module>examples/core-demo/trunk</module>
- <module>examples/richfaces-showcase/trunk</module>
- <module>docs/trunk</module>
+
<module>archetypes/richfaces-archetype-simpleapp/${richfaces.archetype.simpleapp.path}</module>
+
<module>examples/core-demo/${richfaces.examples.core-demo.path}</module>
+ <module>examples/richfaces-showcase/${richfaces.examples.showcase.path}</module>
+ <module>docs/${richfaces.docs.path}</module>
</modules>
<profiles>
@@ -47,8 +63,48 @@
<profile>
<id>release</id>
<modules>
- <module>dist/trunk</module>
+ <module>dist/${richfaces.dist.path}</module>
</modules>
</profile>
+ <profile>
+ <id>tag_based</id>
+ <properties>
+ <!-- TODO this can be generalized, and driven by property file, or script -->
+ <build-version>4.0.0.Alpha2</build-version>
+ <richfaces.bom.path>tags/richfaces-bom-${build-version}</richfaces.bom.path>
+ <richfaces.commons.path>tags/richfaces-commons-${build-version}</richfaces.commons.path>
+ <richfaces.cdk.path>tags/richfaces-cdk-${build-version}</richfaces.cdk.path>
+ <richfaces.core.path>tags/richfaces-core-${build-version}</richfaces.core.path>
+ <richfaces.ui.core.path>tags/richfaces-ui-core-${build-version}</richfaces.ui.core.path>
+ <richfaces.ui.iteration.path>tags/richfaces-ui-iteration-${build-version}</richfaces.ui.iteration.path>
+ <richfaces.ui.misc.path>tags/richfaces-ui-misc-${build-version}</richfaces.ui.misc.path>
+ <richfaces.ui.dist.path>tags/richfaces-ui-dist-${build-version}</richfaces.ui.dist.path>
+ <richfaces.archetype.simpleapp.path>tags/richfaces-archetype-simpleapp-${build-version}</richfaces.archetype.simpleapp.path>
+ <richfaces.examples.core-demo.path>tags/richfaces-core-demo-${build-version}</richfaces.examples.core-demo.path>
+ <richfaces.examples.showcase.path>tags/richfaces-showcase-${build-version}</richfaces.examples.showcase.path>
+ <richfaces.docs.path>tags/richfaces-docs-${build-version}</richfaces.docs.path>
+ <richfaces.dist.path>tags/richfaces-dist-${build-version}</richfaces.dist.path>
+ </properties>
+ </profile>
+ <profile>
+ <id>branch_based</id>
+ <properties>
+ <!-- TODO this can be generalized, and driven by property file, or script -->
+ <build-version>4.0.0.Alpha2</build-version>
+ <richfaces.bom.path>branches/richfaces-bom-${build-version}</richfaces.bom.path>
+ <richfaces.commons.path>branches/richfaces-commons-${build-version}</richfaces.commons.path>
+ <richfaces.cdk.path>branches/richfaces-cdk-${build-version}</richfaces.cdk.path>
+ <richfaces.core.path>branches/richfaces-core-${build-version}</richfaces.core.path>
+ <richfaces.ui.core.path>branches/richfaces-ui-core-${build-version}</richfaces.ui.core.path>
+ <richfaces.ui.iteration.path>branches/richfaces-ui-iteration-${build-version}</richfaces.ui.iteration.path>
+ <richfaces.ui.misc.path>branches/richfaces-ui-misc-${build-version}</richfaces.ui.misc.path>
+ <richfaces.ui.dist.path>branches/richfaces-ui-dist-${build-version}</richfaces.ui.dist.path>
+ <richfaces.archetype.simpleapp.path>branches/richfaces-archetype-simpleapp-${build-version}</richfaces.archetype.simpleapp.path>
+ <richfaces.examples.core-demo.path>branches/richfaces-core-demo-${build-version}</richfaces.examples.core-demo.path>
+ <richfaces.examples.showcase.path>branches/richfaces-showcase-${build-version}</richfaces.examples.showcase.path>
+ <richfaces.docs.path>branches/richfaces-docs-${build-version}</richfaces.docs.path>
+ <richfaces.dist.path>branches/richfaces-dist-${build-version}</richfaces.dist.path>
+ </properties>
+ </profile>
</profiles>
</project>
Show replies by date