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

sonar-pmd-plugin v3.5.1 POM has unexpanded template variable in parent section. #470

Open
ftclausen opened this issue May 23, 2024 · 2 comments
Assignees

Comments

@ftclausen
Copy link

In sonar-pmd-plugin v3.5.1 the POM has the following:

<parent>
<groupId>org.sonarsource.pmd</groupId>
<artifactId>sonar-pmd</artifactId>
<version>${revision}</version>
</parent>

Whereas v3.5.0 has

<parent>
<groupId>org.sonarsource.pmd</groupId>
<artifactId>sonar-pmd</artifactId>
<version>3.5.0</version>
</parent>

Notice the literal ${revision} in v3.5.1 - I think that's meant to be 3.5.1? This causes our build to fail trying to find a literal ${revision}. I suspect it has something to do with this commit but I didn't get time to figure it out fully.

@stokpop stokpop self-assigned this Jun 28, 2024
@stokpop
Copy link
Collaborator

stokpop commented Jul 2, 2024

@ftclausen Thanks for the report, looking into it. Will try the maven flatten plugin to resolve all parameters before deploy.

@stokpop
Copy link
Collaborator

stokpop commented Jul 5, 2024

@ftclausen We have released a 3.5.2-SNAPSHOT. Can you please check if this works for this case? Then we can proceed to make a new release.

For our information: where did it need to resolve these versions in your build?

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

2 participants