Index: src/test/java/org/apache/maven/plugin/jar/JarMojoIntegrationTest.java =================================================================== --- src/test/java/org/apache/maven/plugin/jar/JarMojoIntegrationTest.java (revision 584918) +++ src/test/java/org/apache/maven/plugin/jar/JarMojoIntegrationTest.java (working copy) @@ -21,6 +21,8 @@ /** * Test for {@link JarMojo} + * + * @author Johan Kindgren */ public class JarMojoIntegrationTest extends AbstractJarPluginTestCase @@ -34,54 +36,54 @@ * Tests the normal behavior of jar-plugin. * @throws Exception */ - public void testMJar_30_01() + public void testNormalJar() throws Exception { - doTestProject( "mjar-30-01", null, new String[] { "default-configuration.properties", + doTestProject( "normal-jar", null, new String[] { "default-configuration.properties", "foo/project001/App.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-01/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-01/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-normal-jar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-normal-jar/pom.xml" } ); } /** * Tests a includes. * @throws Exception */ - public void testMJar_30_02() + public void testIncludes() throws Exception { - doTestProject( "mjar-30-02", null, new String[] { "service/TestInterface.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-02/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-02/pom.xml" } ); + doTestProject( "includes-jar", null, new String[] { "service/TestInterface.class", "META-INF/MANIFEST.MF", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-includes-jar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-includes-jar/pom.xml" } ); } /** * Tests excludes. * @throws Exception */ - public void testMJar_30_03() + public void testExcludes() throws Exception { - doTestProject( "mjar-30-03", null, new String[] { "default-configuration.properties", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-30-03/pom.xml" } ); + doTestProject( "excludes-jar", null, new String[] { "default-configuration.properties", "META-INF/MANIFEST.MF", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-excludes-jar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-excludes-jar/pom.xml" } ); } public void testMultipleJars() throws Exception { - String projectName = "project-004"; + String projectName = "multiple-jars"; File baseDir = executeMojo( projectName, new Properties() ); assertJarArchive( baseDir, projectName, null ); assertArchiveContent( baseDir, projectName, null, new String[] { "service/TestInterface.class", "service/impl/TestImplementation.class", "TestCompile1.class", "notIncluded.xml", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-multiple-jars/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-multiple-jars/pom.xml" } ); assertJarArchive( baseDir, projectName, "service" ); assertArchiveContent( baseDir, projectName, "service", new String[] { "service/TestInterface.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-project-004/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-multiple-jars/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-multiple-jars/pom.xml" } ); } } Index: src/test/java/org/apache/maven/plugin/jar/TestJarMojoIntegrationTest.java =================================================================== --- src/test/java/org/apache/maven/plugin/jar/TestJarMojoIntegrationTest.java (revision 584918) +++ src/test/java/org/apache/maven/plugin/jar/TestJarMojoIntegrationTest.java (working copy) @@ -18,6 +18,7 @@ /** * Test for {@link TestJarMojo} + * @author Johan Kindgren */ public class TestJarMojoIntegrationTest extends AbstractJarPluginTestCase @@ -33,13 +34,13 @@ * * @throws Exception */ - public void testMJar_80_01() + public void testNormalTestJar() throws Exception { - doTestProject( "mjar-80-01", "tests", new String[] { "test-default-configuration.properties", + doTestProject( "normal-testjar", "tests", new String[] { "test-default-configuration.properties", "foo/project003/AppTest.class", "foo/project003/AppIntegrationTest.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-01/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-01/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-normal-testjar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-normal-testjar/pom.xml" } ); } /** @@ -47,13 +48,13 @@ * * @throws Exception */ - public void testMJar_80_02() + public void testIncludes() throws Exception { - doTestProject( "mjar-80-02", "tests", new String[] { "foo/project003/AppIntegrationTest.class", + doTestProject( "includes-testjar", "tests", new String[] { "foo/project003/AppIntegrationTest.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-02/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-02/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-includes-testjar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-includes-testjar/pom.xml" } ); } /** @@ -61,13 +62,13 @@ * * @throws Exception */ - public void testMJar_80_03() + public void testExcludes() throws Exception { - doTestProject( "mjar-80-03", "tests", new String[] { "test-default-configuration.properties", + doTestProject( "excludes-testjar", "tests", new String[] { "test-default-configuration.properties", "foo/project003/AppTest.class", "foo/project003/AppIntegrationTest.class", "META-INF/MANIFEST.MF", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-03/pom.properties", - "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-mjar-80-03/pom.xml" } ); + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-excludes-testjar/pom.properties", + "META-INF/maven/org.apache.maven.plugins/maven-jar-plugin-test-excludes-testjar/pom.xml" } ); } } Index: src/test/java/org/apache/maven/plugin/jar/AbstractJarPluginTestCase.java =================================================================== --- src/test/java/org/apache/maven/plugin/jar/AbstractJarPluginTestCase.java (revision 584918) +++ src/test/java/org/apache/maven/plugin/jar/AbstractJarPluginTestCase.java (working copy) @@ -40,6 +40,7 @@ /** * Base abstract test case for jar tests. + * @author Johan Kindgren */ public abstract class AbstractJarPluginTestCase extends PlexusTestCase Index: src/test/resources/it/includes-jar/pom.xml =================================================================== --- src/test/resources/it/includes-jar/pom.xml (revision 584918) +++ src/test/resources/it/includes-jar/pom.xml (working copy) @@ -22,7 +22,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-02 + maven-jar-plugin-test-includes-jar 99.0 Maven jar Index: src/test/resources/it/includes-testjar/pom.xml =================================================================== --- src/test/resources/it/includes-testjar/pom.xml (revision 584918) +++ src/test/resources/it/includes-testjar/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-02 + maven-jar-plugin-test-includes-testjar 99.0 Maven jar Index: src/test/resources/it/normal-jar/pom.xml =================================================================== --- src/test/resources/it/normal-jar/pom.xml (revision 584918) +++ src/test/resources/it/normal-jar/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-01 + maven-jar-plugin-test-normal-jar 99.0 Maven jar Index: src/test/resources/it/normal-testjar/pom.xml =================================================================== --- src/test/resources/it/normal-testjar/pom.xml (revision 584918) +++ src/test/resources/it/normal-testjar/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-01 + maven-jar-plugin-test-normal-testjar 99.0 Maven jar Index: src/test/resources/it/excludes-jar/pom.xml =================================================================== --- src/test/resources/it/excludes-jar/pom.xml (revision 584918) +++ src/test/resources/it/excludes-jar/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-03 + maven-jar-plugin-test-excludes-jar 99.0 Maven jar Index: src/test/resources/it/excludes-testjar/pom.xml =================================================================== --- src/test/resources/it/excludes-testjar/pom.xml (revision 584918) +++ src/test/resources/it/excludes-testjar/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-03 + maven-jar-plugin-test-excludes-testjar 99.0 Maven jar Index: src/test/resources/it/mjar-30-01/src/test/java/foo/project001/AppTest.java =================================================================== --- src/test/resources/it/mjar-30-01/src/test/java/foo/project001/AppTest.java (revision 584918) +++ src/test/resources/it/mjar-30-01/src/test/java/foo/project001/AppTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project001; - -/* - * 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 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 ); - } -} Index: src/test/resources/it/mjar-30-01/src/test/resources/test-default-configuration.properties =================================================================== --- src/test/resources/it/mjar-30-01/src/test/resources/test-default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-30-01/src/test/resources/test-default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-30-01/src/main/java/foo/project001/App.java =================================================================== --- src/test/resources/it/mjar-30-01/src/main/java/foo/project001/App.java (revision 584918) +++ src/test/resources/it/mjar-30-01/src/main/java/foo/project001/App.java (working copy) @@ -1,32 +0,0 @@ -package foo.project001; - -/* - * 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!" ); - } -} Index: src/test/resources/it/mjar-30-01/src/main/resources/default-configuration.properties =================================================================== --- src/test/resources/it/mjar-30-01/src/main/resources/default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-30-01/src/main/resources/default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-30-01/pom.xml =================================================================== --- src/test/resources/it/mjar-30-01/pom.xml (revision 584918) +++ src/test/resources/it/mjar-30-01/pom.xml (working copy) @@ -1,48 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-01 - 99.0 - Maven - jar - http://maven.apache.org - - - junit - junit - 3.8.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - - Index: src/test/resources/it/project-004/src/main/java/service/TestInterface.java =================================================================== --- src/test/resources/it/project-004/src/main/java/service/TestInterface.java (revision 584918) +++ src/test/resources/it/project-004/src/main/java/service/TestInterface.java (working copy) @@ -1,23 +0,0 @@ -package service; -/* - * 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. - */ - -public interface TestInterface { - -} Index: src/test/resources/it/project-004/src/main/java/service/impl/TestImplementation.java =================================================================== --- src/test/resources/it/project-004/src/main/java/service/impl/TestImplementation.java (revision 584918) +++ src/test/resources/it/project-004/src/main/java/service/impl/TestImplementation.java (working copy) @@ -1,23 +0,0 @@ -package service.impl; -/* - * 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. - */ - -public class TestImplementation { - -} Index: src/test/resources/it/project-004/src/main/java/TestCompile1.java =================================================================== --- src/test/resources/it/project-004/src/main/java/TestCompile1.java (revision 584918) +++ src/test/resources/it/project-004/src/main/java/TestCompile1.java (working copy) @@ -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. - */ - -public class TestCompile1 -{ - - public TestCompile1() - { - - System.out.println("Woo Hoo!"); - } - -} \ No newline at end of file Index: src/test/resources/it/project-004/src/main/resources/notIncluded.xml =================================================================== --- src/test/resources/it/project-004/src/main/resources/notIncluded.xml (revision 584918) +++ src/test/resources/it/project-004/src/main/resources/notIncluded.xml (working copy) @@ -1,22 +0,0 @@ - - - \ No newline at end of file Index: src/test/resources/it/project-004/pom.xml =================================================================== --- src/test/resources/it/project-004/pom.xml (revision 584918) +++ src/test/resources/it/project-004/pom.xml (working copy) @@ -1,54 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-project-004 - 99.0 - Maven - jar - http://maven.apache.org - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - package - - jar - - - service - - **/service/* - - - - - - - - \ No newline at end of file Index: src/test/resources/it/mjar-30-02/src/main/java/service/TestInterface.java =================================================================== --- src/test/resources/it/mjar-30-02/src/main/java/service/TestInterface.java (revision 584918) +++ src/test/resources/it/mjar-30-02/src/main/java/service/TestInterface.java (working copy) @@ -1,31 +0,0 @@ -/** - * - */ -package service; - -/* - * 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. - */ - -/** - * @author Johan Kindgren - * - */ -public interface TestInterface { - -} Index: src/test/resources/it/mjar-30-02/src/main/java/service/impl/TestImplementation.java =================================================================== --- src/test/resources/it/mjar-30-02/src/main/java/service/impl/TestImplementation.java (revision 584918) +++ src/test/resources/it/mjar-30-02/src/main/java/service/impl/TestImplementation.java (working copy) @@ -1,28 +0,0 @@ -package service.impl; - -/* - * 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. - */ - -/** - * @author Johan Kindgren - * - */ -public class TestImplementation { - -} Index: src/test/resources/it/mjar-30-02/src/main/java/TestCompile1.java =================================================================== --- src/test/resources/it/mjar-30-02/src/main/java/TestCompile1.java (revision 584918) +++ src/test/resources/it/mjar-30-02/src/main/java/TestCompile1.java (working copy) @@ -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. - */ - -public class TestCompile1 -{ - - public TestCompile1() - { - - System.out.println("Woo Hoo!"); - } - -} \ No newline at end of file Index: src/test/resources/it/mjar-30-02/src/main/resources/notIncluded.xml =================================================================== --- src/test/resources/it/mjar-30-02/src/main/resources/notIncluded.xml (revision 584918) +++ src/test/resources/it/mjar-30-02/src/main/resources/notIncluded.xml (working copy) @@ -1,22 +0,0 @@ - - - \ No newline at end of file Index: src/test/resources/it/mjar-30-02/pom.xml =================================================================== --- src/test/resources/it/mjar-30-02/pom.xml (revision 584918) +++ src/test/resources/it/mjar-30-02/pom.xml (working copy) @@ -1,44 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-02 - 99.0 - Maven - jar - http://maven.apache.org - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - **/service/* - - - - - - \ No newline at end of file Index: src/test/resources/it/multiple-jars/pom.xml =================================================================== --- src/test/resources/it/multiple-jars/pom.xml (revision 584918) +++ src/test/resources/it/multiple-jars/pom.xml (working copy) @@ -23,7 +23,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.apache.maven.plugins - maven-jar-plugin-test-project-004 + maven-jar-plugin-test-multiple-jars 99.0 Maven jar Index: src/test/resources/it/mjar-30-03/src/test/java/foo/project003/AppTest.java =================================================================== --- src/test/resources/it/mjar-30-03/src/test/java/foo/project003/AppTest.java (revision 584918) +++ src/test/resources/it/mjar-30-03/src/test/java/foo/project003/AppTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 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 ); - } -} Index: src/test/resources/it/mjar-30-03/src/test/resources/test-default-configuration.properties =================================================================== --- src/test/resources/it/mjar-30-03/src/test/resources/test-default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-30-03/src/test/resources/test-default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-30-03/src/test/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-30-03/src/test/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-30-03/src/test/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-30-03/src/main/java/foo/project003/App.java =================================================================== --- src/test/resources/it/mjar-30-03/src/main/java/foo/project003/App.java (revision 584918) +++ src/test/resources/it/mjar-30-03/src/main/java/foo/project003/App.java (working copy) @@ -1,32 +0,0 @@ -package foo.project003; - -/* - * 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!" ); - } -} Index: src/test/resources/it/mjar-30-03/src/main/resources/default-configuration.properties =================================================================== --- src/test/resources/it/mjar-30-03/src/main/resources/default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-30-03/src/main/resources/default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-30-03/src/main/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-30-03/src/main/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-30-03/src/main/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-30-03/pom.xml =================================================================== --- src/test/resources/it/mjar-30-03/pom.xml (revision 584918) +++ src/test/resources/it/mjar-30-03/pom.xml (working copy) @@ -1,53 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-30-03 - 99.0 - Maven - jar - - - junit - junit - 3.8.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - **/*.class - **/*.txt - - - - - - Index: src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppTest.java =================================================================== --- src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppTest.java (revision 584918) +++ src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 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 ); - } -} Index: src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppIntegrationTest.java =================================================================== --- src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppIntegrationTest.java (revision 584918) +++ src/test/resources/it/mjar-80-01/src/test/java/foo/project003/AppIntegrationTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppIntegrationTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppIntegrationTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppIntegrationTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} Index: src/test/resources/it/mjar-80-01/src/test/resources/test-default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-01/src/test/resources/test-default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-01/src/test/resources/test-default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-01/src/main/java/foo/project003/App.java =================================================================== --- src/test/resources/it/mjar-80-01/src/main/java/foo/project003/App.java (revision 584918) +++ src/test/resources/it/mjar-80-01/src/main/java/foo/project003/App.java (working copy) @@ -1,32 +0,0 @@ -package foo.project003; - -/* - * 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!" ); - } -} Index: src/test/resources/it/mjar-80-01/src/main/resources/default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-01/src/main/resources/default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-01/src/main/resources/default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-01/src/main/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-80-01/src/main/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-80-01/src/main/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-80-01/pom.xml =================================================================== --- src/test/resources/it/mjar-80-01/pom.xml (revision 584918) +++ src/test/resources/it/mjar-80-01/pom.xml (working copy) @@ -1,55 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-01 - 99.0 - Maven - jar - - - junit - junit - 3.8.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - - test-jar - - package - - - - - - Index: src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppTest.java =================================================================== --- src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppTest.java (revision 584918) +++ src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 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 ); - } -} Index: src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppIntegrationTest.java =================================================================== --- src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppIntegrationTest.java (revision 584918) +++ src/test/resources/it/mjar-80-02/src/test/java/foo/project003/AppIntegrationTest.java (working copy) @@ -1,47 +0,0 @@ -package foo.project003; - -/* - * 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 junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppIntegrationTest - extends TestCase -{ - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppIntegrationTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} Index: src/test/resources/it/mjar-80-02/src/test/resources/test-default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-02/src/test/resources/test-default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-02/src/test/resources/test-default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-02/src/main/java/foo/project003/App.java =================================================================== --- src/test/resources/it/mjar-80-02/src/main/java/foo/project003/App.java (revision 584918) +++ src/test/resources/it/mjar-80-02/src/main/java/foo/project003/App.java (working copy) @@ -1,32 +0,0 @@ -package foo.project003; - -/* - * 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!" ); - } -} Index: src/test/resources/it/mjar-80-02/src/main/resources/default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-02/src/main/resources/default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-02/src/main/resources/default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-02/src/main/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-80-02/src/main/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-80-02/src/main/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-80-02/pom.xml =================================================================== --- src/test/resources/it/mjar-80-02/pom.xml (revision 584918) +++ src/test/resources/it/mjar-80-02/pom.xml (working copy) @@ -1,61 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-02 - 99.0 - Maven - jar - - - junit - junit - 3.8.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - - test-jar - - package - - - **/*IntegrationTest.class - - - - - - - - - Index: src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppTest.java =================================================================== --- src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppTest.java (revision 584918) +++ src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 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 ); - } -} Index: src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppIntegrationTest.java =================================================================== --- src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppIntegrationTest.java (revision 584918) +++ src/test/resources/it/mjar-80-03/src/test/java/foo/project003/AppIntegrationTest.java (working copy) @@ -1,57 +0,0 @@ -package foo.project003; - -/* - * 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 junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppIntegrationTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppIntegrationTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppIntegrationTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} Index: src/test/resources/it/mjar-80-03/src/test/resources/test-default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-03/src/test/resources/test-default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-03/src/test/resources/test-default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-03/src/test/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-80-03/src/test/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-80-03/src/test/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-80-03/src/main/java/foo/project003/App.java =================================================================== --- src/test/resources/it/mjar-80-03/src/main/java/foo/project003/App.java (revision 584918) +++ src/test/resources/it/mjar-80-03/src/main/java/foo/project003/App.java (working copy) @@ -1,32 +0,0 @@ -package foo.project003; - -/* - * 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!" ); - } -} Index: src/test/resources/it/mjar-80-03/src/main/resources/default-configuration.properties =================================================================== --- src/test/resources/it/mjar-80-03/src/main/resources/default-configuration.properties (revision 584918) +++ src/test/resources/it/mjar-80-03/src/main/resources/default-configuration.properties (working copy) @@ -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. Index: src/test/resources/it/mjar-80-03/src/main/resources/excluded-file.txt =================================================================== --- src/test/resources/it/mjar-80-03/src/main/resources/excluded-file.txt (revision 584918) +++ src/test/resources/it/mjar-80-03/src/main/resources/excluded-file.txt (working copy) @@ -1 +0,0 @@ -This file is excluded by the custom configuration, so shouldn't end up in the end product \ No newline at end of file Index: src/test/resources/it/mjar-80-03/pom.xml =================================================================== --- src/test/resources/it/mjar-80-03/pom.xml (revision 584918) +++ src/test/resources/it/mjar-80-03/pom.xml (working copy) @@ -1,61 +0,0 @@ - - - - - 4.0.0 - org.apache.maven.plugins - maven-jar-plugin-test-mjar-80-03 - 99.0 - Maven - jar - - - junit - junit - 3.8.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2-it-SNAPSHOT - - - - test-jar - - package - - - **/*.txt - - - - - - - - -