[seam-commits] Seam SVN: r13601 - in branches/community/Seam_2_2: build and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Aug 11 10:01:09 EDT 2010
Author: manaRH
Date: 2010-08-11 10:01:08 -0400 (Wed, 11 Aug 2010)
New Revision: 13601
Modified:
branches/community/Seam_2_2/build/build.properties
branches/community/Seam_2_2/build/docs.pom.xml
branches/community/Seam_2_2/build/readme.txt
branches/community/Seam_2_2/build/root.pom.xml
branches/community/Seam_2_2/release-process.txt
Log:
JBSEAM-4692
Modified: branches/community/Seam_2_2/build/build.properties
===================================================================
--- branches/community/Seam_2_2/build/build.properties 2010-08-11 12:42:33 UTC (rev 13600)
+++ branches/community/Seam_2_2/build/build.properties 2010-08-11 14:01:08 UTC (rev 13601)
@@ -1,4 +1,5 @@
offline.repository.jboss.org /home/mnovotny/projects/jboss-maven-repository/maven2
+jboss-releases-repository https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
embedded.poms.dir /home/mnovotny/workspaces/jboss/jboss-seam_2_2/build/embedded
embedded.dir /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded
#embedded.jars.dir /Users/pmuir/tmp/embedded-jboss-beta3/lib
Modified: branches/community/Seam_2_2/build/docs.pom.xml
===================================================================
--- branches/community/Seam_2_2/build/docs.pom.xml 2010-08-11 12:42:33 UTC (rev 13600)
+++ branches/community/Seam_2_2/build/docs.pom.xml 2010-08-11 14:01:08 UTC (rev 13601)
@@ -10,21 +10,6 @@
<packaging>jdocbook</packaging>
<name>Seam Reference Guide</name>
- <pluginRepositories>
- <pluginRepository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </repository>
- </repositories>
-
<build>
<plugins>
<plugin>
Modified: branches/community/Seam_2_2/build/readme.txt
===================================================================
--- branches/community/Seam_2_2/build/readme.txt 2010-08-11 12:42:33 UTC (rev 13600)
+++ branches/community/Seam_2_2/build/readme.txt 2010-08-11 14:01:08 UTC (rev 13601)
@@ -42,20 +42,6 @@
* Bear in mind that a released Seam shouldn't depend on a SNAPSHOT version
-* When we release Seam we have to add all it's dependencies to
- repository.jboss.org (no thirdparty repositories should be used for released
- versions) - so if you are adding a dependency which is stable, and you aren't
- planning to change the dependency before the next release you should add it
- straight to repository.jboss.org. To do this:
- 1) Checkout repository.jboss.org/maven2 from svn (https://svn.jboss.org/repos/repository.jboss.org)
- 2) Set the offline.repository.jboss.org property in build/build.properties to
- the directory you checked out to.
- 3) Run ant -Dpom=foo.pom -Djar=foo.jar deployRelease
- - if the new dependency also has a source and javadoc jar you can run:
- - "ant -Dpom=foo.pom -Djar=foo.jar -Dsrcjar=foo-src.jar -Ddocjar=foo-doc.jar deployReleaseWithSourcesAndJavaDoc"
- 4) Check in the changed files to SVN (they'll be under a path of
- artifactId/groupId/version)
-
To add a unreleased dependency of Seam:
-----------------------------------------
@@ -63,26 +49,10 @@
* If you need a dependency which isn't available in Maven, and don't want to add
it straight to repository.jboss.org or want to depend on a CVS/snapshot of a
project which you're planning to upgrade before the next Seam release you
- can add it to snapshots.jboss.org.
+ can add it to repository.jboss.org.
+ Check the http://community.jboss.org/wiki/UploadingaThirdpartyArtifact.
-* To add a jar to the local repository, you can, if you have a pom (that you
- copied from an earlier version or have written) run:
- ant deploySnapshot -Dpom=foo.pom -Djar=foo.jar
-
- If you want maven to create a basic pom for you:
-
- ant deploySnapshot -Djar=foo.jar
-
- You will be prompted for your jboss.org username and pasword (WARNING your
- password is echoed back to you!)
-
-* If you need to alter the pom or jar in a repository but don't change
- the version number, you should delete the old copy from maven's cache
-
- rm -rf ~/.m2/repository/group/id/artifactId/version
-
-
Release Instructions
--------------------
@@ -95,15 +65,19 @@
* Check that all dependencies of Seam are present in repository.jboss.org
- Check that snapshots.jboss.org is not active
- Check that no other maven repositorys are enabled
-* Follow the proceedure outlined above to add jars to repository.jboss.org
+* Follow the procedure outlined above to add jars to repository.jboss.org
Add Seam to repository.jboss.org:
-* Checkout repository.jboss.org/maven2 from svn (https://svn.jboss.org/repos/repository.jboss.org)
-* Set the offline.repository.jboss.org property in build/build.properties to the
- directory you checked out to.
-* Run ant releaseSeam
-* Commit the release to repository.jboss.org
+* Run ant -Drepository.username=<your_username> -Drepository.password=<your_password> stageReleaseSeam
+* Login to https://repository.jboss.org/nexus and close the staging repository, which was created by previous
+ step.
+* Click on the link "Staging Repositories" on the left side under the section called "Build Promotion".
+ Next, select the checkbox next to the staging repository which contains your jboss.org userid.
+ Then click on the "Close" button at the top of the repository list.
+ More at http://community.jboss.org/wiki/MavenDeployingaRelease page
+* Verify your upload by using staging repo https://repository.jboss.org/nexus/content/groups/staging/
+*
Examples
Modified: branches/community/Seam_2_2/build/root.pom.xml
===================================================================
--- branches/community/Seam_2_2/build/root.pom.xml 2010-08-11 12:42:33 UTC (rev 13600)
+++ branches/community/Seam_2_2/build/root.pom.xml 2010-08-11 14:01:08 UTC (rev 13601)
@@ -9,32 +9,6 @@
<version>@seam.version@</version>
<name>JBoss Seam</name>
<packaging>pom</packaging>
- <pluginRepositories>
- <pluginRepository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </pluginRepository>
- <pluginRepository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </repository>
- <repository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
- </repositories>
<!-- Externalize some version numbers here -->
<properties>
Modified: branches/community/Seam_2_2/release-process.txt
===================================================================
--- branches/community/Seam_2_2/release-process.txt 2010-08-11 12:42:33 UTC (rev 13600)
+++ branches/community/Seam_2_2/release-process.txt 2010-08-11 14:01:08 UTC (rev 13601)
@@ -28,7 +28,8 @@
Maven repository settings
-------------------------
* A released version of seam should not reference any repositories other than
- "repository.jboss.org". See "build/readme.txt" for details.
+ "http://repository.jboss.org/nexus/content/groups/public/" or for older things "https://repository.jboss.org/nexus/content/repositories/deprecated/".
+ See "build/readme.txt" for details.
- Search "$SEAM/build" for "repositories".
- Comment out any repository entry not "http://repository.jboss.org/maven2"
- Should only be entries in "root.pom.xml" and "docs.pom.xml"
@@ -593,19 +594,8 @@
- Note: this can take a long time.
* Maven release procedure.(see build/readme.txt for details)
- - Checkout/update JBoss repository
- - checkout "svn co https://svn.jboss.org/repos/repository.jboss.org/maven2"
- - Note this can take a very long time
- - update (if already local) "svn update ." in the "maven2" directory.
- - Adding this to an eclipse project with svn plugin can make it much easier.
- - Set the "offline.repository.jboss.org" property in "build/build.properties"
- - to the directory you checked out to.
- - Run "ant releaseSeam" in the build directory
- - Review and Commit the release changes to repository.jboss.org
- - simple script to add new files to SVN
- - svn status | grep "^\?" | awk '{print $2}' | xargs svn add
- - note if you've added this to eclipse you may need to revert ".project"
- - they still need to be reviewed and commited.
+ - Run "ant -Drepository.username=<your_username> -Drepository.password=<your_password> stageReleaseSeam" in the build directory
+ - Then follow http://community.jboss.org/wiki/MavenDeployingaRelease section Closing the Staging Respository
* Create draft of the documentation and download pages on seamframework.org
- documentation points to "docs.jboss.com"
More information about the seam-commits
mailing list