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

Reply via email to