Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
Given a project A, which has a parent B with pom.xml that evaluates system properties like this:
<profile> <id>doclint-java8-disable</id> <activation> <jdk>[1.8,)</jdk> </activation> <properties> <javadoc.additional.params>-Xdoclint:none</javadoc.additional.params> </properties> </profile>
The mvn archetype:create-from-project fails with an error. This is because the ProjectBuildingRequest has no userProperties or systemProperties set:
I will commit an @Ignored test case and a commented fix.