Can I avoid Maven deployed war version with timestamp in Archiva? -
in out project using using deployed war file in /archiva-2.2.0/repositories/internal/com/xyz/1-snapshot/proj-1-20160204.122021-15.war
path using shell script copy jboss. finding latest build timestamp , build number difficult. there way avoid using timestamp while storing in archiva proj-1-snapshot.war? have read <uniqueversion>false</uniqueversion>
whcih not supported in maven 3.
i using archiva-2.2.0, maven-3.3.9.
maven repositories wasn't designed distribute deployable components, continuous integration environment should take care of this. jenkins has eg archive artifacts (native) , copy artifact plugin can use store , recover binaries in pipelines.
but can workaround behavior changing version of war
stable 1 - removing -snapshot
suffix. lead predictable url.
Comments
Post a Comment