Hallo Myeclipse Users,
In my pom.xml I have configured <uniqueVersion>false</uniqueVersion> in order to install my snapshot-artifacts with short names into nexus:
<distributionManagement>
<snapshotRepository>
<id>safir.snapshot.nexus</id>
<url>http://dev-server2:8081/nexus/content/repositories/snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>
So calling maven from the console with
mvn -B -s C:\Users\georg.SAFIR-WID\.m2\settings.xml deploy
produces the expected files
artifact-version-SNAPSHOT.jar
and
artifact-version-SNAPSHOT-sources.jar
and installs it to my nexus database.
Calling the same from myeclipse the flag <uniqueVersion>false</uniqueVersion> seems to be ignored. Then the artifacts will be installed to nexus with names extended by timestamps:
artifact-version-20110819.081635-3.jar
and
artifact-version-20110819.081635-3-sources.jar
What I am doing wrong?
Unfortunately the artifacts with timestamp-extended names don’t fit to my EAR deployment. 🙁
Thanks in advance,
Gio