Author: nbelaevski
Date: 2008-09-11 14:01:12 -0400 (Thu, 11 Sep 2008)
New Revision: 10417
Modified:
trunk/deployRelease.sh
trunk/docs/pom.xml
trunk/markRelease.sh
trunk/prepareRelease.sh
Log:
https://jira.jboss.org/jira/browse/RF-4456
Modified: trunk/deployRelease.sh
===================================================================
--- trunk/deployRelease.sh 2008-09-11 15:31:11 UTC (rev 10416)
+++ trunk/deployRelease.sh 2008-09-11 18:01:12 UTC (rev 10417)
@@ -1,26 +1,26 @@
PROJECT_DIR=`pwd`
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy -N
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
cd $PROJECT_DIR/cdk
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/framework
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/ui
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy -N
-mvn -s ~/.m2t/settings.xml -P local,release clean install
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean install
cd $PROJECT_DIR/docs
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/ui/assembly
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/extensions
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/samples
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy -N
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy -N
cd $PROJECT_DIR/samples/laguna
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/glassX
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/darkX
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
cd $PROJECT_DIR/samples/richfaces-demo
-mvn -s ~/.m2t/settings.xml -P local,release clean deploy
+mvn -s ~/.m2t/settings.xml -P local,docs,release clean deploy
Modified: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml 2008-09-11 15:31:11 UTC (rev 10416)
+++ trunk/docs/pom.xml 2008-09-11 18:01:12 UTC (rev 10417)
@@ -53,20 +53,25 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>docs</id>
+ <modules>
+ <module>highlight</module>
+ <module>xslt</module>
+ <!--
+ <module>docbook</module>
+ <module>maven-docbook-plugin</module>
+ -->
+ <module>userguide</module>
+ <module>cdkguide</module>
+ <module>faq</module>
+ <module>migrationguide</module>
- <modules>
- <module>highlight</module>
- <module>xslt</module>
- <!--
- <module>docbook</module>
- <module>maven-docbook-plugin</module>
- -->
- <module>userguide</module>
- <module>cdkguide</module>
- <module>faq</module>
- <module>migrationguide</module>
+ </modules>
+ </profile>
+ </profiles>
- </modules>
<build>
<pluginManagement>
<plugins>
Modified: trunk/markRelease.sh
===================================================================
--- trunk/markRelease.sh 2008-09-11 15:31:11 UTC (rev 10416)
+++ trunk/markRelease.sh 2008-09-11 18:01:12 UTC (rev 10417)
@@ -1,7 +1,7 @@
#!/bin/sh
mvn scm:checkout -DconnectionType=developerConnection
cd target/checkout
-mvn release:branch -DdryRun=true -DautoVersionSubmodules=true \
+mvn release:branch -P docs -DdryRun=true -DautoVersionSubmodules=true \
-DbranchName=$1 -DupdateBranchVersions=true \
-DupdateVersionsToSnapshot=false \
-DupdateWorkingCopyVersions=false \
Modified: trunk/prepareRelease.sh
===================================================================
--- trunk/prepareRelease.sh 2008-09-11 15:31:11 UTC (rev 10416)
+++ trunk/prepareRelease.sh 2008-09-11 18:01:12 UTC (rev 10417)
@@ -1,8 +1,8 @@
#!/bin/sh
mvn scm:checkout -DconnectionType=developerConnection
cd target/checkout
-mvn release:prepare -P release -DautoVersionSubmodules=true \
- -Darguments="-P release" \
+mvn release:prepare -P docs,release -DautoVersionSubmodules=true \
+ -Darguments="-P docs,release" \
-Dtag=$1 -DpreparationGoals="install" \
-DtagBase=https://svn.jboss.org/repos/richfaces/tags <<-EOF
$1