[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-dev
Subject:    [4/5] maven-archetype git commit: [ARCHETYPE-522] Introduce MRM for archetype-maven-plugin ITs
From:       rfscholte () apache ! org
Date:       2017-02-28 21:29:49
Message-ID: 4dec483a426c4682b0d2f1e52e791585 () git ! apache ! org
[Download RAW message or body]

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/goal.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/goal.txt \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/goal.txt
 deleted file mode 100644
index f8808ba..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/goal.txt
                
+++ /dev/null
@@ -1 +0,0 @@
-compile
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/pom.xml \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/pom.xml
 deleted file mode 100644
index ed5ad61..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/pom.xml
                
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" \
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>archetype.it</groupId>
-  <artifactId>basic</artifactId>
-  <version>0.1-SNAPSHOT</version>
-
-  <name>archetype build IT</name>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
 deleted file mode 100644
index 3119279..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
                
+++ /dev/null
@@ -1,36 +0,0 @@
-package build.archetype;
-
-/*
- * 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.
- */
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-        System.out.println( "groupId = archetype.it" );
-        System.out.println( "artifactId = basic" );
-        System.out.println( "package = build.archetype" );
-        System.out.println( "packageInPathFormat = build/archetype" );
-    }
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/tes \
t/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources \
/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
 deleted file mode 100644
index f996e64..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resou \
rces/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
                
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __packageInPathFormat__ in file directory was replaced with "build/archetype"
-# __package__ in filename was replaced with "build.archetype"

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
 deleted file mode 100644
index bc7e8cd..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
                
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __artifactId__ in filename was replaced with "basic"
-
-rootArtifactId = basic
-
-requiredPropertyWithoutDefaultValue = a value defined in archetype.properties
-
-requiredPropertyWithDefaultValue = not the default value, but a value defined in \
                archetype.properties
-
-nonRequiredProperty = a property that is not defined as requiredProperty in the \
archetype descriptor

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
 deleted file mode 100644
index 0845f59..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
                
+++ /dev/null
@@ -1 +0,0 @@
-~~ 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.test:- non-filtered: ${artifactId} stays intact (not \
replaced by Velocity)- packaged: package directory will be added- __artifactId__ is \
replaced (even if non-filtered) \ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/verify.groovy
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/verify.groovy \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/verify.groovy
 deleted file mode 100644
index cd3ba2b..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/src/test/resources/projects/basic/verify.groovy
                
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * 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.
- */
- 
-System.out.println(" Yeah Baby it rocks!")
-System.out.println("basedir:"+basedir)
-assert new File(basedir,"reference/src/main/resources/empty-directory").exists();
-assert new File(basedir,"reference/src/main/resources/empty-directory").isDirectory();
                
-assert new File(basedir,"project/basic/src/main/resources/empty-directory").exists();
                
-assert new File(basedir,"project/basic/src/main/resources/empty-directory").isDirectory();


