aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-07-23 10:05:16 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-07-23 10:08:01 +0200
commitf8cc38e572284265ad4ba8e7f11eb81f5f2266c5 (patch)
tree7a8f19a911df615211f54bc5a371c8f315cebcf5
parent311fa2b0d7b1225e379bcc7e3f97d9b4666343fb (diff)
downloadsonarqube-f8cc38e572284265ad4ba8e7f11eb81f5f2266c5.tar.gz
sonarqube-f8cc38e572284265ad4ba8e7f11eb81f5f2266c5.zip
Fix deployment of javadoc
-rw-r--r--pom.xml27
1 files changed, 20 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index 7e0e269f0fc..2d00fda876b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -213,13 +213,6 @@
<configuration>
<author>false</author>
<linksource>true</linksource>
- <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>
@@ -1151,6 +1144,26 @@
</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>m2e</id>