-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.1
-
Component/s: None
-
Labels:None
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.