http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/test-settings.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/test-settings.xml \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/test-settings.xml \
deleted file mode 100644 index ab9e16e..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/test-settings.xml
                
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<settings>
-  <profiles>
-    <profile>
-      <id>it-repo</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <repositories>
-        <repository>
-          <id>local.central</id>
-          <url>@localRepositoryUrl@</url>
-          <releases>
-            <enabled>true</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>local.central</id>
-          <url>@localRepositoryUrl@</url>
-          <releases>
-            <enabled>true</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-  </profiles>
-</settings>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/verify.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/verify.bsh \
b/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/verify.bsh \
deleted file mode 100644 index f6d2460..0000000
--- a/maven-archetype-plugin/src/it/build-archetype-ignore-eol-encoding/verify.bsh
+++ /dev/null
@@ -1,75 +0,0 @@
-
-/*
- * 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/basic" );
-
-File main = new File( basedir, "src/main" );
-
-// check <fileset packaged="true">
-File app = new File( main, "java/build/archetype/App.java" );
-if ( !app.isFile() )
-{
-    throw new Exception( app + " file is missing or not a file." );
-}
-
-// check __propertyName__ path replacement
-File artifactId = new File( main, "resources/test-basic.properties" );
-if ( !artifactId.isFile() )
-{
-    throw new Exception( artifactId + " file is missing or not a file." );
-}
-
-File packageInPathFormat = new File( main, \
                "resources/build/archetype/build.archetype.properties" );
-if ( !packageInPathFormat.isFile() )
-{
-    throw new Exception( packageInPathFormat + " file is missing or not a file." );
-}
-
-// ARCHETYPE-289 check empty directory creation
-File empty = new File( main, "resources/empty-directory" );
-if ( !empty.isDirectory() )
-{
-    throw new Exception( empty + " directory is missing or not a directory." );
-}
-File filteredEmpty = new File( main, "resources/basic-empty-directory" );
-if ( !filteredEmpty.isDirectory() )
-{
-    throw new Exception( filteredEmpty + " directory is missing or not a directory." \
                );
-}
-
-// ARCHETYPE-334 check generated project has been compiled
-File appClass = new File( basedir, "target/classes/build/archetype/App.class" );
-if ( !appClass.isFile() )
-{
-    throw new Exception( appClass + " not here: generated project not compiled?" );
-}
-
-File buildLog = new File(basedir, "build.log");
-
-String content = FileUtils.fileRead( buildLog, "UTF-8" );
-
-int idx = content.indexOf( "Yeah Baby it rocks!");
-if ( idx < 0 )
-{
-    throw new Exception( "build.log missing out.println from verify.groovy" );
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/invoker.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/invoker.properties \
b/maven-archetype-plugin/src/it/build-archetype/invoker.properties deleted file mode \
100644 index 963ca6c..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-invoker.goals = clean integration-test

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/pom.xml \
b/maven-archetype-plugin/src/it/build-archetype/pom.xml deleted file mode 100644
index b24c297..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/pom.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" \
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.archetype.its</groupId>
-  <artifactId>build-archetype</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>maven-archetype</packaging>
-
-  <name>build-archetype</name>
-  <description>packages an archetype then runs IT \
                (archetype:integration-test)</description>
-
-  <build>
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.archetype</groupId>
-        <artifactId>archetype-packaging</artifactId>
-        <version>@project.version@</version>
-      </extension>
-    </extensions>
-
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-archetype-plugin</artifactId>
-          <version>@project.version@</version>
-          <configuration>
-            <settingsFile>${basedir}/test-settings.xml</settingsFile>
-            <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
-            <ignoreEOLStyle>true</ignoreEOLStyle>
-          </configuration>
-
-        </plugin>
-        <plugin>
-          <artifactId>maven-resources-plugin</artifactId>
-          <configuration>
-            <includeEmptyDirs>true</includeEmptyDirs>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/setup.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/setup.bsh \
b/maven-archetype-plugin/src/it/build-archetype/setup.bsh deleted file mode 100644
index 4a20d75..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/setup.bsh
+++ /dev/null
@@ -1,28 +0,0 @@
-
-/*
- * 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.
- */
-
-resources = new File( basedir, \
                "src/main/resources/archetype-resources/src/main/resources" );
-reference = new File( basedir, \
                "src/test/resources/projects/basic/reference/src/main/resources" );
-
-// empty directories not supported by git: create them when preparing the IT
-new File( resources, "empty-directory" ).mkdir();
-new File( reference, "empty-directory" ).mkdir();
-new File( resources, "__artifactId__-empty-directory" ).mkdir();
-new File( reference, "basic-empty-directory" ).mkdir();

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
                lugin/src/it/build-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
 deleted file mode 100644
index c363e21..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
                
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<archetype-descriptor \
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
                
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 \
                http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"
-    name="build-archetype-IT">
-  <requiredProperties>
-    <requiredProperty key="requiredPropertyWithoutDefaultValue"/>
-    <requiredProperty key="requiredPropertyWithDefaultValue">
-      <defaultValue>this property has a default value defined in the archetype \
                descriptor</defaultValue>
