[jira] Created: (MDEP-82) go-offline / resolve-plugins does not resolve all plugin dependencies

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (MDEP-82) go-offline / resolve-plugins does not resolve all plugin dependencies

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

go-offline / resolve-plugins does not resolve all plugin dependencies
---------------------------------------------------------------------

                 Key: MDEP-82
                 URL: http://jira.codehaus.org/browse/MDEP-82
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: go-offline, resolve-plugins
    Affects Versions: 2.0-alpha-4
         Environment: Maven 2.0.6
            Reporter: Arne Degenring
            Assignee: Brian Fox
         Attachments: pom.xml

The attached pom.xml is a very simple JAR project, without any direct dependencies or plugin dependencies.

Start with an empty local repository, and run mvn dependency:go-offline on it. Some files get downloaded, but not everything that is needed for the build. If you run "mvn -o package" afterwards, you end up with the following error:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found

Afterwards, even "mvn package" without the "-o" parameter does not work any longer.


--
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: (MDEP-82) go-offline / resolve-plugins does not resolve all plugin dependencies

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MDEP-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94665 ]

Brian Fox commented on MDEP-82:
-------------------------------

The problem is that the project isn't injected with the plugins from the standard lifecycle. I may have to hard code the standard ones (site,clean,default) until I can figure out how to get at the list directly.

> go-offline / resolve-plugins does not resolve all plugin dependencies
> ---------------------------------------------------------------------
>
>                 Key: MDEP-82
>                 URL: http://jira.codehaus.org/browse/MDEP-82
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline, resolve-plugins
>    Affects Versions: 2.0-alpha-4
>         Environment: Maven 2.0.6
>            Reporter: Arne Degenring
>            Assignee: Brian Fox
>         Attachments: pom.xml
>
>
> The attached pom.xml is a very simple JAR project, without any direct dependencies or plugin dependencies.
> Start with an empty local repository, and run mvn dependency:go-offline on it. Some files get downloaded, but not everything that is needed for the build. If you run "mvn -o package" afterwards, you end up with the following error:
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
> Afterwards, even "mvn package" without the "-o" parameter does not work any longer.

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

       

Commented: (MDEP-82) go-offline / resolve-plugins does not resolve all plugin dependencies

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MDEP-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197430#action_197430 ]

Harold Shinsato commented on MDEP-82:
-------------------------------------

Being able to go offline so all needed dependencies (including plugin dependencies) will work is something we have a requirement to do for our builds or it will be hard for us to get to use maven. Is there a workaround for this issue that would not require writing custom code?

> go-offline / resolve-plugins does not resolve all plugin dependencies
> ---------------------------------------------------------------------
>
>                 Key: MDEP-82
>                 URL: http://jira.codehaus.org/browse/MDEP-82
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline, resolve-plugins
>    Affects Versions: 2.0-alpha-4
>         Environment: Maven 2.0.6
>            Reporter: Arne Degenring
>            Assignee: Brian Fox
>         Attachments: pom.xml
>
>
> The attached pom.xml is a very simple JAR project, without any direct dependencies or plugin dependencies.
> Start with an empty local repository, and run mvn dependency:go-offline on it. Some files get downloaded, but not everything that is needed for the build. If you run "mvn -o package" afterwards, you end up with the following error:
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
> Afterwards, even "mvn package" without the "-o" parameter does not work any longer.

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