Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
Description
The 1.7.0 version of the maven-remote-resources-plugin as no trouble processing POMs of dependencies such as the various Apache Commons libraries which contain a profile activated by the Java version in their respective parent POMs (cf. https://search.maven.org/artifact/org.apache.commons/commons-parent/52/pom - profile "japicmp").
Trying the same with version 3.0.0 generates errors such as:
[WARNING] Failed to build parent project for org.apache.commons:commons-csv:jar:1.10.0 org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Failed to determine Java version for profile japicmp @ line 1505, column 14 [ERROR] Failed to determine Java version for profile jdk7-plugin-fix-version @ line 1922, column 14 at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:207) at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:342) at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:299) at org.apache.maven.project.DefaultProjectBuilder.initParent (DefaultProjectBuilder.java:960) at org.apache.maven.project.DefaultProjectBuilder.initProject (DefaultProjectBuilder.java:680) at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:188) at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:342) at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:299) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects (ProcessRemoteResourcesMojo.java:665) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo$1.internalGet (ProcessRemoteResourcesMojo.java:1044) at org.apache.velocity.context.AbstractContext.get (AbstractContext.java:193) at org.apache.velocity.context.InternalContextAdapterImpl.get (InternalContextAdapterImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue (ASTReference.java:991) at org.apache.velocity.runtime.parser.node.ASTReference.execute (ASTReference.java:240) at org.apache.velocity.runtime.parser.node.ASTReference.value (ASTReference.java:567) at org.apache.velocity.runtime.directive.Foreach.render (Foreach.java:318) at org.apache.velocity.runtime.parser.node.ASTDirective.render (ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.SimpleNode.render (SimpleNode.java:342) at org.apache.velocity.Template.merge (Template.java:356) at org.apache.velocity.Template.merge (Template.java:260) at org.apache.velocity.app.VelocityEngine.mergeTemplate (VelocityEngine.java:354) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.processResourceBundles (ProcessRemoteResourcesMojo.java:1255) at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute (ProcessRemoteResourcesMojo.java:531)
Attachments
Issue Links
- is related to
-
MRRESOURCES-126 Get rid of Maven 3.9.1 warning about deprecated parameter
- Closed
- links to