[ 
http://jira.codehaus.org/browse/MRELEASE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111791
 ] 

Joerg Schaible commented on MRELEASE-135:
-----------------------------------------

Happened again, this time even worse by downloading and installing an 
incompatible version of a plugin:

{noformat}
$ mvn release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building XXX Master Project
[INFO]    task-segment: [release:perform] (aggregator-style)
[INFO] 
----------------------------------------------------------------------------
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
[INFO] Executing: svn --non-interactive checkout 
http://websvn/svn/essvn/development/projects/XXX/pom/tags/v_1 checkout
[INFO] Working directory: D:\work\projects\XXX\pom\target
[INFO] Executing goals 'deploy site-deploy'...
[INFO] Executing: mvn deploy site-deploy --no-plugin-updates -P 
elsag,msvc,elsag,msvc -DperformRelease=true
    [INFO] Scanning for projects...
    [INFO] 
----------------------------------------------------------------------------
    [INFO] Building XXX Master Project
    [INFO]    task-segment: [deploy, site-deploy]
    [INFO] 
----------------------------------------------------------------------------
    [INFO] [site:attach-descriptor]
    [INFO] Preparing source:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive 
invocation.
    [INFO] No goals needed for project - skipping
    [INFO] [source:jar {execution: attach-sources}]
    [INFO] Preparing javadoc:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive 
invocation.
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive 
invocation.
    [INFO] No goals needed for project - skipping
    [INFO] [javadoc:jar {execution: attach-javadocs}]
    [INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
    [INFO] [install:install]
    [INFO] Installing D:\work\projects\XXX\pom\target\checkout\pom.xml to 
d:\repository\m2\com\elsagsolutions\projects\XXX\master\1\master-1.pom
    [INFO] [deploy:deploy]
    altDeploymentRepository = null
    Uploading: 
file://///es3.elsag.de/maven/repo-m2/com/elsagsolutions/projects/XXX/master/1/master-1.pom
    4/7K
    7/7K
    7K uploaded
    [INFO] Retrieving previous metadata from elsag-release
    [INFO] Uploading repository metadata for: 'artifact 
com.elsagsolutions.projects.cs.eFile:master'
    [INFO] artifact org.apache.maven.plugins:maven-changes-plugin: checking for 
updates from central
    [INFO] artifact org.apache.maven.plugins:maven-changes-plugin: checking for 
updates from elsag-plugin-release
    Downloading: 
http://es3.elsag.de:8234/org/apache/maven/plugins/maven-changes-plugin/2.0-beta-3/maven-changes-plugin-2.0-beta-3.pom
    4/11K
    8/11K
    11/11K
    11K downloaded
    [INFO] Ignoring available plugin update: 2.0-beta-3 as it requires Maven 
version 2.0.6
    [INFO] 
------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] 
------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-changes-plugin' does not 
exist or no valid version could be found
    [INFO] 
------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 15 seconds
    [INFO] Finished at: Fri Oct 26 15:58:08 CEST 2007
    [INFO] Final Memory: 9M/17M
    [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: 25 seconds
[INFO] Finished at: Fri Oct 26 15:58:08 CEST 2007
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------
{noformat}

> Reelase plugin updates other plugins during release
> ---------------------------------------------------
>
>                 Key: MRELEASE-135
>                 URL: http://jira.codehaus.org/browse/MRELEASE-135
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-4
>            Reporter: Joerg Schaible
>            Priority: Critical
>
> Couldn't happen at the worst moment:
> {noformat}
> ...
> [INFO] Executing preparation goals 'clean integration-test'...
> [INFO] Executing: mvn clean integration-test --no-plugin-updates -P 
> elsag,elsag
>     [INFO] Scanning for projects...
>     [INFO] Reactor build order: 
>     [INFO]   project, Master Project of XZ0
>     [INFO]   project Web-Client
>     [INFO]   project EAR
>     [INFO] 
> ----------------------------------------------------------------------------
>     [INFO] Building project, Master Project of XZ0
>     [INFO]    task-segment: [clean, integration-test]
>     [INFO] 
> ----------------------------------------------------------------------------
>     [INFO] [clean:clean]
>     [INFO] Deleting directory C:\Work\Projects\XZ0\target
>     [INFO] Deleting directory C:\Work\Projects\XZ0\target\classes
>     [INFO] Deleting directory C:\Work\Projects\XZ0\target\test-classes
>     [INFO] [site:attach-descriptor]
>     [INFO] 
> ----------------------------------------------------------------------------
>     [INFO] Building project Web-Client
>     [INFO]    task-segment: [clean, integration-test]
>     [INFO] 
> ----------------------------------------------------------------------------
>     [INFO] [clean:clean]
>     [INFO] Deleting directory C:\Work\Projects\XZ0\project-war\target
>     [INFO] Deleting directory C:\Work\Projects\XZ0\project-war\target\classes
>     [INFO] Deleting directory 
> C:\Work\Projects\XZ0\project-war\target\test-classes
>     [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for 
> updates from central
>     [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for 
> updates from elsag-plugin-release
>     Downloading: 
> http://es3.elsag.de:8234/org/apache/maven/plugins/maven-war-plugin/2.0.1/maven-war-plugin-2.0.1.pom
>     1/1K
>     1K downloaded
>     Downloading: 
> http://es3.elsag.de:8234/org/apache/maven/plugins/maven-war-plugin/2.0.1/maven-war-plugin-2.0.1.jar
>     4/22K
>     8/22K
>     12/22K
>     16/22K
>     20/22K
>     22/22K
>     22K downloaded
>     [INFO] [resources:resources]
>     [INFO] Using default encoding to copy filtered resources.
>     [INFO] [compiler:compile]
>     Compiling 35 source files to 
> C:\Work\Projects\XZ0\project-war\target\classes
>     [INFO] [resources:testResources]
>     [INFO] Using default encoding to copy filtered resources.
>     [INFO] [compiler:testCompile]
>     [INFO] No sources to compile
>     [INFO] [surefire:test]
>     [INFO] No tests to run.
>     Downloading: 
> http://es3.elsag.de:8234/org/apache/maven/maven-archiver/2.1/maven-archiver-2.1.pom
>     1/1K
>     1K downloaded
>     Downloading: 
> http://es3.elsag.de:8234/org/apache/maven/shared/maven-shared-components/2/maven-shared-components-2.pom
>     1/1K
>     1K downloaded
>     Downloading: 
> http://es3.elsag.de:8234/org/apache/maven/maven-archiver/2.1/maven-archiver-2.1.jar
>     4/9K
>     8/9K
>     9/9K
>     9K downloaded
>     [INFO] [war:war]
> ...
> {noformat}
> http://es3.elsag.de:8234 is the address of our maven-proxy. Nevertheless the 
> embedded Maven was started with "--no-plugin-updates" and this was happily 
> ignored!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to