Maven Dependency Plugin
  1. Maven Dependency Plugin
  2. MDEP-82

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

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: None
    • Component/s: go-offline, resolve-plugins
    • Labels:
      None
    • Environment:
      Maven 2.0.6
    • Testcase included:
      yes
    • Number of attachments :
      2

      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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated: