I configured a Jenkins to deploy the artifact to Jfrog (community). This is what I want to have and instead what I have.
- I have a spring-boot maven project "maven-example" with version 0.0.1-SNAPSHOT.
- Jenkins, due to the git push, start the building using the Build Environment : Maven3-Artifactory Integration
4.In Build : Invoke artifactory Maven and used clean install goals
- All seems to be ok. The artifact is published to my local artifact repository but when I browse it, I see the jar with date appended like in this picture
In a 2nd spring-boot project which depends on the maven-example, I would like to have :
<dependency> <groupId>com.example</groupId> <artifactId>mavenexample</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency>
but I cannot retrieve the library if I do not use
<dependency>
<groupId>com.example</groupId>
<artifactId>mavenexample</artifactId>
<version>0.0.1-20200511.103423-1</version>
</dependency>
What I missed? (I already set the .m2 setting.xml to target my Jfrog)
Thank you in advance
0.0.1-SNAPSHOT
against the latest timestamp. If not, there is probably some configuration error. – J Fabian Meier