Skip to content

Version in pom.xml contains "${revision}" #474

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

Closed
Kuba15 opened this issue Oct 4, 2024 · 2 comments
Closed

Version in pom.xml contains "${revision}" #474

Kuba15 opened this issue Oct 4, 2024 · 2 comments
Milestone

Comments

@Kuba15
Copy link

Kuba15 commented Oct 4, 2024

Hello!

In the pom/xml provided in the jar file or available on mvnrepository.com, the tag contains ${revision}:

<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
<version>${revision}</version>
<name>Spring Retry</name>

https://repo1.maven.org/maven2/org/springframework/retry/spring-retry/2.0.9/spring-retry-2.0.9.pom

The actual version of the library would be expected, for instance: 2.0.9

@artembilan
Copy link
Member

The revision is there as a property:

<properties>
<revision>2.0.9</revision>

Isn't it resolved properly?

@Kuba15
Copy link
Author

Kuba15 commented Dec 13, 2024

The revision is there as a property:

<properties>
<revision>2.0.9</revision>

Isn't it resolved properly?

Ho sorry did not see your message.
There was indeed a resolution issue, you could also use the maven flatten plugin to replace the variable in the generated POM.

Thanks for the fix.

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

No branches or pull requests

2 participants