There is a section titled "Releasing commons-parent pom" at http://wiki.apache.org/commons/CreatingReleases
When I run the first step I get ERRORs below: >mvn -Prelease release:prepare [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18 [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Parent 18 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ commons-parent --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.498s [INFO] Finished at: Sun Jan 30 15:30:39 EST 2011 [INFO] Final Memory: 6M/107M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project commons-parent: You don't have a SNAPSHOT project in the reac tor projects list. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Sun 01/30/201115:30:40.06 C:\Users\ggregory\b\svn\apache.org\commons\commons-parent >mvn clena [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18 [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Parent 18 [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.998s [INFO] Finished at: Sun Jan 30 15:32:23 EST 2011 [INFO] Final Memory: 2M/59M [INFO] ------------------------------------------------------------------------ [ERROR] Unknown lifecycle phase "clena". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<pl ugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes , generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integra tion-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException Sun 01/30/201115:32:23.25 C:\Users\ggregory\b\svn\apache.org\commons\commons-parent >m3 clean [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18 [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Parent 18 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ commons-parent --- [INFO] Deleting C:\Users\ggregory\b\svn\apache.org\commons\commons-parent\target [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.017s [INFO] Finished at: Sun Jan 30 15:32:26 EST 2011 [INFO] Final Memory: 3M/75M [INFO] ------------------------------------------------------------------------ Sun 01/30/201115:32:26.44 C:\Users\ggregory\b\svn\apache.org\commons\commons-parent >mvn -Prelease release:prepare [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18 [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Parent 18 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ commons-parent --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.913s [INFO] Finished at: Sun Jan 30 15:32:31 EST 2011 [INFO] Final Memory: 6M/108M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project commons-parent: You don't have a SNAPSHOT project in the reac tor projects list. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Sun 01/30/201115:32:31.36 C:\Users\ggregory\b\svn\apache.org\commons\commons-parent >mvn -Prelease release:prepare [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18-SNAPSHOT [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Parent 18-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ commons-parent --- [INFO] Verifying that there are no local modifications... [INFO] Executing: cmd.exe /X /C "svn --non-interactive status" [INFO] Working directory: C:\Users\ggregory\b\svn\apache.org\commons\commons-parent [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "Commons Parent"? (org.apache.commons:commons-parent) 18: : 18 What is SCM release tag or label for "Commons Parent"? (org.apache.commons:commons-parent) commons-parent-18: : commons-parent-18 What is the new development version for "Commons Parent"? (org.apache.commons:commons-parent) 19-SNAPSHOT: : [INFO] Transforming 'Commons Parent'... [INFO] Not generating release POMs [INFO] Executing goals 'clean verify'... [WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. [INFO] [INFO] Scanning for projects... [INFO] [WARNING] [INFO] [WARNING] Some problems were encountered while building the effective model for org.apache.commons:commons-parent:pom:18 [INFO] [WARNING] 'parent.relativePath' points at org.apache.commons:commons-parent instead of org.apache:apache, please verify your project structure @ line 22, column 11 [INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 320, column 15 [INFO] [WARNING] [INFO] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [INFO] [WARNING] [INFO] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [INFO] [WARNING] [INFO] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Building Commons Parent 18 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4:clean (default-clean) @ commons-parent --- [INFO] [INFO] [INFO] [INFO] --- maven-antrun-plugin:1.3:run (javadoc.resources) @ commons-parent --- [INFO] [INFO] Executing tasks [INFO] [copy] Copying 2 files to C:\Users\ggregory\b\svn\apache.org\commons\commons-parent\target\apidocs\META-INF [INFO] [INFO] Executed tasks [INFO] [INFO] [INFO] [INFO] --- maven-remote-resources-plugin:1.0:process (default) @ commons-parent --- [INFO] [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] [INFO] Setting property: resource.loader => 'classpath'. [INFO] [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [INFO] [INFO] [INFO] --- maven-bundle-plugin:1.4.3:manifest (bundle-manifest) @ commons-parent --- [INFO] [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] [INFO] [INFO] >>> maven-source-plugin:2.1.1:jar (create-source-jar) @ commons-parent >>> [INFO] [INFO] [INFO] [INFO] --- maven-antrun-plugin:1.3:run (javadoc.resources) @ commons-parent --- [INFO] [INFO] Executing tasks [INFO] [INFO] Executed tasks [INFO] [INFO] [INFO] [INFO] <<< maven-source-plugin:2.1.1:jar (create-source-jar) @ commons-parent <<< [INFO] [INFO] [INFO] [INFO] --- maven-source-plugin:2.1.1:jar (create-source-jar) @ commons-parent --- [INFO] [INFO] [INFO] [INFO] >>> maven-javadoc-plugin:2.5:javadoc (create-javadoc-jar) @ commons-parent >>> [INFO] [INFO] [INFO] [INFO] --- maven-antrun-plugin:1.3:run (javadoc.resources) @ commons-parent --- [INFO] [INFO] Executing tasks [INFO] [INFO] Executed tasks [INFO] [INFO] [INFO] [INFO] <<< maven-javadoc-plugin:2.5:javadoc (create-javadoc-jar) @ commons-parent <<< [INFO] [INFO] [INFO] [INFO] --- maven-javadoc-plugin:2.5:javadoc (create-javadoc-jar) @ commons-parent --- [INFO] [INFO] [INFO] [INFO] --- maven-javadoc-plugin:2.5:jar (create-javadoc-jar) @ commons-parent --- [INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] [INFO] [INFO] --- maven-assembly-plugin:2.2:attached (default) @ commons-parent --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 3.161s [INFO] [INFO] Finished at: Sun Jan 30 15:37:11 EST 2011 [INFO] [INFO] Final Memory: 13M/172M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2:attached (default) on project commons-parent: Error reading assemblies: No assembly de scriptors found. -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:49.176s [INFO] Finished at: Sun Jan 30 15:37:11 EST 2011 [INFO] Final Memory: 7M/108M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project commons-parent: Maven execution failed, exit code: '1' -> [He lp 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Uhg. Gary > -----Original Message----- > From: Gary Gregory > Sent: Sunday, January 30, 2011 15:30 > To: 'sebb'; 'Commons Developers List' > Subject: RE: Releasing commons-parent > > Now that I can login into Nexus, I am guessing (since there are no > instructions.) that I upload the POM to a staging repo first. > > As the UI tells me "Note that if you only intend to upload a POM file, > there is no need to add additional artifacts below, simply click the Upload > Artifact(s) button." I just give Nexus the POM and... it does not accept it > because a rule kicks in and wants a matching ASC file. > > OK, I created an ASC file with GnuPG on the CLI for the POM and tried to > get Nexus to accept in a bundle (and not) but Nexus complains about that > too. I give up. > > Gary > > > -----Original Message----- > > From: Gary Gregory > > Sent: Sunday, January 30, 2011 13:49 > > To: 'sebb'; Commons Developers List > > Subject: RE: Releasing commons-parent > > > > > -----Original Message----- > > > From: sebb [mailto:seb...@gmail.com] > > > Sent: Sunday, January 30, 2011 10:47 > > > To: Commons Developers List > > > Cc: Gary Gregory > > > Subject: Re: Releasing commons-parent > > > > > > On 30 January 2011 15:15, Gary Gregory <ggreg...@seagullsoftware.com> > > > wrote: > > > >> -----Original Message----- > > > >> From: Gary Gregory > > > >> Sent: Saturday, January 29, 2011 22:31 > > > >> To: Commons Developers List > > > >> Subject: RE: Releasing commons-parent > > > >> > > > >> I am trying to logon to Nexus and I get: > > > >> > > > >> Nexus returned an error: ERROR 503: Service Temporarily Unavailable > > > >> > > > >> Can anyone else get in? > > > > > > > > And now from "Logging in" to "Nexus returned an error: ERROR 502: Bad > > > Gateway" > > > > > > > > Anyone else seeing this? > > > > > > I see that. > > > > > > Nagios seems happy: > > > > > > http://monitoring.apache.org/status/ > > > > > > so it might be worth raising on the repository.a.o mailing list. > > > > > > Ah, now it works! > > > > Gary > > > > > > Gary > > > > > > > >> > > > >> Gary > > > >> > > > >> > -----Original Message----- > > > >> > From: sebb [mailto:seb...@gmail.com] > > > >> > Sent: Friday, January 28, 2011 17:41 > > > >> > To: Commons Developers List > > > >> > Subject: Re: Releasing commons-parent > > > >> > > > > >> > IIRC I did a couple of previous releases, mainly using the Nexus > > page. > > > >> > > > > >> > In fact I used that to create the the artifacts for the VOTE > thread > > - > > > >> > you should be able to see them in the archives - it was early July > > > >> > 2010. > > > >> > > > > >> > Once the vote pased, I just released the Nexus artifacts. > > > >> > > > > >> > On 28 January 2011 22:34, Gary Gregory > > <ggreg...@seagullsoftware.com> > > > >> > wrote: > > > >> > > Well, I'm going to give up for today :( Half of > > > >> > http://wiki.apache.org/commons/CreatingReleases does not apply for > a > > > >> site- > > > >> > less project or Maven returns errors. Very frustrating. Would the > > > person > > > >> > who created 17 update the wiki? I am happy to do the release, but > > the > > > >> > process is non-trivial... > > > >> > > > > > >> > > Thanks, > > > >> > > Gary > > > >> > > > > > >> > >> -----Original Message----- > > > >> > >> From: sebb [mailto:seb...@gmail.com] > > > >> > >> Sent: Friday, January 28, 2011 16:04 > > > >> > >> To: Commons Developers List > > > >> > >> Subject: Re: Releasing commons-parent > > > >> > >> > > > >> > >> On 28 January 2011 20:13, Gary Gregory > > > <ggreg...@seagullsoftware.com> > > > >> > >> wrote: > > > >> > >> >> -----Original Message----- > > > >> > >> >> From: Rahul Akolkar [mailto:rahul.akol...@gmail.com] > > > >> > >> >> Sent: Friday, January 28, 2011 14:50 > > > >> > >> >> To: Commons Developers List > > > >> > >> >> Subject: Re: Releasing commons-parent > > > >> > >> >> > > > >> > >> >> On Fri, Jan 28, 2011 at 1:57 PM, Gary Gregory > > > >> > >> >> <ggreg...@seagullsoftware.com> wrote: > > > >> > >> >> >> -----Original Message----- > > > >> > >> >> >> From: Gary Gregory [mailto:ggreg...@seagullsoftware.com] > > > >> > >> >> >> Sent: Friday, January 28, 2011 13:56 > > > >> > >> >> >> To: Commons Developers List > > > >> > >> >> >> Subject: Releasing commons-parent > > > >> > >> >> >> > > > >> > >> >> >> Well, I am digging around for instructions on publishing > > > >> commons- > > > >> > >> parent > > > >> > >> >> and > > > >> > >> >> >> I am not sure if what I am seeing on various apache pages > > > >> applies > > > >> > to > > > >> > >> >> >> commons-parent which is not the same kind of project as > > other > > > >> > commons > > > >> > >> >> >> projects. > > > >> > >> >> >> > > > >> > >> >> >> Any tips please? > > > >> > >> >> > > > > >> > >> >> > I should have asked, is it as simple as calling mvn > > > deploy:deploy > > > >> > >> >> > > > > >> > >> >> > ? > > > >> > >> >> > > > > >> > >> >> <snip/> > > > >> > >> >> > > > >> > >> >> Use the release plugin, scroll down to "Releasing commons- > > parent > > > >> pom" > > > >> > >> >> on this page: > > > >> > >> >> > > > >> > >> >> http://wiki.apache.org/commons/CreatingReleases > > > >> > >> > > > > >> > >> > Ah! Thank you for the link. > > > >> > >> > > > > >> > >> > I read: " It is a good idea to check your settings.xml that > it > > > >> > contains > > > >> > >> the corresponding server entries for the repositories and > > websites > > > >> > defined > > > >> > >> in the commons parent pom. If you have a different user name on > > > your > > > >> box > > > >> > >> than on people.apache.org you local user name will be used for > > > >> > >> authentication. Therefore the authentication will fail and > after > > a > > > few > > > >> > >> retries your are locked out from people.apache.org for a day - > > > which > > > >> in > > > >> > >> turn makes cutting a release rather lengthy. In theory you > could > > > also > > > >> > >> provide your password in the server section below but this > unsafe > > > and > > > >> > did > > > >> > >> not work in my case." > > > >> > >> > > > > >> > >> > My apache ID and my user name on my Windows box is ggregory > but > > > my > > > >> > >> password is obviously not the same. > > > >> > >> > > > > >> > >> > So... how where does my Apache password live? In > settings.xml? > > > "did > > > >> > not > > > >> > >> work in my case" > > > >> > >> > > > >> > >> See also: > > > >> > >> > > > >> > >> http://wiki.apache.org/commons/UsingNexus > > > >> > >> > > > >> > >> > Thank you, > > > >> > >> > Gary > > > >> > >> > > > > >> > >> >> > > > >> > >> >> -Rahul > > > >> > >> >> > > > >> > >> >> ------------------------------------------------------------ > -- > > -- > > > --- > > > >> -- > > > >> > >> >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> > >> >> For additional commands, e-mail: dev-h...@commons.apache.org > > > >> > >> > > > > >> > >> > > > > >> > >> > ------------------------------------------------------------- > -- > > -- > > > --- > > > >> - > > > >> > >> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> > >> > For additional commands, e-mail: dev-h...@commons.apache.org > > > >> > >> > > > > >> > >> > > > > >> > >> > > > >> > >> --------------------------------------------------------------- > -- > > -- > > > -- > > > >> > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> > >> For additional commands, e-mail: dev-h...@commons.apache.org > > > >> > > > > > >> > > > > > >> > > ---------------------------------------------------------------- > -- > > -- > > > - > > > >> > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> > > For additional commands, e-mail: dev-h...@commons.apache.org > > > >> > > > > > >> > > > > > >> > > > > >> > ------------------------------------------------------------------ > -- > > - > > > >> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > >> > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org