Author: ltheussl
Date: Sat Mar  5 21:05:18 2011
New Revision: 1078353

URL: http://svn.apache.org/viewvc?rev=1078353&view=rev
Log:
move linkcheck into a profile

Modified:
    maven/doxia/site/pom.xml

Modified: maven/doxia/site/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=1078353&r1=1078352&r2=1078353&view=diff
==============================================================================
--- maven/doxia/site/pom.xml (original)
+++ maven/doxia/site/pom.xml Sat Mar  5 21:05:18 2011
@@ -292,13 +292,23 @@ under the License.
           </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>
+
+  <profiles>
+    <profile>
+      <id>linkcheck</id>
+      <!-- TODO: remove pdf from build, apparently linkcheck plugin is not 
compatible -->
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-linkcheck-plugin</artifactId>
+            <version>1.1</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
+
 </project>


Reply via email to