aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-07-08 10:48:38 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-07-08 10:48:38 +0200
commit005b7dc5dbac537e00a3c57a720e473e34dc37d3 (patch)
treee298c24c7f5ccd73ebf45e21053c44777a0f6e34 /sonar-application
parent3ff93809bc7928122d20afa69ac5c5641c6ca1e7 (diff)
downloadsonarqube-005b7dc5dbac537e00a3c57a720e473e34dc37d3.tar.gz
sonarqube-005b7dc5dbac537e00a3c57a720e473e34dc37d3.zip
Allow to deploy SNAPSHOT versions of sonar-application and sonar-server
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/pom.xml29
1 files changed, 20 insertions, 9 deletions
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index 6e83c28617d..52f50c9ef6d 100644
--- a/sonar-application/pom.xml
+++ b/sonar-application/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codehaus.sonar</groupId>
@@ -37,8 +38,8 @@
<phase>package</phase>
<configuration>
<target>
- <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="md5" />
- <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="sha" />
+ <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="md5"/>
+ <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="sha"/>
</target>
</configuration>
<goals>
@@ -47,12 +48,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
</plugins>
</build>
<dependencies>
@@ -222,4 +217,20 @@
<scope>runtime</scope>
</dependency>
</dependencies>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>