[ https://issues.apache.org/jira/browse/MDEP-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17341833#comment-17341833 ]
Jonas van Vliet commented on MDEP-739: -------------------------------------- Issue is already linked it seems, but I'll add a comment here to ensure the right people are notified: [https://github.com/apache/maven-dependency-plugin/pull/133] > Dependency Plugin go-offline doesn't respect artifact classifier > ---------------------------------------------------------------- > > Key: MDEP-739 > URL: https://issues.apache.org/jira/browse/MDEP-739 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: go-offline > Affects Versions: 3.1.2 > Reporter: James Agnew > Priority: Major > > This is a regressing in 3.1.2, and does not occur in 3.1.1. > Given a pom.xml with the following dependency: > {code:java} > <dependency> > <groupId>ca.uhn.hapi.fhir</groupId> > <artifactId>hapi-fhir-testpage-overlay</artifactId> > <version>5.3.0</version> > <classifier>classes</classifier> > </dependency> > {code} > The go-offline command will try (and fail) to resolve the JAR that does not > have that classifier. Version 3.1.1 of the plugin correctly resolved the > right JAR. > > Error is: > > {{[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:go-offline > (default-cli) on project hapi-fhir-jpaserver-starter: > org.eclipse.aether.resolution.DependencyResolutionException: Could not find > artifact ca.uhn.hapi.fhir:hapi-fhir-testpage-overlay:jar:5.3.0 in > oss-snapshots}} -- This message was sent by Atlassian Jira (v8.3.4#803005)