Search code examples
javaapachemavendevopsarchiva

Apache Archiva Maven releated


I am trying to use Apache Archiva as my project repository. I configure archiva and am able to upload the snapshot to archiva using mvn deploy since i configured the details in pom.xml and settings.xml respectively.

Now i have snapshots which are under development, and at the time of release, i would like to move the latest artifacts from snapshots to internal(release). May I know the configuration details? I tried with maven release:prepare but it is failing since i have to mention SCM also in that. In this case, it is just about moving artifact from snapshot to internal, a different compilation is not required.

Please help on this.


Solution

  • I was able to achieve this using release:perform by mentioned scm pointing to git repository. release:prepare took the checkout and pushed a release as well as created a tag in git. Thanks