Author: epunzalan
Date: Mon Apr 17 23:51:44 2006
New Revision: 394862
URL: http://svn.apache.org/viewcvs?rev=394862&view=rev
Log:
PR: MPIR-43
Added default plugin test harness classes and stubs. Tests are currently
excluded due to project-info-reports not generating any files when issued on
the CLI except when doing "mvn site"
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/CimReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java
(contents, props changed)
- copied, changed from r394599,
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/IssueTrackingReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/LicenseReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/MailingListsReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectIndexPageReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java
(contents, props changed)
- copied, changed from r394599,
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/TeamListReportTest.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/cim-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependencies-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependency-convergence-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/index-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/issue-tracking-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/license-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/mailing-list-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/project-team-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/scm-plugin-config.xml
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/summary-plugin-config.xml
Modified:
maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml?rev=394862&r1=394861&r2=394862&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/pom.xml Mon Apr 17
23:51:44 2006
@@ -30,6 +30,7 @@
<excludes>
<exclude>**/Abstract*Test.java</exclude>
<exclude>**/Abstract*TestCase.java</exclude>
+ <exclude>**/*HttpUnitTest.java</exclude>
<exclude>**/*ReportTest.java</exclude>
</excludes>
</configuration>
@@ -40,7 +41,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>2.0</version>
+ <version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
@@ -48,12 +49,6 @@
<version>1.0-beta-2</version>
</dependency>
<dependency>
- <groupId>httpunit</groupId>
- <artifactId>httpunit</artifactId>
- <version>1.6</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.2.0</version>
@@ -66,12 +61,18 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
- <version>2.0</version>
+ <version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.0-beta-2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>plexus</groupId>
@@ -106,7 +107,19 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
- <version>2.0</version>
+ <version>2.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>httpunit</groupId>
+ <artifactId>httpunit</artifactId>
+ <version>1.6</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-testing-harness</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>test</scope>
</dependency>
</dependencies>
</project>
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractProjectInfoTestCase.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,54 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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.
+ */
+
+import org.apache.maven.plugin.Mojo;
+import org.apache.maven.plugin.testing.AbstractMojoTestCase;
+import org.apache.maven.reporting.MavenReport;
+
+import java.io.File;
+
+/**
+ * @author Edwin Punzalan
+ */
+public class AbstractProjectInfoTestCase
+ extends AbstractMojoTestCase
+{
+ protected File generateReport( String goal, String pluginXml )
+ throws Exception
+ {
+ File pluginXmlFile = new File( getBasedir(),
"src/test/plugin-configs/" + pluginXml );
+
+ Mojo mojo = lookupMojo( goal, pluginXmlFile );
+
+ assertNotNull( "Mojo found.", mojo );
+
+ mojo.execute();
+
+ MavenReport reportMojo = (MavenReport) mojo;
+
+ File outputDir = reportMojo.getReportOutputDirectory();
+
+ String filename = reportMojo.getOutputName() + ".html";
+
+ File outputHtml = new File( outputDir, filename );
+
+// assertTrue( "Test html generated", outputHtml.exists() );
+
+ return outputHtml;
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/CimReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/CimReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/CimReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/CimReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class CimReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "cim", "cim-plugin-config.xml" );
+ }
+}
Copied:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java
(from r394599,
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java)
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java?p2=maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java&p1=maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java&r1=394599&r2=394862&rev=394862&view=diff
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
(original)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java
Mon Apr 17 23:51:44 2006
@@ -31,7 +31,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Vincent Siveton</a>
* @version $Id $
*/
-public class DependenciesReportTest
+public class DependenciesReportHttpUnitTest
extends AbstractHttpUnitReportTestCase
{
private static final String TEST1 = "project-info-reports-plugin-test1";
Propchange:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportHttpUnitTest.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class DependenciesReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "dependencies", "dependencies-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/DependencyConvergenceReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class DependencyConvergenceReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "dependency-convergence",
"dependency-convergence-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/IssueTrackingReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/IssueTrackingReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/IssueTrackingReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/IssueTrackingReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class IssueTrackingReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "issue-tracking", "issue-tracking-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/LicenseReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/LicenseReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/LicenseReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/LicenseReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class LicenseReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "license", "license-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/MailingListsReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/MailingListsReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/MailingListsReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/MailingListsReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class MailingListsReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "mailing-list", "mailing-list-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectIndexPageReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectIndexPageReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectIndexPageReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectIndexPageReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class ProjectIndexPageReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "index", "index-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ProjectSummaryReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class ProjectSummaryReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "summary", "summary-plugin-config.xml" );
+ }
+}
Copied:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java
(from r394599,
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java)
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java?p2=maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java&p1=maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java&r1=394599&r2=394862&rev=394862&view=diff
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
(original)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java
Mon Apr 17 23:51:44 2006
@@ -31,7 +31,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Vincent Siveton</a>
* @version $Id $
*/
-public class ScmReportTest
+public class ScmReportHttpUnitTest
extends AbstractHttpUnitReportTestCase
{
private static final String CLEARCASE_PROJECT =
"project-info-reports-plugin-scm-ClearCase";
Propchange:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportHttpUnitTest.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/ScmReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class ScmReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "scm", "scm-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/TeamListReportTest.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/TeamListReportTest.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/TeamListReportTest.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/TeamListReportTest.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+package org.apache.maven.report.projectinfo;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class TeamListReportTest
+ extends AbstractProjectInfoTestCase
+{
+ public void testReport()
+ throws Exception
+ {
+ generateReport( "project-team", "project-team-plugin-config.xml" );
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,48 @@
+package org.apache.maven.report.projectinfo.stubs;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+import org.apache.maven.model.Model;
+import org.apache.maven.model.CiManagement;
+import org.apache.maven.model.Notifier;
+
+import java.util.Collections;
+
+/**
+ * @author Edwin Punzalan
+ */
+public class ProjectInfoProjectStub
+ extends MavenProjectStub
+{
+ public Model getModel()
+ {
+ Model model = new Model();
+
+ CiManagement ciMngt = new CiManagement();
+ ciMngt.setSystem( "continuum" );
+ ciMngt.setUrl( "http://continumm" );
+ Notifier notifier = new Notifier();
+ notifier.setType( "notifier-type" );
+ notifier.setAddress( "[EMAIL PROTECTED]");
+ notifier.setConfiguration( System.getProperties() );
+ ciMngt.setNotifiers( Collections.singletonList( notifier ) );
+ model.setCiManagement( ciMngt );
+
+ return model;
+ }
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/stubs/SettingsStub.java
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,27 @@
+package org.apache.maven.report.projectinfo.stubs;
+
+import org.apache.maven.settings.Settings;
+
+/*
+ * Copyright 2004-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-20
+ *
+ * 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 Edwin Punzalan
+ */
+public class SettingsStub
+ extends Settings
+{
+}
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/cim-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/cim-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/cim-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/cim-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,13 @@
+<project>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/cim</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependencies-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependencies-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependencies-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependencies-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/dependencies</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependency-convergence-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependency-convergence-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependency-convergence-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/dependency-convergence-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,15 @@
+<project>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+
<outputDirectory>target/test-harness/dependency-convergence</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ <reactorProjects>
+ </reactorProjects>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/index-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/index-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/index-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/index-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/index</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/issue-tracking-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/issue-tracking-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/issue-tracking-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/issue-tracking-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/issue-tracking</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/license-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/license-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/license-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/license-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,31 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/license</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ <settings
implementation="org.apache.maven.report.projectinfo.stubs.SettingsStub"/>
+ <offline>false</offline>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/mailing-list-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/mailing-list-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/mailing-list-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/mailing-list-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/mailing-list</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/project-team-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/project-team-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/project-team-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/project-team-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/project-team</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/scm-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/scm-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/scm-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/scm-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,30 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/scm</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ <checkoutDirectoryName>test-artifactId</checkoutDirectoryName>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/summary-plugin-config.xml
URL:
http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/summary-plugin-config.xml?rev=394862&view=auto
==============================================================================
---
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/summary-plugin-config.xml
(added)
+++
maven/plugins/trunk/maven-project-info-reports-plugin/src/test/plugin-configs/summary-plugin-config.xml
Mon Apr 17 23:51:44 2006
@@ -0,0 +1,29 @@
+<!--
+ ~ Copyright 2004-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-20
+ ~
+ ~ 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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <configuration>
+ <outputDirectory>target/test-harness/summary</outputDirectory>
+ <project
implementation="org.apache.maven.report.projectinfo.stubs.ProjectInfoProjectStub"/>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file