aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2016-11-28 12:09:14 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-11-28 12:09:14 +0100
commit6e0ca554a198d0ad7393f4b4fecfbf2cfcf44d34 (patch)
tree06e0bdc0212b1a6cf249aed82870019499c3bb20 /pom.xml
parentf60d01c24900ec92daf546ebdcc582305475c909 (diff)
downloadsonarqube-6e0ca554a198d0ad7393f4b4fecfbf2cfcf44d34.tar.gz
sonarqube-6e0ca554a198d0ad7393f4b4fecfbf2cfcf44d34.zip
SONAR-8420 Automated release
* add artifactsToPublish to bintray * export PROJECT_VERSION in env to be recorded in buildinfo * Remove distributionManagement (deploy is done by the artifactory-maven-plugin) * Enable release profile on Travis for maintenance branches * Remove checksums calculation of the distribution (done by the release process) * Remove javadoc profile (we only publish the javadoc of the plugin API)
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml30
1 files changed, 2 insertions, 28 deletions
diff --git a/pom.xml b/pom.xml
index e166677ca8e..1adfdfaabc1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,13 +46,6 @@
<url>http://jira.sonarsource.com/browse/SONAR</url>
</issueManagement>
- <distributionManagement>
- <repository>
- <id>bintray</id>
- <url>https://api.bintray.com/maven/sonarsource/SonarQube/${project.groupId}/;publish=1</url>
- </repository>
- </distributionManagement>
-
<properties>
<sonarUpdateCenter.version>1.17</sonarUpdateCenter.version>
<sonarJava.version>4.0</sonarJava.version>
@@ -87,6 +80,8 @@
<!-- used for deployment to SonarSource Artifactory -->
<gitRepositoryName>sonarqube</gitRepositoryName>
+ <!-- Release: enable publication to Bintray -->
+ <artifactsToPublish>${project.groupId}:sonar-application:zip</artifactsToPublish>
</properties>
<build>
@@ -1156,27 +1151,6 @@
</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.core: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>protobuf-compile</id>
<activation>
<file>