Also, check if you set Javadoc back to 2.0.6, whether 2.0.6 has the same failure. IT might be it just fails before it gets to the circ reference.

- Brett

On 02/04/2008, at 7:35 AM, Dennis Lundberg wrote:

2.0.9-RC5 works the same way as 2.0.8 does and fails with a build error, because of the cyclic reference.

It might be the release-plugin that is at fault. It doesn't honor the -N option, even if I specify it on the command line like this

 mvn -N release:prepare -Darguments=-N  -DdryRun=true

Brian E. Fox wrote:
Can you try 2.0.9 RC5? Not that I expect it to be fixed, but at least if
it's reproducible we can attempt to fix it there.
-----Original Message-----
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 3:13 PM
To: Maven Developers List
Subject: [regression] Cannot release plugins parent!
I've stumbled upon some kind of regression trying to release the plugins
parent. I'm not sure where the regression is though. Sigh!
I have to use Maven 2.0.8, because maven-javadoc-plugin apparently requires 2.0.8 now. But if I do the build fails with an error because of a circular dependency. Now IMHO both of these errors are bogus and shouldn't even be considered, because I'm running in non-recursive mode.
Using Maven 2.0.8:
G:\apache\maven\tags\plugins-trunk>mvn -N release:prepare - DdryRun=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Plugins
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: G:\apache\maven\tags\plugins-trunk
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "Maven Plugins"? (org.apache.maven.plugins:maven-plugins) 11: : What is SCM release tag or label for "Maven Plugins"? (org.apache.maven.plugins:maven-plugins) maven-plugins-11: : What is the new development version for "Maven Plugins"? (org.apache.maven.plugins:maven-plugins) 12-SNAPSHOT: :
[INFO] Transforming 'Maven Plugins'...
[INFO] Not generating release POMs
[INFO] Executing preparation goals - since this is simulation mode it is
running against the original project, not the rewritten ones
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -Prelease
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
        [ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------ [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.apache.maven.plugins:maven-gpg-plugin'}' and 'Vertex{label='org.apache.maven.plugins:maven-deploy-plugin'}' introduces to cycle in the graph org.apache.maven.plugins:maven- deploy-plugin --> org.apache.maven.plugins:maven-gpg-plugin --> org.apache.maven.plugins:maven-deploy-plugin [INFO] ------------------------------------------------------------------------
        [INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
        [INFO] Total time: 1 second
        [INFO] Finished at: Tue Apr 01 20:51:04 CEST 2008
        [INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Tue Apr 01 20:51:04 CEST 2008
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
Using Maven 2.0.6 or 2.0.7:
G:\apache\maven\tags\plugins-trunk>mvn -N release:prepare - DdryRun=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ------------------------------------------------------------------------
----
[INFO] Building Maven Plugins
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
----
[INFO] [release:prepare]
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing preparation goals - since this is simulation mode it is
running against the original project, not the rewritten ones
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -Prelease
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
        [ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------ [INFO] Unable to build project 'G:\apache\maven\tags \plugins-trunk\maven-javadoc-plugin\pom.xml; it requires Maven version 2.0.8 [INFO] ------------------------------------------------------------------------
        [INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
        [INFO] Total time: 1 second
        [INFO] Finished at: Tue Apr 01 20:55:39 CEST 2008
        [INFO] Final Memory: 3M/6M
[INFO] ------------------------------------------------------------------------ [INFO] Full run would be checking in 1 files with message: '[maven-release-plugin] prepare release maven-plugins-11' [INFO] Full run would be tagging G:\apache\maven\tags\plugins-trunk with
label: 'maven-plugins-11'
[INFO] Transforming 'Maven Plugins'...
[INFO] Not removing release POMs
[INFO] Full run would be checking in 1 files with message: '[maven- release-plugin] prepare for next development iteration'
[INFO] Release preparation simulation complete.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Apr 01 20:55:39 CEST 2008
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------


--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to