-    </requiredProperty>
-  </requiredProperties>
-
-  <fileSets>
-    <fileSet filtered="true" packaged="true" encoding="UTF-8">
-      <directory>src/main/java</directory>
-      <includes>
-        <include>**/*.java</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="true" packaged="false" encoding="UTF-8">
-      <directory>src/main/resources</directory>
-      <includes>
-        <include>**/*.properties</include>
-        <include>**/__*/</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="false" packaged="false" encoding="UTF-8">
-      <directory>src/main/resources</directory>
-      <includes>
-        <include>**</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="false" packaged="true" encoding="UTF-8">
-      <directory>src/site</directory>
-      <includes>
-        <include>**</include>
-      </includes>
-    </fileSet>
-  </fileSets>
-</archetype-descriptor>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/pom.xml \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/pom.xml
 deleted file mode 100644
index 6c23175..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/pom.xml
                
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" \
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>${groupId}</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <version>${version}</version>
-
-  <name>archetype build IT</name>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/java/App.java
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/java/App.java \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/java/App.java
 deleted file mode 100644
index 0e020bd..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/java/App.java
                
+++ /dev/null
@@ -1,36 +0,0 @@
-package ${package};
-
-/*
- * 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.
- */
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-        System.out.println( "groupId = ${groupId}" );
-        System.out.println( "artifactId = ${artifactId}" );
-        System.out.println( "package = ${package}" );
-        System.out.println( "packageInPathFormat = ${packageInPathFormat}" );
-    }
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/__packageInPathFormat__/__package__.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/__packageInPathFormat__/__package__.properties \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/__packageInPathFormat__/__package__.properties
 deleted file mode 100644
index cf96eed..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/__packageInPathFormat__/__package__.properties
                
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __packageInPathFormat__ in file directory was replaced with \
                "${packageInPathFormat}"
-# __package__ in filename was replaced with "${package}"

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/test-__artifactId__.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/test-__artifactId__.properties \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/test-__artifactId__.properties
 deleted file mode 100644
index 100ffba..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/main/resources/test-__artifactId__.properties
                
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __artifactId__ in filename was replaced with "${artifactId}"
-
-rootArtifactId = ${rootArtifactId}
-
-requiredPropertyWithoutDefaultValue = ${requiredPropertyWithoutDefaultValue}
-
-requiredPropertyWithDefaultValue = ${requiredPropertyWithDefaultValue}
-
-nonRequiredProperty = ${nonRequiredProperty}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/main/resources/archetype-resources/src/site/apt/__artifactId__.apt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/site/apt/__artifactId__.apt \
b/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/site/apt/__artifactId__.apt
 deleted file mode 100644
index aaa6104..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/main/resources/archetype-resources/src/site/apt/__artifactId__.apt
                
+++ /dev/null
@@ -1,21 +0,0 @@
-~~ 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.
-
-test:
-- non-filtered: ${artifactId} stays intact (not replaced by Velocity)
-- packaged: package directory will be added
-- __artifactId__ is replaced (even if non-filtered)

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
                lugin/src/it/build-archetype/src/test/resources/projects/basic/archetype.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/archetype.properties \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/archetype.properties
 deleted file mode 100644
index 01013f2..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/archetype.properties
                
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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.
-
-version=0.1-SNAPSHOT
-groupId=archetype.it
-artifactId=basic
-package=build.archetype
-
-requiredPropertyWithoutDefaultValue=a value defined in archetype.properties
-
-requiredPropertyWithDefaultValue=not the default value, but a value defined in \
                archetype.properties
-
-nonRequiredProperty=a property that is not defined as requiredProperty in the \
archetype descriptor \ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/goal.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/goal.txt \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/goal.txt
 deleted file mode 100644
index f8808ba..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/goal.txt
                
+++ /dev/null
@@ -1 +0,0 @@
-compile
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/pom.xml \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/pom.xml
 deleted file mode 100644
index ed5ad61..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/pom.xml
                
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" \
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>archetype.it</groupId>
-  <artifactId>basic</artifactId>
-  <version>0.1-SNAPSHOT</version>
-
-  <name>archetype build IT</name>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
 deleted file mode 100644
