Hello,
I'm using maven-ant-tasks to deploy the artifact to nexus repository
The number of classifiers is dynamic, so I could not call only 1 time
the artifact:deploy task for all classifiers
So, for each classifier, I called artifact:deploy task
The first artifact classifier was deployed successfully, but from the
2nd classfier, the artifact:deploy task took always the first classifier
to deploy to nexus repository, so It failed.
<for list="${classifiers}" param="classifier">
<sequential>
<artifact:deploy>
<remoteRepository url="${nexus.repository}">
<authentication
username="${nexus.repository.username}"
password="${nexus.repository.password}" />
</remoteRepository>
<pom refid="pomFile" />
<attach file=@{classifier}.zip" type="zip"
classifier="@{classifier}" />
</artifact:deploy>
</sequential>
</for>
Please help
Thanks