So I have made quite a bit of progress in getting the next release out using Maven 2 and I have learned some things:

To perform a release, you use the plugins release:prepare and release:perform.

The maven mini guide to releasing is the best resource I have found on the topic:
http://maven.apache.org/guides/mini/guide-releasing.html

There is a bit covered in the Maven 2 book as well, but I mostly used the above URL.

release:perform changes the version numbers in the pom.xml files and creates the new tag. (Check the recent commits and you'll see exactly what it does)

Here's the command I used to execute release:prepare:
[EMAIL PROTECTED]:~/dev/gt-2.2.x/2.2.x$ mvn release:prepare \
-Dproject.scm.developerConnection=scm:svn:http://svn.geotools.org/geotools/branches/2.2.x \
-DtagBase=http://svn.geotools.org/geotools/tags

The two -D parameters can be integrated into the main pom.xml. I will do so once I have finalized the release process.

It also generates a release.properties files (which I've attached). This file is use by release:perform to actually create the release. In theory, I can pass it to another developer and they can use it to actually create the release.

If you look at the file you will see that most of the SCM URIs point to trunk, instead of 2.2.x. For example:
scm-info.org.geotools\:gt2-module.url=http\://svn.geotools.org/geotools/trunk/gt/module

I think if I tried executing release:perform I would actually be buildin a trunk release, not a 2.2.x branch release. So I need to fix the pom.xml files on the 2.2.x branch. I will do that tomorrow and continue from there.

This also means that the pom.xml files will need to be changed when they are taken from trunk onto a new branch.

Martin, do I have access to upload jars to the maven repo on geotools.fr? If so, can you email me the user/pass? Thanks!

Richard
#Generated by Release Plugin on: Tue May 09 17:31:26 PDT 2006
#Tue May 09 17:31:26 PDT 2006
scm-info.org.geotools\:gt2-graph.tag=HEAD
scm.tag=2.2.RC3
scm-info.org.geotools\:gt2-module.url=http\://svn.geotools.org/geotools/trunk/gt/module
scm-info.org.geotools\:gt2-maven.url=http\://svn.geotools.org/geotools/trunk/gt/maven
checkpoint.checked-in-release-version=OK
scm-info.org.geotools\:gt2-javamaker.tag=HEAD
scm-info.org.geotools\:gt2-vpf.tag=HEAD
scm-info.org.geotools\:gt2-main.tag=HEAD
scm-info.org.geotools\:gt2-epsg-access.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-access
scm-info.org.geotools\:gt2-graph.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/graph
scm-info.org.geotools\:gt2-geotiff.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/geotiff
scm-info.org.geotools\:gt2-ext.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext
scm-info.org.geotools\:gt2-render.tag=HEAD
scm-info.org.geotools\:gt2-unopkg.url=http\://svn.geotools.org/geotools/trunk/gt/maven/unopkg
scm-info.org.geotools\:gt2-coverage.url=http\://svn.geotools.org/geotools/trunk/gt/module/coverage
scm-info.org.geotools\:gt2-wms.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/wms
scm-info.org.geotools\:gt2-graph.url=http\://svn.geotools.org/geotools/trunk/gt/ext/graph
scm.url=scm\:svn\:http\://svn.geotools.org/geotools/branches/2.2.x
scm-info.org.geotools\:gt2-oracle-spatial.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/oraclespatial
scm-info.org.geotools\:gt2-vpf.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/vpf
scm-info.org.geotools\:gt2-javamaker.url=http\://svn.geotools.org/geotools/trunk/gt/maven/javamaker
scm-info.org.geotools\:gt2-go.tag=HEAD
scm-info.org.geotools\:gt2-epsg-wkt.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-wkt
scm-info.org.geotools\:gt2-widgets-swing.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/widgets-swing
scm-info.org.geotools\:gt2-main.url=http\://svn.geotools.org/geotools/trunk/gt/module/main
scm-info.org.geotools\:gt2-validation.tag=HEAD
scm-info.org.geotools\:gt2-pickle.tag=HEAD
scm-info.org.geotools\:gt2-render.url=http\://svn.geotools.org/geotools/trunk/gt/module/render
scm-info.org.geotools\:gt2-arcsde.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/arcsde
scm-info.org.geotools\:gt2-directory.tag=HEAD
scm-info.org.geotools\:gt2-openoffice.tag=HEAD
scm-info.org.geotools\:gt2-image.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/image
scm-info.org.geotools\:gt2-widgets-swing.tag=HEAD
scm-info.org.geotools\:gt2-go.url=http\://svn.geotools.org/geotools/trunk/gt/ext/go
scm-info.org.geotools\:gt2-jjtree-javacc.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven/jjtree-javacc
scm-info.org.geotools\:gt2-javamaker.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven/javamaker
scm-info.org.geotools\:gt2-epsg-access.tag=HEAD
scm-info.org.geotools\:gt2-validation.url=http\://svn.geotools.org/geotools/trunk/gt/ext/validation
scm-info.org.geotools\:gt2-pickle.url=http\://svn.geotools.org/geotools/trunk/gt/ext/pickle
checkpoint.check-in-development-version=OK
scm-info.org.geotools\:gt2-gtopo30.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/gtopo30
scm-info.org.geotools\:gt2-plugin.tag=HEAD
scm-info.org.geotools\:gt2-pickle.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/pickle
scm-info.org.geotools\:gt2-arcgrid.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/arcgrid
checkpoint.prepared-release=OK
scm-info.org.geotools\:gt2-svgsupport.tag=HEAD
scm-info.org.geotools\:gt2-directory.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/directory
scm-info.org.geotools\:gt2-openoffice.url=http\://svn.geotools.org/geotools/trunk/gt/ext/openoffice
scm-info.org.geotools\:gt2-widgets-swing.url=http\://svn.geotools.org/geotools/trunk/gt/ext/widgets-swing
scm-info.org.geotools\:gt2-epsg-access.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-access
checkpoint.initialized=OK
scm-info.org.geotools\:gt2-arcsde.tag=HEAD
scm-info.org.geotools\:gt2-brewer.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/brewer
scm-info.org.geotools\:gt2-geotiff.tag=HEAD
scm-info.org.geotools\:gt2-shapefile-renderer.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/shaperenderer
scm-info.org.geotools\:gt2-rmic.tag=HEAD
scm-info.org.geotools\:gt2-plugin.url=http\://svn.geotools.org/geotools/trunk/gt/plugin
scm-info.org.geotools\:gt2-geomedia.tag=HEAD
scm-info.org.geotools\:gt2-jjtree-javacc.tag=HEAD
scm-info.org.geotools\:gt2-jar-collector.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven/jar-collector
scm-info.org.geotools\:gt2-svgsupport.url=http\://svn.geotools.org/geotools/trunk/gt/module/svgsupport
scm-info.org.geotools\:gt2-indexed-shapefile.tag=HEAD
scm-info.org.geotools\:gt2-vpf.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/vpf
scm-info.org.geotools\:gt2-mif.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/mif
scm-info.org.geotools\:gt2-referencing.tag=HEAD
scm-info.org.geotools\:gt2-mif.tag=HEAD
scm-info.org.geotools\:gt2-arcgrid.tag=HEAD
scm-info.org.geotools\:gt2-unopkg.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven/unopkg
scm-info.org.geotools\:gt2-gml.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/gml
checkpoint.transform-pom-for-development=OK
scm-info.org.geotools\:gt2-arcsde.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/arcsde
scm-info.org.geotools\:gt2-rmic.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven/rmic
scm-info.org.geotools\:gt2-postgis.tag=HEAD
scm-info.org.geotools\:gt2.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt
scm-info.org.geotools\:gt2-geotiff.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/geotiff
scm-info.org.geotools\:gt2-rmic.url=http\://svn.geotools.org/geotools/trunk/gt/maven/rmic
scm-info.org.geotools\:gt2-geomedia.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/geomedia
scm-info.org.geotools\:gt2-jjtree-javacc.url=http\://svn.geotools.org/geotools/trunk/gt/maven/jjtree-javacc
scm-info.org.geotools\:gt2-indexed-shapefile.url=http\://svn.geotools.org/geotools/trunk/gt/ext/shape
checkpoint.transformed-pom-for-release=OK
scm-info.org.geotools\:gt2-db2.tag=HEAD
scm-info.org.geotools\:gt2-ext.tag=HEAD
scm-info.org.geotools\:gt2-referencing.url=http\://svn.geotools.org/geotools/trunk/gt/module/referencing
scm-info.org.geotools\:gt2-mif.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/mif
checkpoint.tagged-release=OK
scm-info.org.geotools\:gt2-arcgrid.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/arcgrid
scm-info.org.geotools\:gt2-plugin.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin
scm-info.org.geotools\:gt2-mysql.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/mysql
scm-info.org.geotools\:gt2-epsg-hsql.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-hsql
scm-info.org.geotools\:gt2-gtopo30.tag=HEAD
scm-info.org.geotools\:gt2-postgis.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/postgis
scm-info.org.geotools\:gt2-svgsupport.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/svgsupport
scm-info.org.geotools\:gt2-api.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/api
scm-info.org.geotools\:gt2-brewer.tag=HEAD
scm-info.org.geotools\:gt2-go.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/go
scm-info.org.geotools\:gt2-sample-data.tag=HEAD
scm-info.org.geotools\:gt2-wms.tag=HEAD
scm-info.org.geotools\:gt2-postgis.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/postgis
checkpoint.local-modifications-checked=OK
scm-info.org.geotools\:gt2-db2.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/db2
scm-info.org.geotools\:gt2-ext.url=http\://svn.geotools.org/geotools/trunk/gt/ext
scm-info.org.geotools\:gt2-referencing.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/referencing
scm-info.org.geotools\:gt2-epsg-hsql.tag=HEAD
scm-info.org.geotools\:gt2-jar-collector.tag=HEAD
scm-info.org.geotools\:gt2-directory.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/directory
scm-info.org.geotools\:gt2-gtopo30.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/gtopo30
scm-info.org.geotools\:gt2-coverage.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/coverage
scm-info.org.geotools\:gt2-api.tag=HEAD
scm-info.org.geotools\:gt2-brewer.url=http\://svn.geotools.org/geotools/trunk/gt/ext/brewer
scm-info.org.geotools\:gt2-hsql.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/hsql
scm-info.org.geotools\:gt2-image.tag=HEAD
scm-info.org.geotools\:gt2-sample-data.url=http\://svn.geotools.org/geotools/trunk/gt/module/sample-data
scm-info.org.geotools\:gt2-wms.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/wms
scm-info.org.geotools\:gt2-module.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module
scm-info.org.geotools\:gt2-tiger.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/tiger
scm-info.org.geotools\:gt2-sample-data.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/sample-data
scm-info.org.geotools\:gt2-epsg-hsql.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-hsql
scm-info.org.geotools\:gt2-shapefile-renderer.tag=HEAD
scm-info.org.geotools\:gt2-epsg-wkt.tag=HEAD
scm-info.org.geotools\:gt2-jar-collector.url=http\://svn.geotools.org/geotools/trunk/gt/maven/jar-collector
scm-info.org.geotools\:gt2-oracle-spatial.tag=HEAD
scm-info.org.geotools\:gt2-tiger.tag=HEAD
scm-info.org.geotools\:gt2-shapefile.tag=HEAD
scm-info.org.geotools\:gt2-epsg-postgresql.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-postgresql
scm-info.org.geotools\:gt2-db2.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/db2
scm-info.org.geotools\:gt2-api.url=http\://svn.geotools.org/geotools/trunk/gt/module/api
scm-info.org.geotools\:gt2-wfs.tag=HEAD
scm-info.org.geotools\:gt2-epsg-postgresql.tag=HEAD
scm-info.org.geotools\:gt2-mysql.tag=HEAD
scm-info.org.geotools\:gt2-image.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/image
scm-info.org.geotools\:gt2-hsql.tag=HEAD
scm-info.org.geotools\:gt2-geomedia.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/geomedia
scm-info.org.geotools\:gt2.tag=HEAD
maven.username=rgould
scm-info.org.geotools\:gt2-render.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/render
scm-info.org.geotools\:gt2-indexed-shapefile.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/shape
scm-info.org.geotools\:gt2-shapefile-renderer.url=http\://svn.geotools.org/geotools/trunk/gt/ext/shaperenderer
scm-info.org.geotools\:gt2-epsg-wkt.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-wkt
scm-info.org.geotools\:gt2-oracle-spatial.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/oraclespatial
scm-info.org.geotools\:gt2-tiger.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/tiger
scm-info.org.geotools\:gt2-shapefile.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/shapefile
scm-info.org.geotools\:gt2-gml.tag=HEAD
scm-info.org.geotools\:gt2-wfs.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/wfs
scm-info.org.geotools\:gt2-epsg-postgresql.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/epsg-postgresql
scm-info.org.geotools\:gt2-mysql.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/mysql
scm-info.org.geotools\:gt2-hsql.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/hsql
scm-info.org.geotools\:gt2-module.tag=HEAD
scm.tag-base=http\://svn.geotools.org/geotools/tags
scm-info.org.geotools\:gt2-maven.tag=HEAD
scm-info.org.geotools\:gt2-shapefile.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/shapefile
scm-info.org.geotools\:gt2.url=http\://svn.geotools.org/geotools/trunk/gt
scm-info.org.geotools\:gt2-maven.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/maven
scm-info.org.geotools\:gt2-wfs.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/plugin/wfs
scm-info.org.geotools\:gt2-unopkg.tag=HEAD
scm-info.org.geotools\:gt2-coverage.tag=HEAD
scm-info.org.geotools\:gt2-gml.url=http\://svn.geotools.org/geotools/trunk/gt/plugin/gml
scm-info.org.geotools\:gt2-validation.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/validation
scm-info.org.geotools\:gt2-openoffice.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/ext/openoffice
scm-info.org.geotools\:gt2-main.connection=scm\:svn\:http\://svn.geotools.org/geotools/trunk/gt/module/main

Reply via email to