A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/5597 below:

GitHub ยท Where software is built

Affects PMD Version: 7.12.0

Description: I tried out Maven 4.0.0-rc3 and it rejects the pom. The problem is this:

[ERROR] Some problems were encountered while processing the POMs
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project net.sourceforge.pmd:pmd:pom:7.12.0-SNAPSHOT (/home/clem/Git/pmd/pom.xml) has 1 error
[ERROR]     'profiles.profile[dogfood].pluginRepositories.pluginRepository.[dogfood].url' contains an unsupported expression (only expressions starting with 'project.basedir' or 'project.rootDirectory' are supported). @ net.sourceforge.pmd:pmd:7.12.0-SNAPSHOT, file:///home/clem/Git/pmd/pom.xml, line 1366, column 21
[ERROR] 

They added a requirement that repository URLs can only use project.basedir or project.rootdirectory. The offending line is here:

<url>file://${dogfoodStagingRepo}</url>

And here is the JIRA ticket (with link to discussion): https://issues.apache.org/jira/browse/MNG-8465

On the mailing list, the given justification and solution is given:

yes, POM must contain "non-dynamic" URL, this is due build reproducibility.
You can add a repository via settings.xml, and now you can have
"project wide settings" as well.

Just to keep in mind to support maven 4 eventually.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4