sonatype-nexus-community / search-maven-org

Apache License 2.0
480 stars 141 forks source link

POM properties are not resolved for extracted properties. #150

Open raphw opened 3 years ago

raphw commented 3 years ago

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.