Juan Pablo Santos Rodríguez created MDEP-863:
------------------------------------------------

             Summary: go-offline / resolve-plugins don't take into account 
dependency overwrite
                 Key: MDEP-863
                 URL: https://issues.apache.org/jira/browse/MDEP-863
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: go-offline, resolve-plugins
    Affects Versions: 3.5.0
            Reporter: Juan Pablo Santos Rodríguez


Having this plugin configuration:
{code:xml}
<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>
{code}
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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to