ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek <mkasztel...@gmail.com>
Subject Problem with downloading zip file generated by maven assembly plugin by ivy
Date Thu, 30 Aug 2012 16:06:08 GMT
Hi,

I'm looking a way to download zip archive generated by maven assembly 
plugin by ivy (2.3.0-rc1). The schema of this file is:

artifaceId-revision-classifier-postfix.zip

e.g. for:

<dependency org="groupId" name="off" rev="0.1.0-SNAPSHOT">
   <artifact name="off" type="zip" />
</dependency>

it will be: off-0.1.0-20120830.130458-1-opener.zip

my ivy settings for this repository:

<ibiblio name="dice-repo" m2compatible="true" usepoms="true"
pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
     root="http://repo.url" />

and it checks:

[ivy:retrieve] 
http://repo.url/groupId/off/0.1.0-SNAPSHOT/off-0.1.0-20120830.130458-1.zip
[ivy:retrieve] 
http://repo.url/groupId/off/0.1.0-SNAPSHOT/off-0.1.0-SNAPSHOT.zip

so far so good. No I change the ibiblio settings to take into account 
"opener" postfix:

<ibiblio name="dice-repo" m2compatible="true" usepoms="true"
pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])-opener.[ext]"
     root="http://repo.url" />

than only following url is checked:

[ivy:retrieve] 
http://repo.url/groupId/off/0.1.0-SNAPSHOT/off-0.1.0-SNAPSHOT-opener.zip

How I should configure ibiblio repository to be able to download such 
zip file? Or maybe there is other possiblity do define postfix in 
dependency secion?

Greetings,
Marek

Mime
View raw message