ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jaikiran pai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-1444) maven tests artifacts cannot be downloaded because they are mapped to private configurations
Date Mon, 28 Dec 2015 04:39:49 GMT

    [ https://issues.apache.org/jira/browse/IVY-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072407#comment-15072407
] 

jaikiran pai commented on IVY-1444:
-----------------------------------

Nathan, I'm _not_ a Ivy committer, so can't say if that patch with get accepted. But I think
you should go ahead and open a pull request and just drop a mail on the dev list asking for
someone to review. There hasn't been much activity on that list lately but a new committer
Stephen Haberman has been appointed, so I guess there might be some response to your review
request.


> maven tests artifacts cannot be downloaded because they are mapped to private configurations
> --------------------------------------------------------------------------------------------
>
>                 Key: IVY-1444
>                 URL: https://issues.apache.org/jira/browse/IVY-1444
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.3.0
>            Reporter: subes
>            Priority: Blocker
>
> To run an embedded hadoop server, one has to use hadoops test libraries since version
2.1.0-beta.
> Though fetching those test libraries fails with:
> {quote}
> configuration not public in xxx#yyy;2.1.0-rc2: 'test'. It was
> required from zzz#bbb;working test
> {quote}
> This is because the maven pom.xml converter creates this configuration entry:
> {quote}
> <conf name="test"
>                 visibility="private"
>                 description="this scope indicates that the dependency is not
> required for normal use of the application, and is only available for the test
> compilation and execution phases."
>                 extends="runtime"/>
> {quote}
> This makes it impossible to download test artifacts with ivy. Then the question arises,
why are those tests jars in the maven repos anyway?
> Is there any way how to download the actual test artifacts of maven modules?
> Maybe the pom.xml converter needs to be adjusted to generate:
> {quote}
> <conf name="test"
>                 visibility="public"
>                 description="this scope indicates that the dependency is not
> required for normal use of the application, and is only available for the test
> compilation and execution phases."
>                 extends="runtime"/>
> {quote}
> To fix this...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message