diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/pom.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/pom.xml new file mode 100644 index 0000000000..87b7faf061 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/pom.xml @@ -0,0 +1,59 @@ + + + + + + 4.0.0 + org.apache.maven.plugin.site.test1 + site-plugin-test1 + jar + 1.0-SNAPSHOT + 2005 + Maven Site Plugin Test1 + Test report integration. + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + vsiveton + Vincent Siveton + vsiveton@apache.org + Apache Software Foundation + + Java Developer + + -5 + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + + + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/main/java/org/apache/maven/plugin/site/test1/App.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/main/java/org/apache/maven/plugin/site/test1/App.java new file mode 100644 index 0000000000..e332291bb8 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/main/java/org/apache/maven/plugin/site/test1/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.plugin.site.test1; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/apt/test.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/apt/test.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/apt/test.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/site.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/site.xml new file mode 100644 index 0000000000..30b6570049 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/site/site.xml @@ -0,0 +1,40 @@ + + + + + + + Maven Site + http://maven.apache.org/images/apache-maven-project.png + http://maven.apache.org/ + + + http://maven.apache.org/images/maven-small.gif + + + + + + + + + + ${reports} + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/test/java/org/apache/maven/plugin/site/test1/AppTest.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/test/java/org/apache/maven/plugin/site/test1/AppTest.java new file mode 100644 index 0000000000..1dbc0f4ea3 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test1/src/test/java/org/apache/maven/plugin/site/test1/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.plugin.site.test1; + +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 ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/pom.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/pom.xml new file mode 100644 index 0000000000..58968744eb --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/pom.xml @@ -0,0 +1,51 @@ + + + + + + 4.0.0 + org.apache.maven.plugin.site.test2 + site-plugin-test2 + jar + 1.0-SNAPSHOT + 2005 + Maven Site Plugin Test2 + Take care of the description in the generated index file. + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + vsiveton + Vincent Siveton + vsiveton@apache.org + Apache Software Foundation + + Java Developer + + -5 + + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/main/java/org/apache/maven/plugin/site/test2/App.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/main/java/org/apache/maven/plugin/site/test2/App.java new file mode 100644 index 0000000000..827ca1ab78 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/main/java/org/apache/maven/plugin/site/test2/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.plugin.site.test2; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/apt/test.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/apt/test.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/apt/test.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/site.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/site.xml new file mode 100644 index 0000000000..30b6570049 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/site/site.xml @@ -0,0 +1,40 @@ + + + + + + + Maven Site + http://maven.apache.org/images/apache-maven-project.png + http://maven.apache.org/ + + + http://maven.apache.org/images/maven-small.gif + + + + + + + + + + ${reports} + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/test/java/org/apache/maven/plugin/site/test2/AppTest.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/test/java/org/apache/maven/plugin/site/test2/AppTest.java new file mode 100644 index 0000000000..8df4597070 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test2/src/test/java/org/apache/maven/plugin/site/test2/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.plugin.site.test2; + +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 ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/pom.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/pom.xml new file mode 100644 index 0000000000..8d478471b0 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/pom.xml @@ -0,0 +1,51 @@ + + + + + + 4.0.0 + org.apache.maven.plugin.site.test3 + site-plugin-test3 + jar + 1.0-SNAPSHOT + 2005 + Maven Site Plugin Test3 + + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + vsiveton + Vincent Siveton + vsiveton@apache.org + Apache Software Foundation + + Java Developer + + -5 + + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/main/java/org/apache/maven/plugin/site/test3/App.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/main/java/org/apache/maven/plugin/site/test3/App.java new file mode 100644 index 0000000000..269ac09add --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/main/java/org/apache/maven/plugin/site/test3/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.plugin.site.test3; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/apt/test.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/apt/test.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/apt/test.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/site.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/site.xml new file mode 100644 index 0000000000..30b6570049 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/site/site.xml @@ -0,0 +1,40 @@ + + + + + + + Maven Site + http://maven.apache.org/images/apache-maven-project.png + http://maven.apache.org/ + + + http://maven.apache.org/images/maven-small.gif + + + + + + + + + + ${reports} + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/test/java/org/apache/maven/plugin/site/test3/AppTest.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/test/java/org/apache/maven/plugin/site/test3/AppTest.java new file mode 100644 index 0000000000..0eec355f35 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test3/src/test/java/org/apache/maven/plugin/site/test3/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.plugin.site.test3; + +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 ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/pom.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/pom.xml new file mode 100644 index 0000000000..e21ef62078 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/pom.xml @@ -0,0 +1,51 @@ + + + + + + 4.0.0 + org.apache.maven.plugin.site.test4 + site-plugin-test4 + jar + 1.0-SNAPSHOT + 2005 + Maven Site Plugin Test3 + An index already exists. --> + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + vsiveton + Vincent Siveton + vsiveton@apache.org + Apache Software Foundation + + Java Developer + + -5 + + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/main/java/org/apache/maven/plugin/site/test4/App.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/main/java/org/apache/maven/plugin/site/test4/App.java new file mode 100644 index 0000000000..3369c6f8e4 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/main/java/org/apache/maven/plugin/site/test4/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.plugin.site.test4; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/index.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/index.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/index.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/test.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/test.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/apt/test.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/site.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/site.xml new file mode 100644 index 0000000000..30b6570049 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/site/site.xml @@ -0,0 +1,40 @@ + + + + + + + Maven Site + http://maven.apache.org/images/apache-maven-project.png + http://maven.apache.org/ + + + http://maven.apache.org/images/maven-small.gif + + + + + + + + + + ${reports} + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/test/java/org/apache/maven/plugin/site/test4/AppTest.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/test/java/org/apache/maven/plugin/site/test4/AppTest.java new file mode 100644 index 0000000000..ae0373508d --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test4/src/test/java/org/apache/maven/plugin/site/test4/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.plugin.site.test4; + +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 ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/pom.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/pom.xml new file mode 100644 index 0000000000..5b6a29a673 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/pom.xml @@ -0,0 +1,51 @@ + + + + + + 4.0.0 + org.apache.maven.plugin.site.test5 + site-plugin-test5 + jar + 1.0-SNAPSHOT + 2005 + Maven Site Plugin Test5 + Two indexes exists. --> + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + + vsiveton + Vincent Siveton + vsiveton@apache.org + Apache Software Foundation + + Java Developer + + -5 + + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/main/java/org/apache/maven/plugin/site/test5/App.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/main/java/org/apache/maven/plugin/site/test5/App.java new file mode 100644 index 0000000000..28f4886f65 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/main/java/org/apache/maven/plugin/site/test5/App.java @@ -0,0 +1,13 @@ +package org.apache.maven.plugin.site.test5; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/index.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/index.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/index.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/test.apt b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/test.apt new file mode 100644 index 0000000000..4e35a8f02f --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/apt/test.apt @@ -0,0 +1,12 @@ + ------ + Configuring Site Plugin + ------ + Vincent Siveton + ------ + 13 July 2005 + ------ + + +Site Plugin Test + +Todo \ No newline at end of file diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/site.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/site.xml new file mode 100644 index 0000000000..30b6570049 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/site.xml @@ -0,0 +1,40 @@ + + + + + + + Maven Site + http://maven.apache.org/images/apache-maven-project.png + http://maven.apache.org/ + + + http://maven.apache.org/images/maven-small.gif + + + + + + + + + + ${reports} + + diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/xdoc/index.xml b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/xdoc/index.xml new file mode 100644 index 0000000000..4a5c870663 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/site/xdoc/index.xml @@ -0,0 +1,34 @@ + + + + + + + Welcome + Vincent Siveton + + +
+

+ Test the Maven Site Plugin. +

+
+ +
+ diff --git a/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/test/java/org/apache/maven/plugin/site/test5/AppTest.java b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/test/java/org/apache/maven/plugin/site/test5/AppTest.java new file mode 100644 index 0000000000..8262c19860 --- /dev/null +++ b/maven-plugins/maven-site-plugin/src/test/projects/site-plugin-test5/src/test/java/org/apache/maven/plugin/site/test5/AppTest.java @@ -0,0 +1,38 @@ +package org.apache.maven.plugin.site.test5; + +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 ); + } +}