From: Jeff J. <jef...@us...> - 2006-06-06 01:22:10
|
jeffjensen 06/06/04 21:41:09 Modified: . HOWTO_RELEASE.txt Log: Add install plugin section. Have only first step do clean goal. Minor typo and formatting changes. Revision Changes Path 1.5 +16 -6 maven-plugins/HOWTO_RELEASE.txt Index: HOWTO_RELEASE.txt =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/HOWTO_RELEASE.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- HOWTO_RELEASE.txt 5 Jun 2006 01:00:22 -0000 1.4 +++ HOWTO_RELEASE.txt 5 Jun 2006 04:41:09 -0000 1.5 @@ -15,7 +15,7 @@ Sourceforge requires an SSH key. The SF account profile has the link to add your public key(s) for access. -PRE_RELEASE PREP WORK +PRE-RELEASE PREP WORK --------------------- Update RFEs, bug entries as needed. @@ -26,6 +26,12 @@ Checkin. +BUILD AND INSTALL THE PLUGIN RELEASE LOCALLY +-------------------------------------------- +The site gen requires its presence. + maven clean plugin:install + + DEPLOY RELEASE TO SOURCEFORGE ----------------------------- Follow the notes in the main project.properties file, and override the values (e.g. in your private build.properties). @@ -43,10 +49,10 @@ Set "maven.repo.list" to the correct deployment location on the command line: To deploy the snapshot: -maven -Dmaven.repo.list=maven.plugins.sf.snapshots plugin:repository-deploy + maven -Dmaven.repo.list=maven.plugins.sf.snapshots plugin:repository-deploy To deploy the release: -maven -Dmaven.repo.list=maven.plugins.sf.releases plugin:repository-deploy + maven -Dmaven.repo.list=maven.plugins.sf.releases plugin:repository-deploy PUBLISH THE SITE TO SOURCEFORGE @@ -68,13 +74,17 @@ Generate site locally and review: For snapshot: - maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/snapshot-repository clean site + maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/snapshot-repository site For release: - maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository clean site + maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository site + + If the plugin project depends on a Maven snapshot plugin (including itself), + add the CVS repo to the repo property: + -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/ Then deploy it: -maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository -Dmaven.site.failonerror=false site:sshdeploy + maven -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository -Dmaven.site.failonerror=false site:sshdeploy NOTE: If you are using the maven-site-plugin >= 1.7 you will also have to use -Dmaven.site.failonerror=false. The reason for that is that on the sourceforge server, remote users don't have the right to change the |