You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2009/08/01 13:39:46 UTC
svn commit: r799844 - /maven/site/trunk/pom.xml
Author: vsiveton
Date: Sat Aug 1 11:39:46 2009
New Revision: 799844
URL: http://svn.apache.org/viewvc?rev=799844&view=rev
Log:
o added linkcheck profile
Modified:
maven/site/trunk/pom.xml
Modified: maven/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=799844&r1=799843&r2=799844&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Sat Aug 1 11:39:46 2009
@@ -348,13 +348,6 @@
</reportSet>
</reportSets>
</plugin>
- <!-- Note: 'site' needs to be called twice to generate the linkcheck report
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-linkcheck-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- </plugin>
- -->
</plugins>
</reporting>
@@ -387,5 +380,41 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>linkcheck</id>
+ <activation>
+ <property>
+ <name>!linkcheck.skip</name>
+ </property>
+ </activation>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-linkcheck-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <excludedLinks>
+ <excludedLink>**/ant-tasks/*</excludedLink>
+ <excludedLink>**/doxia/*</excludedLink>
+ <excludedLink>**/jxr/*</excludedLink>
+ <excludedLink>**/maven-1.x/*</excludedLink>
+ <excludedLink>**/mercury/*</excludedLink>
+ <excludedLink>**/scm/*</excludedLink>
+ <excludedLink>**/shared/*</excludedLink>
+ <excludedLink>**/skins/*</excludedLink>
+ <excludedLink>**/surefire/*</excludedLink>
+ <excludedLink>**/wagon/*</excludedLink>
+ <excludedLink>**/plugins/maven-*</excludedLink>
+ <excludedLink>**/ref/*</excludedLink>
+ <excludedLink>**/maven-model/*</excludedLink>
+ <excludedLink>**/maven-settings/*</excludedLink>
+ <excludedLink>irc://*</excludedLink>
+ </excludedLinks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
</profiles>
</project>