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

POM properties are not resolved for extracted properties. #150

Open
raphw opened this issue Jul 27, 2021 · 0 comments
Open

POM properties are not resolved for extracted properties. #150

raphw opened this issue Jul 27, 2021 · 0 comments

Comments

@raphw
Copy link

raphw commented Jul 27, 2021

For my project, I allow release builds from a CI server what requires me to substitute the SCM URL what I do as:

<scm>
  <connection>scm:git:${repository.url}</connection>
  <developerConnection>scm:git:${repository.url}</developerConnection>
  <url>${repository.url}</url>
</scm>

This works well but the preview on search.maven.org does not resolve the property that is defined in the same POM file. Instead, ${repository.url} is shown in the preview.

Ideally, the variable should be substituted, at least if the property is defined in the same POM file.

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