You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/09/18 05:32:32 UTC

[jira] Closed: (MRELEASE-135) Reelase plugin updates other plugins during release

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

Brett Porter closed MRELEASE-135.
---------------------------------

    Resolution: Won't Fix
      Assignee: Brett Porter

This appears to be a property of Maven. It is better to lock down the versions and utilise the tools available such as the enforcer to ensure this doesn't happen.

> 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
>          Components: perform
>    Affects Versions: 2.0-beta-4
>            Reporter: Joerg Schaible
>            Assignee: Brett Porter
>            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