I am using the Maven deploy plugin(3.0.0-M1/2.82)
to upload Snapshot jar to Jfrog Artifactory, but Plugin builds the SnapShot jar with the timeStamp and build Number(Default Behavior Of Maven Build with Timestamp while Remote Repository ) and says it uploading with name
example: project-extension-0.0.2-20200506.171928-1.jar but it uploads with SnapShot
name: project-extension-0.0.2-SNAPSHOT.jar(0.0.2-SNAPSHOT its Parent POM Version ) and replace it with the previous build Jar.
This is how SNAPSHOTs work.
The file is uploaded with a timestamp name (and also saved as such internally). But usually just specify the version as 0.0.2-SNAPSHOT
and Maven resolves the latest timestamp for you.
Artifactory keeps the different versions, but can be configured to keep only the last n SNAPSHOTs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.