ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-1463) Ivy refuses to download timestamped snapshot artifacts from a Nexus Pro repository
Date Fri, 04 Apr 2014 20:09:14 GMT

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

Maarten Coene commented on IVY-1463:
------------------------------------

Thanks.

If you take a look at that file, you'll see there is only 1 artifact with type 'bundle'.
However, your ivy:retrieve task looks like this:
{code:xml}
  <ivy:retrieve conf="*" type="jar" pattern="${basedir}/lib/[artifact]-[type]-[revision].[ext]"/>
{code}

You limit the type to 'jar', but if you change it to 
{code:xml}
  <ivy:retrieve conf="*" type="jar,bundle" pattern="${basedir}/lib/[artifact]-[type]-[revision].[ext]"/>
{code}
the artifact should be downloaded.

Could you give it a try?


> Ivy refuses to download timestamped snapshot artifacts from a Nexus Pro repository
> ----------------------------------------------------------------------------------
>
>                 Key: IVY-1463
>                 URL: https://issues.apache.org/jira/browse/IVY-1463
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>         Environment: Windows 7
>            Reporter: David M. Karr
>         Attachments: ivy-0.0.1-SNAPSHOT.xml
>
>
> I've described my problem on StackOverflow, at: http://stackoverflow.com/questions/21888490/ivy-wont-download-a-timestamped-snapshot-artifact-from-nexus-pro
.
> I've followed all of the reasonable instructions I can find, but Ivy simply doesn't download
the artifact.  It doesn't report errors, it just seems to not try.  It clearly "resolves"
the artifact on the repo, but that's all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message