Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Build Object name is not getting updated as expected in Artifactory while using the Artifactory Maven plugin. #288

Open
roja03 opened this issue Jul 23, 2021 · 0 comments

Comments

@roja03
Copy link

roja03 commented Jul 23, 2021

Problem Description:
When using the Artifactory Maven plugin we could notice that the Build Object name is not getting updated properly in Artifactory.

Steps to reproduce:

  1. Cloned this Project https://github.com/jfrog/project-examples/tree/master/artifactory-maven-plugin-example
  2. Updated the pom.xml file of the contextUrl with Artifactory URL(http://artifactoryurlport/artifactory) and changed the artifactid as multi-test ,build name as ${project.artifactId}-${project.version} where Build Name will come as project artifactid with the project version.
  3. CD to the project directory and run mvn deploy -Dusername=admin -Dpassword=password -Dbuildnumber=4.
  4. After the Build is successful we could see that the build object in the Artifactory UI is not updated correctly and showing as multi1-2.17-SNAPSHOT instead of multi-test:2.17-SNAPSHOT since my artifact id is “multi-test”.
    I have also attached the screenshots for your [http://g.recordit.co/xWKEKUIjeP.gif]

Expected behavior:
When there is a modification performed on the artifact id in the pom.xml the build object name also should be updated accordingly using Maven Artifactory Plugin in Artifactory.

Workaround:
No

Customer pain level: 1 (Low)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant