You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/02/05 14:34:41 UTC

svn commit: r618645 - in /maven/doxia/doxia-tools/trunk: doxia-linkcheck/pom.xml doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java pom.xml

Author: vsiveton
Date: Tue Feb  5 05:34:40 2008
New Revision: 618645

URL: http://svn.apache.org/viewvc?rev=618645&view=rev
Log:
o added parent pom
o fixed file path in test cases

Added:
    maven/doxia/doxia-tools/trunk/pom.xml   (with props)
Modified:
    maven/doxia/doxia-tools/trunk/doxia-linkcheck/pom.xml
    maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java

Modified: maven/doxia/doxia-tools/trunk/doxia-linkcheck/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-linkcheck/pom.xml?rev=618645&r1=618644&r2=618645&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-linkcheck/pom.xml (original)
+++ maven/doxia/doxia-tools/trunk/doxia-linkcheck/pom.xml Tue Feb  5 05:34:40 2008
@@ -23,13 +23,15 @@
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <artifactId>doxia</artifactId>
     <groupId>org.apache.maven.doxia</groupId>
-    <version>1.0-beta-1-SNAPSHOT</version>
+    <artifactId>doxia-tools</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
   </parent>
 
+  <groupId>org.apache.maven.doxia.tools</groupId>
   <artifactId>doxia-linkcheck</artifactId>
-  <name>Doxia :: Linkcheck</name>
+  <name>Doxia Tools :: Linkcheck</name>
   <description>Doxia linkcheck is a tool to check the validity of links</description>
 
   <dependencies>
@@ -49,20 +51,10 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-container-default</artifactId>
-      <version>1.0-alpha-9</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
-      <version>1.4.5</version>
-    </dependency>
-
-    <!-- test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
     </dependency>
   </dependencies>
 

Modified: maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java?rev=618645&r1=618644&r2=618645&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java (original)
+++ maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/test/java/org/apache/maven/doxia/linkcheck/LinkCheckTest.java Tue Feb  5 05:34:40 2008
@@ -47,13 +47,13 @@
 
         lc.setOnline( true ); // TODO: check if online
 
-        lc.setBasedir( new File( "src/test/resources" ) ); // TODO
+        lc.setBasedir( new File( getBasedir(), "src/test/resources" ) ); // TODO
 
-        lc.setReportOutput( new File( "target/linkcheck/linkcheck.xml" ) );
+        lc.setReportOutput( new File( getBasedir(), "target/linkcheck/linkcheck.xml" ) );
 
         lc.setReportOutputEncoding( "UTF-8" );
 
-        lc.setLinkCheckCache( new File( "target/linkcheck/linkcheck.cache" ) ); // TODO
+        lc.setLinkCheckCache( new File( getBasedir(), "target/linkcheck/linkcheck.cache" ) ); // TODO
 
         String[] excludes = new String[] {
             "http://cvs.apache.org/viewcvs.cgi/maven-pluginszz/",

Added: maven/doxia/doxia-tools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/pom.xml?rev=618645&view=auto
==============================================================================
--- maven/doxia/doxia-tools/trunk/pom.xml (added)
+++ maven/doxia/doxia-tools/trunk/pom.xml Tue Feb  5 05:34:40 2008
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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>
+
+  <parent>
+    <groupId>org.apache.maven</groupId>
+    <artifactId>maven-parent</artifactId>
+    <version>7</version>
+    <relativePath>../../pom/maven/pom.xml</relativePath>
+  </parent>
+
+  <groupId>org.apache.maven.doxia</groupId>
+  <artifactId>doxia-tools</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>Doxia Tools</name>
+  <description>Set of generic tools.</description>
+  <url>http://maven.apache.org/doxia/doxia-tools</url>
+  
+  <properties>
+    <projectVersion>${project.version}</projectVersion>
+  </properties>
+  
+  <mailingLists>
+    <mailingList>
+      <name>Doxia Developer List</name>
+      <subscribe>doxia-dev-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>doxia-dev-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Doxia User List</name>
+      <subscribe>doxia-users-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>doxia-users-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-doxia-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Doxia Commits List</name>
+      <subscribe>doxia-commits-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>doxia-commits-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-doxia-commits/</archive>
+    </mailingList>
+    <!-- duplication from parent pom - temporary until they inherit properly -->
+    <mailingList>
+      <name>Maven Announcements List</name>
+      <post>announce@maven.apache.org</post>
+      <subscribe>announce-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>announce-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-announce/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Maven Issues List</name>
+      <post>issues@maven.apache.org</post>
+      <subscribe>issues-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>issues-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-issues/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Maven Notifications List</name>
+      <post>notifications@maven.apache.org</post>
+      <subscribe>notifications-subscribe@maven.apache.org</subscribe>
+      <unsubscribe>notifications-unsubscribe@maven.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/maven-notifications/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <issueManagement>
+    <system>jira</system>
+    <url>http://jira.codehaus.org/browse/DOXIA</url>
+  </issueManagement>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/doxia/doxia-tools/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/doxia/doxia-tools/trunk</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/doxia/doxia-tools/trunk</url>
+  </scm>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+          <source>1.4</source>
+          <aggregate>true</aggregate>
+          <links>
+            <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
+            <link>http://junit.sourceforge.net/javadoc/</link>
+          </links>
+          <reportSets>
+            <reportSet>
+              <id>html</id>
+              <reports>
+                <report>javadoc</report>
+              </reports>
+            </reportSet>
+            <reportSet>
+              <id>test-html</id>
+              <reports>
+                <report>test-javadoc</report>
+              </reports>
+            </reportSet>
+          </reportSets>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-maven-plugin</artifactId>
+        <version>1.3.5</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>descriptor</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            <tagBase>https://svn.apache.org/repos/asf/maven/doxia/doxia-tools/tags</tagBase>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.3</version>
+          <configuration>
+            <forkMode>never</forkMode>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <dependencyManagement>
+    <dependencies>
+      <!-- Plexus -->
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-container-default</artifactId>
+        <version>1.0-alpha-30</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-utils</artifactId>
+        <version>1.4.5</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <modules>
+    <module>doxia-linkcheck</module>
+  </modules>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <url>scp://people.apache.org/www/maven.apache.org/doxia/doxia-tools</url>
+    </site>
+  </distributionManagement>
+</project>

Propchange: maven/doxia/doxia-tools/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/doxia-tools/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"