You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by oc...@apache.org on 2006/04/18 03:34:42 UTC

svn commit: r394819 - in /maven/plugins/trunk/maven-source-plugin/src/test/resources: ./ unit/ unit/custom-configuration/ unit/custom-configuration/src/ unit/custom-configuration/src/main/ unit/custom-configuration/src/main/java/ unit/custom-configurat...

Author: oching
Date: Mon Apr 17 18:34:39 2006
New Revision: 394819

URL: http://svn.apache.org/viewcvs?rev=394819&view=rev
Log:
PR: MSOURCES-3

Created test resources used for testing.

Added:
    maven/plugins/trunk/maven-source-plugin/src/test/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/custom-configuration-config.xml
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/App.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/custom-configuration.properties
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/AppTest.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/test-custom-configuration.properties
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/default-configuration-config.xml
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/App.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/default-configuration.properties
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/AppTest.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/test-default-configuration.properties
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/invalid-packaging-config.xml
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/App.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/invalid-packaging.properties
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/AppTest.java
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/
    maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/test-invalid-packaging.properties

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/custom-configuration-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/custom-configuration-config.xml?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/custom-configuration-config.xml (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/custom-configuration-config.xml Mon Apr 17 18:34:39 2006
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed 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>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <configuration>
+          <executedProject implementation="org.apache.maven.plugin.source.stubs.CustomConfigurationMavenProjectStub"/>
+          <project implementation="org.apache.maven.plugin.source.stubs.CustomConfigurationMavenProjectStub"/>
+          <outputDirectory>${basedir}/target/test/unit/custom-configuration/target</outputDirectory>
+          <finalName>custom-configuration</finalName>
+          <attach>false</attach>
+          <packaging>jar</packaging>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/App.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/App.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/App.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/java/custom/configuration/App.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,13 @@
+package custom.configuration;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/custom-configuration.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/custom-configuration.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/custom-configuration.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/main/resources/custom-configuration.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/AppTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/AppTest.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/AppTest.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/java/custom/configuration/AppTest.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,38 @@
+package custom.configuration;
+
+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 );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/test-custom-configuration.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/test-custom-configuration.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/test-custom-configuration.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/custom-configuration/src/test/resources/test-custom-configuration.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/default-configuration-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/default-configuration-config.xml?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/default-configuration-config.xml (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/default-configuration-config.xml Mon Apr 17 18:34:39 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed 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">
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <configuration>
+          <outputDirectory>${basedir}/target/test/unit/default-configuration/target</outputDirectory>
+          <finalName>default-configuration</finalName>
+          <executedProject implementation="org.apache.maven.plugin.source.stubs.DefaultConfigurationMavenProjectStub"/>
+          <project implementation="org.apache.maven.plugin.source.stubs.DefaultConfigurationMavenProjectStub"/>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/App.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/App.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/App.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/java/def/configuration/App.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,13 @@
+package def.configuration;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/default-configuration.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/default-configuration.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/default-configuration.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/main/resources/default-configuration.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/AppTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/AppTest.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/AppTest.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/java/def/configuration/AppTest.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,38 @@
+package def.configuration;
+
+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 );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/test-default-configuration.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/test-default-configuration.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/test-default-configuration.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/default-configuration/src/test/resources/test-default-configuration.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/invalid-packaging-config.xml
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/invalid-packaging-config.xml?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/invalid-packaging-config.xml (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/invalid-packaging-config.xml Mon Apr 17 18:34:39 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed 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>  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <configuration>
+          <executedProject implementation="org.apache.maven.plugin.source.stubs.InvalidPackagingMavenProjectStub"/>
+          <project implementation="org.apache.maven.plugin.source.stubs.InvalidPackagingMavenProjectStub"/>
+          <outputDirectory>${basedir}/target/test/unit/invalid-packaging/target</outputDirectory>
+          <finalName>invalid-packaging</finalName>
+          <packaging>pom</packaging>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/App.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/App.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/App.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/java/invalid/packaging/App.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,13 @@
+package invalid.packaging;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/invalid-packaging.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/invalid-packaging.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/invalid-packaging.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/main/resources/invalid-packaging.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/AppTest.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/AppTest.java?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/AppTest.java (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/java/invalid/packaging/AppTest.java Mon Apr 17 18:34:39 2006
@@ -0,0 +1,38 @@
+package invalid.packaging;
+
+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 );
+    }
+}

Added: maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/test-invalid-packaging.properties
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/test-invalid-packaging.properties?rev=394819&view=auto
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/test-invalid-packaging.properties (added)
+++ maven/plugins/trunk/maven-source-plugin/src/test/resources/unit/invalid-packaging/src/test/resources/test-invalid-packaging.properties Mon Apr 17 18:34:39 2006
@@ -0,0 +1,15 @@
+# -------------------------------------------------------------------
+# Copyright 2005 The Apache Software Foundation.
+#
+# Licensed 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.
+# -------------------------------------------------------------------