summaryrefslogtreecommitdiffstats
path: root/sonar-application/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-23 23:13:20 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-23 23:13:20 +0200
commitaafebf773768ac46471f9de4e6588970085ac0d9 (patch)
tree7cea484cb13a14bc86c11545d0954bcf9dbd16eb /sonar-application/pom.xml
parentb7d09c38a8ffd827142b271eb3eb4635058226f2 (diff)
downloadsonarqube-aafebf773768ac46471f9de4e6588970085ac0d9.tar.gz
sonarqube-aafebf773768ac46471f9de4e6588970085ac0d9.zip
SONAR-4898 improve default settings
Diffstat (limited to 'sonar-application/pom.xml')
-rw-r--r--sonar-application/pom.xml27
1 files changed, 18 insertions, 9 deletions
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index 7bdaba42b25..125a5c05f5d 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>
@@ -10,19 +11,21 @@
<artifactId>sonar-application</artifactId>
<packaging>jar</packaging>
-
<name>SonarQube :: Application</name>
<description>Package the standalone distribution</description>
- <dependencies>
+ <properties>
+ <assembly.recompressZippedFiles>true</assembly.recompressZippedFiles>
+ </properties>
+ <dependencies>
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-process</artifactId>
<version>${project.version}</version>
</dependency>
-
+
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
@@ -145,8 +148,8 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.sonatype.jsw-binaries</groupId>
- <artifactId>jsw-binaries</artifactId>
+ <groupId>org.sonatype.jsw-binaries</groupId>
+ <artifactId>jsw-binaries</artifactId>
<version>3.2.3.6</version>
<type>tar.gz</type>
<scope>provided</scope>
@@ -236,7 +239,7 @@
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
- <recompressZippedFiles>true</recompressZippedFiles>
+ <recompressZippedFiles>${assembly.recompressZippedFiles}</recompressZippedFiles>
</configuration>
</execution>
</executions>
@@ -248,8 +251,8 @@
<phase>package</phase>
<configuration>
<target>
- <checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="md5" />
- <checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="sha" />
+ <checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="md5"/>
+ <checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="sha"/>
</target>
</configuration>
<goals>
@@ -298,6 +301,12 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>dev</id>
+ <properties>
+ <assembly.recompressZippedFiles>false</assembly.recompressZippedFiles>
+ </properties>
+ </profile>
</profiles>
</project>