aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-29 16:06:31 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-29 16:06:31 +0100
commitfd1bf09182f969d57b927536c9daed331fd3d3c9 (patch)
treee3a9f91d19938a1c5302ebb6e71caf5d4cfe6654 /server
parentf6570b1dac3d8ee21101c4020b4f0492a64f50de (diff)
downloadsonarqube-fd1bf09182f969d57b927536c9daed331fd3d3c9.tar.gz
sonarqube-fd1bf09182f969d57b927536c9daed331fd3d3c9.zip
Do not deploy internal artifacts to maven central repo
Diffstat (limited to 'server')
-rw-r--r--server/sonar-process-monitor/pom.xml17
-rw-r--r--server/sonar-process/pom.xml17
-rw-r--r--server/sonar-search/pom.xml17
-rw-r--r--server/sonar-server-benchmarks/pom.xml29
-rw-r--r--server/sonar-server/pom.xml13
-rw-r--r--server/sonar-web/pom.xml6
6 files changed, 74 insertions, 25 deletions
diff --git a/server/sonar-process-monitor/pom.xml b/server/sonar-process-monitor/pom.xml
index 6ff38e1b682..91605bc114d 100644
--- a/server/sonar-process-monitor/pom.xml
+++ b/server/sonar-process-monitor/pom.xml
@@ -79,4 +79,21 @@
</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>
diff --git a/server/sonar-process/pom.xml b/server/sonar-process/pom.xml
index 8e25d9a3649..077917d486f 100644
--- a/server/sonar-process/pom.xml
+++ b/server/sonar-process/pom.xml
@@ -96,4 +96,21 @@
</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>
diff --git a/server/sonar-search/pom.xml b/server/sonar-search/pom.xml
index d8349dcde7a..0963ba8f1a0 100644
--- a/server/sonar-search/pom.xml
+++ b/server/sonar-search/pom.xml
@@ -67,4 +67,21 @@
</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>
diff --git a/server/sonar-server-benchmarks/pom.xml b/server/sonar-server-benchmarks/pom.xml
index c148e190b78..cb025823976 100644
--- a/server/sonar-server-benchmarks/pom.xml
+++ b/server/sonar-server-benchmarks/pom.xml
@@ -99,34 +99,13 @@
</profile>
<profile>
<id>release</id>
- <activation><activeByDefault>false</activeByDefault></activation>
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>empty-javadoc-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <classifier>javadoc</classifier>
- </configuration>
- </execution>
- <execution>
- <id>empty-sources-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <classifier>sources</classifier>
- </configuration>
- </execution>
- </executions>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git a/server/sonar-server/pom.xml b/server/sonar-server/pom.xml
index 977592d217e..8ef7b27bc12 100644
--- a/server/sonar-server/pom.xml
+++ b/server/sonar-server/pom.xml
@@ -337,6 +337,19 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml
index 733241c633a..f0c4bd4c27c 100644
--- a/server/sonar-web/pom.xml
+++ b/server/sonar-web/pom.xml
@@ -229,6 +229,12 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>