[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-189) Maven resolver unable to resolve test-jar artifacts without classifier

Karel Piwko (JIRA) issues at jboss.org
Tue Jul 22 03:57:29 EDT 2014


    [ https://issues.jboss.org/browse/SHRINKRES-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986904#comment-12986904 ] 

Karel Piwko commented on SHRINKRES-189:
---------------------------------------

Could you try with 2.1.1? I believe that SHRINKRES-162 and SHRINKRES-182 might have fixed the behavior.

https://issues.jboss.org/browse/SHRINKRES/fixforversion/12324754/?selectedTab=com.atlassian.jira.jira-projects-plugin:version-summary-panel

> 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) 
>          Components: impl-maven
>    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