index 3119279..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/java/build/archetype/App.java
                
+++ /dev/null
@@ -1,36 +0,0 @@
-package build.archetype;
-
-/*
- * 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.
- */
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-        System.out.println( "groupId = archetype.it" );
-        System.out.println( "artifactId = basic" );
-        System.out.println( "package = build.archetype" );
-        System.out.println( "packageInPathFormat = build/archetype" );
-    }
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
 deleted file mode 100644
index f996e64..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/build/archetype/build.archetype.properties
                
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __packageInPathFormat__ in file directory was replaced with "build/archetype"
-# __package__ in filename was replaced with "build.archetype"

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
 deleted file mode 100644
index bc7e8cd..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/main/resources/test-basic.properties
                
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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.
-
-# test file path __propertyName__ replacement with its value
-# __artifactId__ in filename was replaced with "basic"
-
-rootArtifactId = basic
-
-requiredPropertyWithoutDefaultValue = a value defined in archetype.properties
-
-requiredPropertyWithDefaultValue = not the default value, but a value defined in \
                archetype.properties
-
-nonRequiredProperty = a property that is not defined as requiredProperty in the \
archetype descriptor

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
 deleted file mode 100644
index aaa6104..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt
                
+++ /dev/null
@@ -1,21 +0,0 @@
-~~ 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.
-
-test:
-- non-filtered: ${artifactId} stays intact (not replaced by Velocity)
-- packaged: package directory will be added
-- __artifactId__ is replaced (even if non-filtered)

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/verify.groovy
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/verify.groovy \
b/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/verify.groovy
 deleted file mode 100644
index cd3ba2b..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/src/test/resources/projects/basic/verify.groovy
                
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * 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.
- */
- 
-System.out.println(" Yeah Baby it rocks!")
-System.out.println("basedir:"+basedir)
-assert new File(basedir,"reference/src/main/resources/empty-directory").exists();
-assert new File(basedir,"reference/src/main/resources/empty-directory").isDirectory();
                
-assert new File(basedir,"project/basic/src/main/resources/empty-directory").exists();
                
-assert new File(basedir,"project/basic/src/main/resources/empty-directory").isDirectory();


