Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Please test your builds with maven 3.8.5 / Fwd: [VOTE] Release Apache Maven version 3.8.5

I'm not sure if any of the DefaultXXX implementations could be considered API ... and they should actually be found by the Plexus container by their API interfaces.

Nerveless, you need to make ModelVersionProcessor available for injection to fix this issue (this is maven 3.8.x API) see org.apache.maven.model.interpolation.DefaultModelVersionProcessor if you do not use the standard lookup of maven components or you use DefaultModelBuilderFactory


Am 07.03.22 um 14:41 schrieb Mickael Istria:
Seems like Maven 3.8.5 candidate causes major issue with Tycho
"""
Plugin org.eclipse.tycho:tycho-maven-plugin:3.0.0-SNAPSHOT or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-archiver:jar:4.2.7, org.codehaus.plexus:plexus-interpolation:jar:1.26, org.codehaus.plexus:plexus-cipher:jar:2.0, org.eclipse.platform:org.eclipse.osgi:jar:3.17.100, de.pdark:decentxml:jar:1.4, org.codehaus.plexus:plexus-utils:jar:3.4.1, org.codehaus.plexus:plexus-component-annotations:jar:2.1.1: org.codehaus.plexus:plexus-archiver:jar:4.2.7 was not found in ...
""",
causes m2e integration of LemMinX-Maven to fail, most likely because LemMinX-Maven fails  itself
"""
[ERROR] /home/jenkins/agent/workspace/LemMinX-Maven_PR-282-head/lemminx-maven/src/main/java/org/eclipse/lemminx/extensions/maven/ModelValidatorMNG7170.java:[17,8] constructor DefaultModelValidator in class org.apache.maven.model.validation.DefaultModelValidator cannot be applied to given types;
   required: org.apache.maven.model.interpolation.ModelVersionProcessor
   found: no arguments
   reason: actual and formal argument lists differ in length
"""

I'm investigating whether a backward compatible change can be implemented. If not, then it means Maven has an API breakage which should be a reason why we could vote -1 for this release.

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top