diff options
-rw-r--r-- | pom.xml | 3 | ||||
-rw-r--r-- | sonar-batch-maven-compat/pom.xml | 16 |
2 files changed, 17 insertions, 2 deletions
@@ -393,11 +393,10 @@ <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 + net.* </excludePackageNames> <author>false</author> <linksource>true</linksource> - <reportOutputDirectory>${project.reporting.outputDirectory}/${project.version}/apidocs</reportOutputDirectory> </configuration> </plugin> <plugin> diff --git a/sonar-batch-maven-compat/pom.xml b/sonar-batch-maven-compat/pom.xml index fc88d926c81..47f0b515f1b 100644 --- a/sonar-batch-maven-compat/pom.xml +++ b/sonar-batch-maven-compat/pom.xml @@ -43,4 +43,20 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |