Author: dan.j.allen
Date: 2011-01-21 16:11:42 -0500 (Fri, 21 Jan 2011)
New Revision: 7197
Added:
archetypes/javaee6-webapp/trunk/release-procedure.txt
Modified:
archetypes/javaee6-webapp/trunk/archetype-pom.xml
archetypes/javaee6-webapp/trunk/readme.txt
Log:
- release procedure
- central repos
- download for jboss as and glassfish
Modified: archetypes/javaee6-webapp/trunk/archetype-pom.xml
===================================================================
--- archetypes/javaee6-webapp/trunk/archetype-pom.xml 2011-01-21 20:53:01 UTC (rev 7196)
+++ archetypes/javaee6-webapp/trunk/archetype-pom.xml 2011-01-21 21:11:42 UTC (rev 7197)
@@ -77,4 +77,20 @@
<
developerConnection>scm:svn:https://svn.jboss.org/repos/weld/archetype...
<
url>http://fisheye.jboss.org/browse/weld/archetypes/javaee6-webapp/tru...
</scm>
+
+ <!-- Uncomment to deploy to central -->
+ <!--
+ <distributionManagement>
+ <repository>
+ <id>central-releases-repository</id>
+ <name>Sonatype Nexus Maven Repository</name>
+ <
url>http://oss.sonatype.org/service/local/staging/deploy/maven2</ur...
+ </repository>
+ <snapshotRepository>
+ <id>central-snapshots-repository</id>
+ <name>Sonatype Nexus Snapshot Repository</name>
+
<
url>http://oss.sonatype.org/content/repositories/jboss-snapshots</u...
+ </snapshotRepository>
+ </distributionManagement>
+ -->
</project>
Modified: archetypes/javaee6-webapp/trunk/readme.txt
===================================================================
--- archetypes/javaee6-webapp/trunk/readme.txt 2011-01-21 20:53:01 UTC (rev 7196)
+++ archetypes/javaee6-webapp/trunk/readme.txt 2011-01-21 21:11:42 UTC (rev 7197)
@@ -252,4 +252,5 @@
- Forums:
http://seamframework.org/Community/WeldUsers
- JSR-299 overview:
http://seamframework.org/Weld
- JSF community site:
http://www.javaserverfaces.org
-
+ - Download JBoss AS:
http://jboss.org/jbossas/downloads
+ - Download GlassFish:
http://glassfish.java.net/public/downloadsindex.html
Added: archetypes/javaee6-webapp/trunk/release-procedure.txt
===================================================================
--- archetypes/javaee6-webapp/trunk/release-procedure.txt (rev 0)
+++ archetypes/javaee6-webapp/trunk/release-procedure.txt 2011-01-21 21:11:42 UTC (rev
7197)
@@ -0,0 +1,17 @@
+(Assume Q is the qualifier of the release, e.g., Beta1)
+./create-archetype.sh
+cd target/archetype
+vim pom.xml (change 1.0.1-SNAPSHOT to 1.0.1.Q)
+svn import
https://svn.jboss.org/repos/weld/archetypes/javaee6-webapp/tags/1.0.1.Q
+cd -
+cd ../tags
+svn update
+cd 1.0.1.Q
+vim pom.xml (change 1.0.1.Q to 1.0.1-SNAPSHOT)
+mvn release:prepare --batch-mode -Drelease -DdevelopmentVersion=1.0.1-SNAPSHOT
-DreleaseVersion=1.0.1.Q -Dtag=1.0.1.Q -DdryRun=true
+cp pom.xml.tag pom.xml
+svn commit pom.xml -m "update tag version"
+cp pom.xml.releaseBackup pom.xml
+mvn release:perform nexus:staging-close -Drelease
+svn revert pom.xml
+mvn clean