You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by jg...@apache.org on 2010/03/14 22:01:51 UTC
svn commit: r922958 - in /ibatis/java/ibator/trunk/core:
ibator-core/doc/releasing.txt ibator-systests-ibatis2-java2/pom.xml
ibator-systests-ibatis2-java5/pom.xml ibator-systests-ibatis3/pom.xml
Author: jgbutler
Date: Sun Mar 14 21:01:50 2010
New Revision: 922958
URL: http://svn.apache.org/viewvc?rev=922958&view=rev
Log:
[ibator] build updates
Modified:
ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt
ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml
ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml
ibatis/java/ibator/trunk/core/ibator-systests-ibatis3/pom.xml
Modified: ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt?rev=922958&r1=922957&r2=922958&view=diff
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt (original)
+++ ibatis/java/ibator/trunk/core/ibator-core/doc/releasing.txt Sun Mar 14 21:01:50 2010
@@ -1,38 +1,53 @@
-Releasing Ibator:
+Releasing Ibator
+================
-1. Increment the version number in the POMs
+Core Release Process
+====================
-2. Build and test the base Ibator with Maven
+This process is similar to what is show at http://maven.apache.org/developers/release/apache-release.html
+except that Ibator is not using the nexus repository manager, so the deployment
+steps are different (and we are not publishing snapshot versions).
-3. Build the new version of the Eclipse feature:
- - Copy new ibator-core-x.x.x.jar and ibator-core-x.x.x-sources.jar into the core plugin
+1. mvn release:prepare -DdryRun=true
+
+ Make sure the new POMs look OK (pom.xml.next and pom.xml.tag)
+
+2. mvn release:clean
+
+3. mvn release:prepare -Dusername=xxx -Dpassword=xxx
+
+4. mvn deploy -DaltDeploymentRepository=local::default::file:/temp/IbatorDeploy
+
+5. scp the new artifacts to /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/ibatis/ibator/etc.
+
+
+Eclipse Release Process
+=======================
+
+1. Build the new version of the Eclipse feature:
- Increment the version number of the feature
- Increment the version number of any plugin that has changed
- - Build the doc
+ - Run the build.xml script in the build project (creates a new feature version
+ at \temp\ibator.build\etc.)
+ - Add the new feature and plugin jars to the IbatorUpdateSite project
- Add the new version of the feature to site.xml in the IbatorUpdateSite
- project
- - Build the update site (just the new version, not build all)
- - Delete the files artifacts.xml and content.xml generated by the
- site builder (these files do not properly categorize the features.
- See Eclipse bug 227675 for a possible solution in release 3.5)
- - Do SVN Revert on any old plugin versions that were regenerated by the
- site build process
+ project (manually)
-4. Run through the manual test scripts for the Eclipse feature
+2. Run through the manual test scripts for the Eclipse feature
-5. Zip the contents of the update site (remove project metadata)
+3. Zip the contents of the update site (remove project metadata)
-6. Commit everything
+4. Commit everything
-7. Make an SVN label
+5. Make an SVN label
-8. Run mvn assembly:assembly on the ibator-core project to create the base zip file. Put the
+6. Run mvn assembly:assembly on the ibator-core project to create the base zip file. Put the
new base Ibator zip file in /www/people.apache.org/builds/ibatis/alpha
-9. Put the new zipped eclipse site in /www/people.apache.org/builds/ibatis/alpha
+7. Put the new zipped eclipse site in /www/people.apache.org/builds/ibatis/alpha
-10. Copy the new versions of ibator-core and ibator-maven-plugin from the local maven repo
- to the Apache repo at ???
+9. Copy the new versions of ibator-core and ibator-maven-plugin from the local maven repo
+ to the Apache repo at ???
10. Update /www/ibatis.apache.org/doc/tools/ibator from SVN (this updates the documentation)
@@ -43,3 +58,4 @@ Releasing Ibator:
13. Update the iBATIS web site
14. Send out the announcement to dev@ and user@
+
Modified: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml?rev=922958&r1=922957&r2=922958&view=diff
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml (original)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java2/pom.xml Sun Mar 14 21:01:50 2010
@@ -23,6 +23,20 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
Modified: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml?rev=922958&r1=922957&r2=922958&view=diff
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml (original)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/pom.xml Sun Mar 14 21:01:50 2010
@@ -23,6 +23,20 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
Modified: ibatis/java/ibator/trunk/core/ibator-systests-ibatis3/pom.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis3/pom.xml?rev=922958&r1=922957&r2=922958&view=diff
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis3/pom.xml (original)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis3/pom.xml Sun Mar 14 21:01:50 2010
@@ -23,6 +23,20 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>