Skip to content

Maven artifacts properties not set since jfrog cli 2.12.0 #1462

@gregoryboue

Description

@gregoryboue

Describe the bug

Since 2.12.0 jfrog cli version, the maven artifacts properties (build.name and build.number) are not set anymore, so in the artifactory build, the artifacts repo path have the following values : undefined/No path found (externally resolved or deleted/overwritten)

To Reproduce
-> Launch the following commands in a maven project with a jfrog cli configured to uses Artifactory platform (7.25..6) :
-> jf mvn-config ....
-> jf mvn install --build-name mybuild --build-number 1
-> jf rt build-publish mybuild 1

Expected behavior

When i go to my artifactory build details -> published modules --> I expect to see link in artifact repo path.

When i go to my artifact Properties from artifact tree I expect to see the following properties with their values :

  • build.name
  • build.number

This behaviour only concern maven package from my test (it's ok for go and npm)

Screenshots

OK with 2.11.1
image
image

KO with 2.12.0, 2.12.1, 2.13.0

image
image

Versions

  • JFrog CLI version: 2.12.0, 2.12.1, 2.13.0
  • JFrog CLI operating system: Linux (Docker: maven:3-openjdk-11 image)
  • Artifactory Version: 7.25.6

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions