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

go-offline / resolve-plugins don't take into account dependency overwrite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • go-offline, resolve-plugins
    • None

    Description

      Having this plugin configuration:

      <plugin>
        <groupId>ro.isdc.wro4j</groupId>
        <artifactId>wro4j-maven-plugin</artifactId>
        <version>1.10.1</version>
        <dependencies>
          <dependency>
            <groupId>org.webjars.npm</groupId>
            <artifactId>glob</artifactId>
            <version>7.2.0</version>
          </dependency>
        </dependencies>
      </plugin>
      

      causes DependencyResolutionException: Failed to collect dependencies for ro.isdc.wro4j:wro4j-maven-plugin:jar:1.10.1 (). However, actual wro4j plugin execution does resolve the dependencies, and doesn't display this error, it executes correctly.

      (see https://github.com/wro4j/wro4j/issues/1039#issuecomment-382474533 for context on this configuration)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              juanpablo Juan Pablo Santos Rodríguez
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: