Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-82

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

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-alpha-4, 2.8, 2.10
    • Fix Version/s: 3.0.0
    • Component/s: go-offline, resolve-plugins
    • Labels:
      None
    • Environment:
      Maven 2.0.6

      Description

      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.

        Attachments

        1. pom.xml
          0.4 kB
          Arne Degenring
        2. maven-dependency-plugin-2.3.patch
          5 kB
          Paul Warren

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arned Arne Degenring
              • Votes:
                13 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated: