You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2023/05/13 14:39:00 UTC

[jira] [Created] (MDEP-863) go-offline / resolve-plugins don't take into account dependency overwrite

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)