[ https://issues.apache.org/jira/browse/ARCHETYPE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15369878#comment-15369878 ]
ASF GitHub Bot commented on ARCHETYPE-491: ------------------------------------------ Github user michael-o commented on a diff in the pull request: https://github.com/apache/maven-archetype/pull/8#discussion_r70186185 --- Diff: maven-archetype-plugin/src/it/build-archetype-and-run-its-with-existing-parent/verify.bsh --- @@ -0,0 +1,46 @@ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import java.io.*; +import org.codehaus.plexus.util.*; + +basedir = new File( basedir, "target/test-classes/projects/basic/project/project/basic" ); +if (!basedir.exists()) { --- End diff -- whitespase missing > Allow to run integration test with another archetype as parent project > ---------------------------------------------------------------------- > > Key: ARCHETYPE-491 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-491 > Project: Maven Archetype > Issue Type: Improvement > Components: Plugin > Affects Versions: 2.4 > Reporter: Konrad Windszus > Assignee: Michael Osipov > Fix For: 2.5 > > > Archetypes can be either used as module archetypes (below existing Maven > projects, then the parent will be automatically set) or as regular project > archetypes (i.e. will run standalone, because they need no parent or have a > parent hardcoded in their pom). Currently only the latter is properly > supported for the goal {{integration-test}}. > To also support the former it would be good to allow the setup of arbitrary > parent structures (from other archetypes) below which the actual IT should be > executed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)