http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/test-settings.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/test-settings.xml \
b/maven-archetype-plugin/src/it/build-archetype/test-settings.xml deleted file mode \
100644 index ab9e16e..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/test-settings.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-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.
--->
-
-<settings>
-  <profiles>
-    <profile>
-      <id>it-repo</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <repositories>
-        <repository>
-          <id>local.central</id>
-          <url>@localRepositoryUrl@</url>
-          <releases>
-            <enabled>true</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </repository>
-      </repositories>
-      <pluginRepositories>
-        <pluginRepository>
-          <id>local.central</id>
-          <url>@localRepositoryUrl@</url>
-          <releases>
-            <enabled>true</enabled>
-          </releases>
-          <snapshots>
-            <enabled>true</enabled>
-          </snapshots>
-        </pluginRepository>
-      </pluginRepositories>
-    </profile>
-  </profiles>
-</settings>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/build-archetype/verify.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/build-archetype/verify.bsh \
b/maven-archetype-plugin/src/it/build-archetype/verify.bsh deleted file mode 100644
index f6d2460..0000000
--- a/maven-archetype-plugin/src/it/build-archetype/verify.bsh
+++ /dev/null
@@ -1,75 +0,0 @@
-
-/*
- * 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/basic" );
-
-File main = new File( basedir, "src/main" );
-
-// check <fileset packaged="true">
-File app = new File( main, "java/build/archetype/App.java" );
-if ( !app.isFile() )
-{
-    throw new Exception( app + " file is missing or not a file." );
-}
-
-// check __propertyName__ path replacement
-File artifactId = new File( main, "resources/test-basic.properties" );
-if ( !artifactId.isFile() )
-{
-    throw new Exception( artifactId + " file is missing or not a file." );
-}
-
-File packageInPathFormat = new File( main, \
                "resources/build/archetype/build.archetype.properties" );
-if ( !packageInPathFormat.isFile() )
-{
-    throw new Exception( packageInPathFormat + " file is missing or not a file." );
-}
-
-// ARCHETYPE-289 check empty directory creation
-File empty = new File( main, "resources/empty-directory" );
-if ( !empty.isDirectory() )
-{
-    throw new Exception( empty + " directory is missing or not a directory." );
-}
-File filteredEmpty = new File( main, "resources/basic-empty-directory" );
-if ( !filteredEmpty.isDirectory() )
-{
-    throw new Exception( filteredEmpty + " directory is missing or not a directory." \
                );
-}
-
-// ARCHETYPE-334 check generated project has been compiled
-File appClass = new File( basedir, "target/classes/build/archetype/App.class" );
-if ( !appClass.isFile() )
-{
-    throw new Exception( appClass + " not here: generated project not compiled?" );
-}
-
-File buildLog = new File(basedir, "build.log");
-
-String content = FileUtils.fileRead( buildLog, "UTF-8" );
-
-int idx = content.indexOf( "Yeah Baby it rocks!");
-if ( idx < 0 )
-{
-    throw new Exception( "build.log missing out.println from verify.groovy" );
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/archetype.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/archetype.properties \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/archetype.properties
 deleted file mode 100644
index 0d3bce8..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/archetype.properties
                
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-excludePatterns=**/toexclude/**
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/invoker.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/invoker.properties \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/invoker.properties
 deleted file mode 100644
index 27ec90f..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/invoker.properties
                
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-invoker.goals = clean \
org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project \
-Darchetype.properties=archetype.properties

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/pom.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/pom.xml deleted \
file mode 100644 index 7a173a0..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/pom.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.archetype.its</groupId>
-  <artifactId>create-from-project</artifactId>
-  <version>1.0-SNAPSHOT</version>
-
-  <name>archetype:create-from-project It</name>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.txt \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.txt
 deleted file mode 100644
index 238820c..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.txt
                
+++ /dev/null
@@ -1,16 +0,0 @@
-~~ 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.xml
 deleted file mode 100644
index f133f0e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/file.xml
                
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
-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.
--->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.txt \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.txt
 deleted file mode 100644
index 238820c..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.txt
                
+++ /dev/null
@@ -1,16 +0,0 @@
-~~ 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-p \
lugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.xml
 deleted file mode 100644
index f133f0e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/resources/toexclude/file.xml
                
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
-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.
--->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.txt \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.txt
 deleted file mode 100644
index 238820c..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.txt
                
+++ /dev/null
@@ -1,16 +0,0 @@
-~~ 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.xml
 deleted file mode 100644
index f133f0e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/main/toexclude/file.xml
                
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
-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.
--->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.txt \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.txt
 deleted file mode 100644
index 238820c..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.txt
                
+++ /dev/null
@@ -1,16 +0,0 @@
-~~ 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.xml
 deleted file mode 100644
index f133f0e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/src/toexclude/file.xml
                
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
-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.
--->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.txt
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.txt \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.txt
 deleted file mode 100644
index 238820c..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.txt
                
+++ /dev/null
@@ -1,16 +0,0 @@
-~~ 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.xml \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.xml
 deleted file mode 100644
index f133f0e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/toexclude/file.xml
                
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
-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.
--->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/verify.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/verify.bsh \
b/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/verify.bsh \
deleted file mode 100644 index 1021842..0000000
--- a/maven-archetype-plugin/src/it/create-from-project-exclude-patterns/verify.bsh
+++ /dev/null
@@ -1,46 +0,0 @@
-
-/*
- * 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.*;
-
-File archetype = new File( basedir, \
                "target/generated-sources/archetype/src/main/resources/archetype-resources/" \
                );
-
-// ARCHETYPE-513
-String[] excluded = new String[] { "/", "src/", "src/main/", "src/main/resources/" \
                };
-for ( String exclude : excluded )
-{
-    File app = new File( archetype, exclude + "toexclude" );
-    if ( app.exists() )
-    {
-        throw new Exception( app + " folder exists when it should have been \
                excluded." );
-    }
-}
-
-String[] included = new String[] { "file.txt", "file.xml" };
-for ( String include : included )
-{
-    File app = new File( archetype, "src/main/resources/" + include );
-    if ( !app.isFile() )
-    {
-        throw new Exception( app + " file does not exist when it should have been \
                included." );
-    }
-}
-
-return true;

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project/archetype.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project/archetype.properties \
b/maven-archetype-plugin/src/it/create-from-project/archetype.properties deleted file \
mode 100644 index 8fb65f9..0000000
--- a/maven-archetype-plugin/src/it/create-from-project/archetype.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-AppName App
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project/invoker.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project/invoker.properties \
b/maven-archetype-plugin/src/it/create-from-project/invoker.properties deleted file \
mode 100644 index 27ec90f..0000000
--- a/maven-archetype-plugin/src/it/create-from-project/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-invoker.goals = clean \
org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project \
-Darchetype.properties=archetype.properties

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project/pom.xml
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project/pom.xml \
b/maven-archetype-plugin/src/it/create-from-project/pom.xml deleted file mode 100644
index 7a173a0..0000000
--- a/maven-archetype-plugin/src/it/create-from-project/pom.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
                http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.archetype.its</groupId>
-  <artifactId>create-from-project</artifactId>
-  <version>1.0-SNAPSHOT</version>
-
-  <name>archetype:create-from-project It</name>
-</project>

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project/src/main/java/foo/bar/App.java
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project/src/main/java/foo/bar/App.java \
b/maven-archetype-plugin/src/it/create-from-project/src/main/java/foo/bar/App.java \
deleted file mode 100644 index 5d59afd..0000000
--- a/maven-archetype-plugin/src/it/create-from-project/src/main/java/foo/bar/App.java
                
+++ /dev/null
@@ -1,32 +0,0 @@
-package foo.bar;
-
-/*
- * 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.
- */
-
-/**
- * Hello world!
- * package foo.bar from foo/bar directory
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/create-from-project/verify.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/create-from-project/verify.bsh \
b/maven-archetype-plugin/src/it/create-from-project/verify.bsh deleted file mode \
100644 index 84a5f1e..0000000
--- a/maven-archetype-plugin/src/it/create-from-project/verify.bsh
+++ /dev/null
@@ -1,38 +0,0 @@
-
-/*
- * 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.*;
-
-File archetype = new File( basedir, "target/generated-sources/archetype" );
-
-File pom = new File( archetype, "pom.xml" );
-if ( !pom.isFile() )
-{
-    throw new Exception( pom + " file is missing or not a file." );
-}
-
-// ARCHETYPE-462 filter file name with archetype.properties properties
-File app = new File( archetype, \
                "src/main/resources/archetype-resources/src/main/java/__AppName__.java" \
                );
-if ( !app.isFile() )
-{
-    throw new Exception( app + " file is missing or not a file." );
-}
-
-return true;

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/generate-basic/invoker.properties
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/generate-basic/invoker.properties \
b/maven-archetype-plugin/src/it/generate-basic/invoker.properties deleted file mode \
100644 index 2637cc8..0000000
--- a/maven-archetype-plugin/src/it/generate-basic/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-
-invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.1 \
-DgroupId=com.company -DartifactId=project -Dversion=1.0-SNAPSHOT \
-Dpackage=com.company.project

http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/2ac48e1c/maven-archetype-plugin/src/it/generate-basic/verify.bsh
                
----------------------------------------------------------------------
diff --git a/maven-archetype-plugin/src/it/generate-basic/verify.bsh \
b/maven-archetype-plugin/src/it/generate-basic/verify.bsh deleted file mode 100644
index 91c5425..0000000
--- a/maven-archetype-plugin/src/it/generate-basic/verify.bsh
+++ /dev/null
@@ -1,29 +0,0 @@
-
-/*
- * 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.*;
-
-File pom = new File( basedir, "project/pom.xml" );
-if ( !pom.isFile() )
-{
-    throw new Exception( "No project created from archetype." );
-}
-
-return true;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic