PR : MPLINKCHECK-27

Submitted by : Dennis Lundberg
Maven 1.0.x incompatibility problem : The report is incomplete if one or more files has errors in them
The test added doesn't yet fails if there's a problem
This test isn't actually executed in maven 1.1 because of MAVEN-1638

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@409311 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-05-25 06:30:57 +00:00
1 parent 2477a44749
commit 469c7467a3
9 files changed
+156 -14

No files matched your search

@@ -2,7 +2,7 @@
<!--
/*
* Copyright 2004 The Apache Software Foundation.
* Copyright 2001-2006 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.
@@ -28,7 +28,7 @@
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<inceptionYear>2004</inceptionYear>
<inceptionYear>2006</inceptionYear>
<package>org.apache.maven</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>Test for Maven Linkcheck plugin</description>
@@ -36,16 +36,17 @@
<url>http://maven.apache.org/maven-1.x/plugins/linkcheck/</url>
<siteDirectory>/www/maven.apache.org/maven-1.x/plugins/linkcheck/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/linkcheck/</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/linkcheck/</url>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/linkcheck/</connection>
<url>http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/linkcheck//</url>
</repository>
<developers>
<developer>
<name>Carlos Sanchez</name>
<id>carlos</id>
<email>carlos@apache.org</email>
<name>Arnaud Heritier</name>
<id>aheritier</id>
<email>aheritier@apache.org</email>
<organization>Octo Technology</organization>
<roles>
<role>Java Developer</role>
<role>Developer</role>
</roles>
</developer>
</developers>
@@ -53,7 +54,4 @@
</dependencies>
<build>
</build>
<reports>
<report>maven-linkcheck-plugin</report>
</reports>
</project>
+28
View File
@@ -0,0 +1,28 @@
<!--
/*
* Copyright 2001-2006 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:maven="jelly:maven">
<goal name="testPlugin">
<maven:reactor basedir="${basedir}"
includes="*/project.xml"
goals="testPlugin"
banner="Test"
ignoreFailures="false"/>
</goal>
</project>
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 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>
<pomVersion>3</pomVersion>
<id>test-maven-javadoc-plugin</id>
<name>Tests project for Maven JavaDoc Plugin</name>
<groupId>maven</groupId>
<currentVersion>1.0-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
<logo>http://maven.apache.org/images/apache-maven-project.png</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>Tests for Maven JavaDoc plugin</description>
<shortDescription>Tests for Maven JavaDoc plugin</shortDescription>
<url>http://maven.apache.org/maven-1.x/plugins/javadoc/index.html</url>
<siteDirectory>/www/maven.apache.org/maven-1.x/plugins/javadoc/</siteDirectory>
<repository>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/javadoc/</connection>
<url>http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/javadoc/</url>
</repository>
<developers>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>dion@multitask.com.au</email>
<organization>Multitask Consulting</organization>
<roles>
<role>Documentation</role>
</roles>
</developer>
<developer>
<name>Arnaud Heritier</name>
<id>aheritier</id>
<email>aheritier@apache.org</email>
<organization>Octo Technology</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>
<build/>
</project>
@@ -0,0 +1,27 @@
<!--
/*
* Copyright 2004 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:util="jelly:util" xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="test-linkcheck">
</goal>
<goal name="test-linkcheck" prereqs="clean">
<attainGoal name="site"/>
</goal>
</project>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<pomVersion>3</pomVersion>
<name>MPLINKCHECK-27</name>
<groupId>org.apache.maven.plugins.linkcheck</groupId>
<artifactId>MPLINKCHECK-27</artifactId>
<currentVersion>1.0-SNAPSHOT</currentVersion>
<description>Maven 1.0.x : The report is incomplete if one or more files has errors in them.</description>
<reports>
<report>maven-linkcheck-plugin</report>
</reports>
</project>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="MPLINKCHECK-27">
<title>MPLINKCHECK-27</title>
<body>
<menu name="Menu">
<item name="Broken link" href="/broken_link.html" />
</menu>
</body>
</project>