aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-09-15 23:10:37 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-09-15 23:10:37 +0200
commit9174c78850eb108ff90d01e83c4baccdae157dbe (patch)
treefee6dae41e4ed391f74c634ae7be51dc85c53f9d /pom.xml
parentd82c3640f1757967fd97800ccca366399d1737fd (diff)
downloadsonarqube-9174c78850eb108ff90d01e83c4baccdae157dbe.tar.gz
sonarqube-9174c78850eb108ff90d01e83c4baccdae157dbe.zip
Fix Javadoc for release profile
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml36
1 files changed, 24 insertions, 12 deletions
diff --git a/pom.xml b/pom.xml
index 46aa71530ca..8786aaf53e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -210,6 +210,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
+ <configuration>
+ <author>false</author>
+ <linksource>true</linksource>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -392,18 +396,6 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <excludePackageNames>
- net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.squid:org.sonar.core:org.sonar.jpa:org.sonar.duplications:org.sonar.markdown:com.*
- </excludePackageNames>
- <author>false</author>
- <linksource>true</linksource>
- <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs</reportOutputDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
@@ -1106,6 +1098,26 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>javadoc</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <excludePackageNames>
+ net.*:org.sonar.application:org.sonar.server:org.sonar.graph:org.sonar.batch:org.sonar.channel:org.sonar.java:org.sonar.maven*:org.sonar.plugins.*:org.sonar.colorizer:org.sonar.squid:org.sonar.core:org.sonar.jpa:org.sonar.duplications:org.sonar.markdown:com.*
+ </excludePackageNames>
+ <author>false</author>
+ <linksource>true</linksource>
+ <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs</reportOutputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>sanity-checks</id>