sonatype-nexus-community/search-maven-org

POM properties are not resolved for extracted properties.

raphw opened this issue · 0 comments

raphw commented

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.