[
https://issues.apache.org/jira/browse/MENFORCER-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471170#comment-17471170
]
Tilman Hausherr commented on MENFORCER-393:
-------------------------------------------
Same problem in the Apache Tika project. I was trying to change version from
3.0.0-M3 to 3.0.0 and one of the subprojects fails.
Old output
{noformat}
--- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-output-timestamp-property)
@ tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0-M3:enforce (ban-bad-log4j-versions) @
tika-parser-scientific-module ---
{noformat}
New output
{noformat}
--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0:enforce (enforce-output-timestamp-property) @
tika-parser-scientific-module ---
--- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @
tika-parser-scientific-module ---
Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with
message:
Could not build dependency tree Could not collect dependencies:
org.apache.tika:tika-parser-scientific-module:jar:2.2.2-SNAPSHOT ()
{noformat}
> Upgrading to 3.0.0 causes `Could not build dependency tree` with repositories
> some unknown protocol
> ---------------------------------------------------------------------------------------------------
>
> Key: MENFORCER-393
> URL: https://issues.apache.org/jira/browse/MENFORCER-393
> Project: Maven Enforcer Plugin
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 3.0.0
> Reporter: johnny willer gasperi goncalves
> Priority: Major
> Attachments: enforcer_output
>
>
> After upgrading to 3.0.0, it's not possible to validate the POM anymore, an
> error like
> {code:java}
> Could not build dependency tree Could not collect dependencies:
> {jarname}{code}
> happens.
>
> I'm attaching the `mvn validate -X` dump (i have omitted some jars from the
> output)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)