maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject svn commit: r409311 - in /maven/maven-1/plugins/trunk/linkcheck: ./ src/plugin-resources/ src/plugin-test/ src/plugin-test/defaultTest/ src/plugin-test/testEmptyReportWithMaven1.0/ src/plugin-test/testEmptyReportWithMaven1.0/xdocs/ xdocs/
Date Thu, 25 May 2006 06:30:58 GMT
Author: aheritier
Date: Wed May 24 23:30:57 2006
New Revision: 409311

URL: http://svn.apache.org/viewvc?rev=409311&view=rev
Log:
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

Added:
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml   (with props)
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml   (with props)
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml
  (with props)
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml
  (with props)
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml
  (with props)
Modified:
    maven/maven-1/plugins/trunk/linkcheck/project.xml
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-resources/linkcheck.jsl
    maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/defaultTest/project.xml
    maven/maven-1/plugins/trunk/linkcheck/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/linkcheck/project.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/project.xml?rev=409311&r1=409310&r2=409311&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/project.xml (original)
+++ maven/maven-1/plugins/trunk/linkcheck/project.xml Wed May 24 23:30:57 2006
@@ -22,7 +22,7 @@
   <pomVersion>3</pomVersion>
   <id>maven-linkcheck-plugin</id>
   <name>Maven LinkCheck Plugin</name>
-  <currentVersion>1.4</currentVersion>
+  <currentVersion>1.4.1-SNAPSHOT</currentVersion>
   <description>Check xdoc links. Requires Maven 1.0 RC2.</description>
   <shortDescription>Check xdoc links</shortDescription>
   <versions>

Modified: maven/maven-1/plugins/trunk/linkcheck/src/plugin-resources/linkcheck.jsl
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-resources/linkcheck.jsl?rev=409311&r1=409310&r2=409311&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-resources/linkcheck.jsl (original)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-resources/linkcheck.jsl Wed May 24 23:30:57
2006
@@ -36,7 +36,7 @@
         <section name="Link Check Report">
           <p><b><span style="color:#00AA00;text-align:right"><x:expr
select="count(file)"/> </span></b> file(s) and <b><span style="color:#00AA00;text-align:right"><x:expr
select="sum(file/unsuccessful)+sum(file/successful)"/> </span></b> link(s)
checked. <b><span style="color:#FF0000;text-align:right"><x:expr select="count(file/result[status='error'])"/></span></b>
error(s) and <b><span style="color:#FFA916;text-align:right"><x:expr select="count(file/result[status='warning'])"/></span></b>
warning(s) reported in <b><span style="color:#00AA00;text-align:right"><x:expr
select="count(file[unsuccessful!=0])"/> </span></b> file(s).</p>
           <j:set var="nbFilesInError"><x:expr select="count(file[unsuccessful!=0])"/></j:set>
-          <j:if test="${nbFilesInError gt 0}">
+          <j:if test="${nbFilesInError != '0'}">
           <table summary="Link Check summary">
             <thead>
               <tr>
@@ -82,4 +82,4 @@
       </body>
     </document>
   </jsl:template>
-</jsl:stylesheet>
\ No newline at end of file
+</jsl:stylesheet>

Modified: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/defaultTest/project.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/defaultTest/project.xml?rev=409311&r1=409310&r2=409311&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/defaultTest/project.xml (original)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/defaultTest/project.xml Wed May
24 23:30:57 2006
@@ -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>

Added: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml?rev=409311&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml (added)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml Wed May 24 23:30:57 2006
@@ -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>
\ No newline at end of file

Propchange: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml?rev=409311&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml (added)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml Wed May 24 23:30:57
2006
@@ -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>
\ No newline at end of file

Propchange: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml?rev=409311&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml
(added)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml
Wed May 24 23:30:57 2006
@@ -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>
\ No newline at end of file

Propchange: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml?rev=409311&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml
(added)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml
Wed May 24 23:30:57 2006
@@ -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>

Propchange: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml?rev=409311&view=auto
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml
(added)
+++ maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml
Wed May 24 23:30:57 2006
@@ -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>

Propchange: maven/maven-1/plugins/trunk/linkcheck/src/plugin-test/testEmptyReportWithMaven1.0/xdocs/navigation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/maven-1/plugins/trunk/linkcheck/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/linkcheck/xdocs/changes.xml?rev=409311&r1=409310&r2=409311&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/linkcheck/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/linkcheck/xdocs/changes.xml Wed May 24 23:30:57 2006
@@ -25,6 +25,9 @@
     <author email="aheritier@apahce.org">Arnaud Heritier</author>
   </properties>
   <body>
+    <release version="1.4.1-SNAPSHOT" date="In SVN">
+      <action dev="aheritier" type="fix" issue="MPLINKCHECK-27" due-to="Dennis Lundberg">Maven
1.0.x : The report is incomplete if one or more files has errors in them.</action>
+    </release>
     <release version="1.4" date="2006-04-27">
       <action dev="aheritier" type="update" issue="MAVEN-1759">Upgrade to log4j 1.2.13.</action>
       <action dev="aheritier" type="add">Add the property "maven.linkcheck.method"
to select the method to use to do the tests (head -by default-,or get).</action>



Mime
View raw message