You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/07/25 17:10:22 UTC

[jira] Created: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

[regression] maven 2.1 uses snapshot repository to look for plugins
-------------------------------------------------------------------

                 Key: MNG-2464
                 URL: http://jira.codehaus.org/browse/MNG-2464
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies, Plugins and Lifecycle
    Affects Versions: 2.1
            Reporter: Carlos Sanchez
            Priority: Blocker


Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Commented: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2464?page=comments#action_70765 ] 
            
Carlos Sanchez commented on MNG-2464:
-------------------------------------

The bug was introduced in revisions 392327-392335, 391988 was good

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>            Priority: Blocker
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=all ]

Carlos Sanchez updated MNG-2464:
--------------------------------

    Priority: Major  (was: Blocker)

I solved the problem by deleting my $HOME/.m2/plugin-registry.xml which had the 2.1.1-SNAPSHOT of the clean plugin listed inside
I guess this file was introduced in the revision I mentioned before.

Still I think maven should not download the plugin files from the snapshot repo listed as <repository>, and fail early

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Commented: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2464?page=comments#action_70627 ] 
            
Carlos Sanchez commented on MNG-2464:
-------------------------------------

If I add apache snapshot repository to pluginRepositories it works, but maven shouldn't check <repository> for plugins

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>            Priority: Blocker
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] Uses snapshot repository to look for plugins

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated MNG-2464:
-------------------------------

    Summary: [regression] Uses snapshot repository to look for plugins  (was: [regression] maven 2.1 uses snapshot repository to look for plugins)

> [regression] Uses snapshot repository to look for plugins
> ---------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Plugins and Lifecycle
>    Affects Versions: 2.0-alpha-1, 3.0-alpha-1
>            Reporter: Carlos Sanchez
>            Assignee: John Casey
>             Fix For: 3.0-alpha-1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log, test-plugin-resolution.tar.gz
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Closed: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-2464.
---------------------------

      Assignee: John Casey
    Resolution: Fixed

Appears to be fixed. See attached test case. While plugin dependencies can be resolved from snapshot repositories, the plugin artifacts themselves only come from release repositories.

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Plugins and Lifecycle
>    Affects Versions: 2.0-alpha-1, 2.1-alpha-1
>            Reporter: Carlos Sanchez
>            Assignee: John Casey
>             Fix For: 2.1-alpha-1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log, test-plugin-resolution.tar.gz
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Commented: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2464?page=comments#action_70752 ] 
            
Carlos Sanchez commented on MNG-2464:
-------------------------------------

The last good build is http://maven.zones.apache.org/~maven/builds/trunk/m2-20060407.073001.tar.gz, after that all have this problem

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>            Priority: Blocker
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-2464:
----------------------------

    Attachment: test-plugin-resolution.tar.gz

This is a test case to check this issue. See test.sh for setup, execution, and criteria for success.

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Plugins and Lifecycle
>    Affects Versions: 2.0-alpha-1, 2.1-alpha-1
>            Reporter: Carlos Sanchez
>             Fix For: 2.1-alpha-1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log, test-plugin-resolution.tar.gz
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=all ]

Carlos Sanchez updated MNG-2464:
--------------------------------

    Attachment: mvn2.1.log
                mvn2.0.4.log

Output of maven 2.0.4 and 2.1 after cleaning local cache/org/apache

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>            Priority: Blocker
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2464:
------------------------------

    Affects Version/s: 2.1-alpha-1
        Fix Version/s:     (was: 2.1)
                       2.1-alpha-1

pretty old - may already be fixed - bringing up to 2.1-alpha-1 to confirm

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies, Plugins and Lifecycle
>    Affects Versions: 2.0-alpha-1, 2.1-alpha-1
>            Reporter: Carlos Sanchez
>             Fix For: 2.1-alpha-1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Updated: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2464?page=all ]

John Casey updated MNG-2464:
----------------------------

    Fix Version/s: 2.1

Carlos, do you know whether this is happening on the current 2.0.x branch as well? I'm assigning Fix For to 2.1 for now...

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>             Fix For: 2.1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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

        

[jira] Commented: (MNG-2464) [regression] maven 2.1 uses snapshot repository to look for plugins

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2464?page=comments#action_71547 ] 
            
Carlos Sanchez commented on MNG-2464:
-------------------------------------

IIRC 2.0.x worked fine

> [regression] maven 2.1 uses snapshot repository to look for plugins
> -------------------------------------------------------------------
>
>                 Key: MNG-2464
>                 URL: http://jira.codehaus.org/browse/MNG-2464
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Plugins and Lifecycle, Dependencies
>    Affects Versions: 2.1
>            Reporter: Carlos Sanchez
>             Fix For: 2.1
>
>         Attachments: mvn2.0.4.log, mvn2.1.log
>
>
> Building components trunk with 2.0.4 and 2.1-SNAPSHOT from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060724.103002.tar.gz

-- 
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