Repository: maven-archetype Updated Branches: refs/heads/master 83e76a564 -> 8e0fe06a4
http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleEAR/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleEAR/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleEAR/pom.xml new file mode 100644 index 0000000..4d004cf --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleEAR/pom.xml @@ -0,0 +1,65 @@ +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype.test</groupId> + <artifactId>test-create-4-ear</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>test-create-4-ear</artifactId> + <name>Maven archetype Test create-4-subModuleEAR</name> + <packaging>ear</packaging> + + <dependencies> + <dependency> + <groupId>org.apache.maven.archetype.test</groupId> + <artifactId>test-create-4-war</artifactId> + <version>1.0-SNAPSHOT</version> + <type>war</type> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-ear-plugin</artifactId> + <configuration> + <modules> + <webModule> + <groupId>org.apache.maven.archetype.test</groupId> + <artifactId>test-create-4-war</artifactId> + <contextRoot>test-create-4</contextRoot> + <bundleFileName>test-create-4.war</bundleFileName> + </webModule> + </modules> + </configuration> + </plugin> + </plugins> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleWar/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleWar/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleWar/pom.xml new file mode 100644 index 0000000..bc571f7 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/create-4/subModuleWar/pom.xml @@ -0,0 +1,38 @@ +<?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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype.test</groupId> + <artifactId>test-create-4-war</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>test-create-4-war</artifactId> + <name>Maven archetype Test create-4-subModuleWar A String to search for</name> + <description>Some description A String to search for</description> + <packaging>war</packaging> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/create-5/archetype.properties.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/create-5/archetype.properties.sample b/archetype-testing/archetype-final/src/test/resources/projects/create-5/archetype.properties.sample new file mode 100644 index 0000000..ce05498 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/create-5/archetype.properties.sample @@ -0,0 +1,2 @@ +archetype.groupId=archetypes +archetype.version=1.0 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/create-5/dummy.file ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/create-5/dummy.file b/archetype-testing/archetype-final/src/test/resources/projects/create-5/dummy.file new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/create-5/pom.xml.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/create-5/pom.xml.sample b/archetype-testing/archetype-final/src/test/resources/projects/create-5/pom.xml.sample new file mode 100644 index 0000000..7e2cc0e --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/create-5/pom.xml.sample @@ -0,0 +1,46 @@ +<?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.archetype.test</groupId> + <artifactId>test-create-5</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>Maven archetype Test create-5</name> + <packaging>pom</packaging> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-ear-plugin</artifactId> + <version>2.10</version> + </plugin> + </plugins> + </pluginManagement> + </build> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/.toexclude/dummy.file ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/.toexclude/dummy.file b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/.toexclude/dummy.file new file mode 100644 index 0000000..4c59ea2 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/.toexclude/dummy.file @@ -0,0 +1,34 @@ +<?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.archetype.test</groupId> + <artifactId>exclude-patterns</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>Maven archetype Test ExcludePatterns Property</name> + <packaging>pom</packaging> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/archetype.properties.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/archetype.properties.sample b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/archetype.properties.sample new file mode 100644 index 0000000..96e11f7 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/archetype.properties.sample @@ -0,0 +1,9 @@ +archetype.groupId=org.codehaus.mojo.archetypes +archetype.artifactId=maven-archetype-test +archetype.version=1.0 +groupId=org.apache.maven.archetype.test +artifactId=change-file-with-property +version=1.0-SNAPSHOT +package=archetype +someProperty=App +excludePatterns=.toexclude/** http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/nottoexclude/dummy.file ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/nottoexclude/dummy.file b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/nottoexclude/dummy.file new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/pom.xml.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/pom.xml.sample b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/pom.xml.sample new file mode 100644 index 0000000..4c59ea2 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/exclude-patterns/pom.xml.sample @@ -0,0 +1,34 @@ +<?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.archetype.test</groupId> + <artifactId>exclude-patterns</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>Maven archetype Test ExcludePatterns Property</name> + <packaging>pom</packaging> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/archetype.properties.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/archetype.properties.sample b/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/archetype.properties.sample new file mode 100644 index 0000000..e527799 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/archetype.properties.sample @@ -0,0 +1,8 @@ +archetype.groupId=org.codehaus.mojo.archetypes +archetype.artifactId=maven-archetype-test +archetype.version=1.0 +archetype.languages=csharp +groupId=org.apache.maven.archetype.test +artifactId=test +version=1.0-SNAPSHOT +package=archetype http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/pom.xml.sample ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/pom.xml.sample b/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/pom.xml.sample new file mode 100644 index 0000000..74e892e --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/pom.xml.sample @@ -0,0 +1,34 @@ +<?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.archetype.test</groupId> + <artifactId>include-file-with-no-extension</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>Maven archetype Test Include A File With No Extension</name> + <packaging>pom</packaging> + +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/src/main/csharp/filewithnoextension ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/src/main/csharp/filewithnoextension b/archetype-testing/archetype-final/src/test/resources/projects/include-file-with-no-extension/src/main/csharp/filewithnoextension new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/pom.xml new file mode 100644 index 0000000..0931a6a --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/pom.xml @@ -0,0 +1,38 @@ +<?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/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.test</groupId> + <artifactId>test-project-1</artifactId> + <packaging>jar</packaging> + <version>1.0</version> + <name>test-project-1</name> + <url>http://maven.apache.org</url> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/main/java/org/apache/maven/test/App.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/main/java/org/apache/maven/test/App.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/main/java/org/apache/maven/test/App.java new file mode 100644 index 0000000..89fd8b5 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/main/java/org/apache/maven/test/App.java @@ -0,0 +1,31 @@ +package org.apache.maven.test; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + //A #\{some} + //B #{some} + //C #{some other} + //D \#{some other} + //E #{} + //F {some} + //G ${someOtherProperty} + //H ${someValue} + /* + A #\{some} + B #{some} + C #{some other} + D \#{some other} + E #{} + F {some} + G ${someOtherProperty} + H ${someValue} + */ + } +} http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/test/java/org/apache/maven/test/AppTest.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/test/java/org/apache/maven/test/AppTest.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/test/java/org/apache/maven/test/AppTest.java new file mode 100644 index 0000000..b55bab0 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-1-project/src/test/java/org/apache/maven/test/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.test; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/pom.xml new file mode 100644 index 0000000..f657dae --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/pom.xml @@ -0,0 +1,38 @@ +<?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/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.test</groupId> + <artifactId>test-project-2</artifactId> + <packaging>jar</packaging> + <version>1.0</version> + <name>test-project-2</name> + <url>http://maven.apache.org</url> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/main/java/org/apache/maven/test/App.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/main/java/org/apache/maven/test/App.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/main/java/org/apache/maven/test/App.java new file mode 100644 index 0000000..efdf66c --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/main/java/org/apache/maven/test/App.java @@ -0,0 +1,13 @@ +package projects.roundtrip-1-project_1.src.main.java.org.apache.maven.test; + +/** + * Hello world! + * + */ +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/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/test/java/org/apache/maven/test/AppTest.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/test/java/org/apache/maven/test/AppTest.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/test/java/org/apache/maven/test/AppTest.java new file mode 100644 index 0000000..d41304a --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-2-project/src/test/java/org/apache/maven/test/AppTest.java @@ -0,0 +1,38 @@ +package projects.roundtrip-1-project_1.src.test.java.org.apache.maven.test; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/pom.xml new file mode 100644 index 0000000..1d83426 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/pom.xml @@ -0,0 +1,18 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>proficio</name> + <packaging>pom</packaging> + + <modules> + <module>proficio-api</module> + <module>proficio-cli</module> + <module>proficio-core</module> + <module>proficio-model</module> + <module>proficio-stores</module> + </modules> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/pom.xml new file mode 100644 index 0000000..e403475 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/pom.xml @@ -0,0 +1,21 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-api</artifactId> + + <name>proficio api</name> + + <dependencies> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-model</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/src/main/java/com/company/proficio/api/Api.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/src/main/java/com/company/proficio/api/Api.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-api/src/main/java/com/company/proficio/api/Api.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/pom.xml new file mode 100644 index 0000000..7207ee0 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/pom.xml @@ -0,0 +1,31 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-cli</artifactId> + + <name>proficio cli</name> + + <dependencies> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-core</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-store-memory</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-store-xstream</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/src/main/java/com/company/proficio/cli/Cli.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/src/main/java/com/company/proficio/cli/Cli.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-cli/src/main/java/com/company/proficio/cli/Cli.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/pom.xml new file mode 100644 index 0000000..889084f --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/pom.xml @@ -0,0 +1,21 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-core</artifactId> + + <name>proficio core</name> + + <dependencies> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-api</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/src/main/java/com/company/proficio/core/Core.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/src/main/java/com/company/proficio/core/Core.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-core/src/main/java/com/company/proficio/core/Core.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/pom.xml new file mode 100644 index 0000000..ac8f77b --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/pom.xml @@ -0,0 +1,13 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-model</artifactId> + + <name>proficio model</name> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/src/main/java/org/company/proficio/model/Model.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/src/main/java/org/company/proficio/model/Model.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-model/src/main/java/org/company/proficio/model/Model.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/pom.xml new file mode 100644 index 0000000..5973da6 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/pom.xml @@ -0,0 +1,19 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-stores</artifactId> + + <name>proficio stores</name> + <packaging>pom</packaging> + + <modules> + <module>proficio-store-memory</module> + <module>proficio-store-xstream</module> + </modules> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/pom.xml new file mode 100644 index 0000000..28610c3 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/pom.xml @@ -0,0 +1,21 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-stores</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-store-memory</artifactId> + + <name>proficio store memory</name> + + <dependencies> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-api</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/src/main/java/com/company/proficio/store/memory/Memory.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/src/main/java/com/company/proficio/store/memory/Memory.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-memory/src/main/java/com/company/proficio/store/memory/Memory.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.checkstyle ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.checkstyle b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.checkstyle new file mode 100644 index 0000000..407fd33 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.checkstyle @@ -0,0 +1 @@ +azae \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.classpath ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.classpath b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.classpath new file mode 100644 index 0000000..807b540 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.classpath @@ -0,0 +1,2 @@ +org/apache/maven/archetype/test +A String to search for \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/pom.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/pom.xml new file mode 100644 index 0000000..4f19eb1 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/pom.xml @@ -0,0 +1,21 @@ +<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/maven-v4_0_0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-stores</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>proficio-store-xstream</artifactId> + + <name>proficio store xstream</name> + + <dependencies> + <dependency> + <groupId>com.company.proficio</groupId> + <artifactId>proficio-api</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/src/main/java/com/company/proficio/store/xstream/XStream.java ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/src/main/java/com/company/proficio/store/xstream/XStream.java b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/src/main/java/com/company/proficio/store/xstream/XStream.java new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/src/site/site.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/src/site/site.xml b/archetype-testing/archetype-final/src/test/resources/projects/roundtrip-multi/src/site/site.xml new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/repositories/central/archetype-catalog.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/repositories/central/archetype-catalog.xml b/archetype-testing/archetype-final/src/test/resources/repositories/central/archetype-catalog.xml new file mode 100644 index 0000000..77ea726 --- /dev/null +++ b/archetype-testing/archetype-final/src/test/resources/repositories/central/archetype-catalog.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?><archetype-catalog> + <archetypes> + <archetype> + <groupId>archetypes</groupId> + <artifactId>fileset</artifactId> + <version>1.0</version> + <description>Fileset test archetype</description> + <repository>file://${basedir}/target/test-classes/repositories/central</repository> + </archetype> + </archetypes> +</archetype-catalog> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/repositories/central/dummy ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/repositories/central/dummy b/archetype-testing/archetype-final/src/test/resources/repositories/central/dummy new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/archetype-final/src/test/resources/repositories/local/dummy ---------------------------------------------------------------------- diff --git a/archetype-testing/archetype-final/src/test/resources/repositories/local/dummy b/archetype-testing/archetype-final/src/test/resources/repositories/local/dummy new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/archetype-testing/pom.xml ---------------------------------------------------------------------- diff --git a/archetype-testing/pom.xml b/archetype-testing/pom.xml index eef4347..f817a87 100644 --- a/archetype-testing/pom.xml +++ b/archetype-testing/pom.xml @@ -36,8 +36,9 @@ <description>Tools used to test Maven Archetype.</description> <modules> + <module>archetype-final</module> <module>archetype-proxy</module> <module>archetype-repository</module> </modules> -</project> \ No newline at end of file +</project> http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/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 0aa486a..0000000 --- a/maven-archetype-plugin/src/it/create-from-project/archetype.properties +++ /dev/null @@ -1 +0,0 @@ -AppName App \ No newline at end of file http://git-wip-us.apache.org/repos/asf/maven-archetype/blob/8e0fe06a/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 dac2cd9..0000000 --- a/maven-archetype-plugin/src/it/create-from-project/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -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/8e0fe06a/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/8e0fe06a/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/8e0fe06a/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;
