[ https://issues.apache.org/jira/browse/ARCHETYPE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866813#comment-15866813 ]
Hudson commented on ARCHETYPE-518: ---------------------------------- FAILURE: Integrated in Jenkins build maven-archetype-m3 #262 (See [https://builds.apache.org/job/maven-archetype-m3/262/]) [ARCHETYPE-518] Archetype cannot be created from project if parent (rfscholte: rev f2f119e17af285d731b85d52636897aa0760b6c4) * (edit) archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java * (edit) archetype-testing/archetype-final/src/test/java/org/apache/maven/archetype/creator/DefaultArchetypeCreatorIT.java * (edit) maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java * (edit) archetype-common/src/main/java/org/apache/maven/archetype/ArchetypeCreationRequest.java > Archetype cannot be created from project if parent pom.xml evaluates system > properties > -------------------------------------------------------------------------------------- > > Key: ARCHETYPE-518 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-518 > Project: Maven Archetype > Issue Type: Bug > Reporter: Petar Tahchiev > Assignee: Robert Scholte > Priority: Critical > Fix For: 3.0.1 > > > Given a project {{A}}, which has a parent {{B}} with {{pom.xml}} that > evaluates system properties like this: > {code} > <profile> > <id>doclint-java8-disable</id> > <activation> > <jdk>[1.8,)</jdk> > </activation> > <properties> > <javadoc.additional.params>-Xdoclint:none</javadoc.additional.params> > </properties> > </profile> > {code} > The {{mvn archetype:create-from-project}} fails with an error. This is > because the {{ProjectBuildingRequest}} has no {{userProperties}} or > {{systemProperties}} set: > https://github.com/apache/maven-archetype/blob/master/archetype-common/src/main/java/org/apache/maven/archetype/creator/FilesetArchetypeCreator.java#L439 > I will commit an {{@Ignored}} test case and a commented fix. -- This message was sent by Atlassian JIRA (v6.3.15#6346)