[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-189) Maven resolver unable to resolve test-jar artifacts without classifier
Marek Winkler (JIRA)
issues at jboss.org
Mon Jul 21 11:31:30 EDT 2014
Marek Winkler created SHRINKRES-189:
---------------------------------------
Summary: Maven resolver unable to resolve test-jar artifacts without classifier
Key: SHRINKRES-189
URL: https://issues.jboss.org/browse/SHRINKRES-189
Project: ShrinkWrap Resolvers
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.0
Reporter: Marek Winkler
When resolving artifact specified in the pom.xml such as
{code:xml}
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
<type>test-jar</type>
</dependency>
{code}
the resolution fails to locate the artifact. The console output says that it tries to download the artifact with extension 'test-jar', which is wrong:
{{[java] WARNING: Failed downloading org/drools/drools-core/6.1.0.CR1-redhat-1/drools-core-6.1.0.CR1-redhat-1.test-jar from ...}}
When I declare the dependency with classifier, the resolution succeeds:
{code:xml}
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
<classifier>tests</classifier>
</dependency>
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the shrinkwrap-issues
mailing list