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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.0-alpha-4, 2.8, 2.10
    • 3.0.0
    • go-offline, resolve-plugins
    • None
    • 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

              Unassigned Unassigned
              arned Arne Degenring
              Votes:
              18 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

                Created:
                Updated: