2010-09-06 16:08:06 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-09-08 10:38:53 +02:00
|
|
|
<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">
|
2010-09-06 16:08:06 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2012-09-10 12:47:50 +02:00
|
|
|
|
2010-09-06 16:08:06 +02:00
|
|
|
<parent>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
|
|
|
<artifactId>sonar</artifactId>
|
2015-02-27 15:00:30 +01:00
|
|
|
<version>5.2-SNAPSHOT</version>
|
2010-09-06 16:08:06 +02:00
|
|
|
</parent>
|
2012-09-10 12:47:50 +02:00
|
|
|
|
2010-09-06 16:08:06 +02:00
|
|
|
<artifactId>sonar-application</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2013-07-08 15:07:35 +02:00
|
|
|
<name>SonarQube :: Application</name>
|
2010-09-06 16:08:06 +02:00
|
|
|
<description>Package the standalone distribution</description>
|
2012-09-10 12:47:50 +02:00
|
|
|
|
2014-07-23 23:13:20 +02:00
|
|
|
<properties>
|
|
|
|
<assembly.recompressZippedFiles>true</assembly.recompressZippedFiles>
|
2015-06-03 13:01:27 +02:00
|
|
|
<assembly.format>zip</assembly.format>
|
|
|
|
<checksum.failOnError>true</checksum.failOnError>
|
2014-07-23 23:13:20 +02:00
|
|
|
</properties>
|
2014-07-22 17:17:23 +02:00
|
|
|
|
2014-07-23 23:13:20 +02:00
|
|
|
<dependencies>
|
2014-04-16 19:05:09 +02:00
|
|
|
<dependency>
|
2014-07-22 17:17:23 +02:00
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
|
|
|
<artifactId>sonar-process</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2014-04-16 19:05:09 +02:00
|
|
|
</dependency>
|
2014-09-12 10:19:06 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
|
|
|
<artifactId>sonar-process-monitor</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2014-07-23 23:13:20 +02:00
|
|
|
|
2010-09-06 16:08:06 +02:00
|
|
|
<dependency>
|
2013-10-01 16:51:37 +02:00
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<scope>provided</scope>
|
2010-09-06 16:08:06 +02:00
|
|
|
</dependency>
|
2014-07-24 21:50:19 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2013-10-01 16:51:37 +02:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
2014-07-24 21:50:19 +02:00
|
|
|
<artifactId>sonar-server</artifactId>
|
2013-10-01 16:51:37 +02:00
|
|
|
<version>${project.version}</version>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2014-07-11 17:10:13 +02:00
|
|
|
</dependency>
|
2014-07-22 00:02:51 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
2014-07-22 17:17:23 +02:00
|
|
|
<artifactId>sonar-search</artifactId>
|
2014-07-22 00:02:51 +02:00
|
|
|
<version>${project.version}</version>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2014-07-22 00:02:51 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
2015-03-16 15:35:26 +01:00
|
|
|
<artifactId>sonar-batch-shaded</artifactId>
|
2014-07-22 00:02:51 +02:00
|
|
|
<version>${project.version}</version>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2014-07-22 00:02:51 +02:00
|
|
|
</dependency>
|
2014-07-11 17:10:13 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
|
|
|
<artifactId>sonar-web</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-10-01 16:51:37 +02:00
|
|
|
<type>war</type>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2013-06-17 22:26:00 +02:00
|
|
|
</dependency>
|
2014-07-22 17:17:23 +02:00
|
|
|
|
2010-09-06 16:08:06 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2010-09-06 16:08:06 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-07-17 14:06:27 +02:00
|
|
|
<groupId>org.postgresql</groupId>
|
2010-09-06 16:08:06 +02:00
|
|
|
<artifactId>postgresql</artifactId>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2010-09-06 16:08:06 +02:00
|
|
|
</dependency>
|
2015-01-27 10:50:00 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2011-04-20 14:03:45 +02:00
|
|
|
|
2015-06-01 23:15:37 +02:00
|
|
|
<!-- default plugins -->
|
2012-06-20 12:24:27 +02:00
|
|
|
<dependency>
|
2015-07-22 14:55:31 +02:00
|
|
|
<groupId>org.sonarsource.java</groupId>
|
2012-06-20 12:24:27 +02:00
|
|
|
<artifactId>sonar-java-plugin</artifactId>
|
2013-06-26 14:09:14 +02:00
|
|
|
<type>sonar-plugin</type>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2012-06-20 12:24:27 +02:00
|
|
|
</dependency>
|
2014-09-25 16:23:37 +02:00
|
|
|
<dependency>
|
2015-01-27 21:22:41 +01:00
|
|
|
<groupId>org.codehaus.sonar-plugins</groupId>
|
2014-10-23 09:27:44 +02:00
|
|
|
<artifactId>sonar-scm-git-plugin</artifactId>
|
2014-09-25 16:23:37 +02:00
|
|
|
<type>sonar-plugin</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-09-30 16:49:55 +02:00
|
|
|
<dependency>
|
2015-09-25 10:59:19 +02:00
|
|
|
<groupId>org.sonarsource.scm.svn</groupId>
|
2014-10-23 09:27:44 +02:00
|
|
|
<artifactId>sonar-scm-svn-plugin</artifactId>
|
2014-09-30 16:49:55 +02:00
|
|
|
<type>sonar-plugin</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2011-02-16 14:59:08 +01:00
|
|
|
<dependency>
|
2014-07-23 23:13:20 +02:00
|
|
|
<groupId>org.sonatype.jsw-binaries</groupId>
|
|
|
|
<artifactId>jsw-binaries</artifactId>
|
2011-02-16 14:59:08 +01:00
|
|
|
<version>3.2.3.6</version>
|
|
|
|
<type>tar.gz</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-10-01 16:51:37 +02:00
|
|
|
<!-- do not upgrade because of licensing change -->
|
2011-02-16 14:59:08 +01:00
|
|
|
<groupId>tanukisoft</groupId>
|
|
|
|
<artifactId>wrapper</artifactId>
|
|
|
|
<version>3.2.3</version>
|
2014-07-23 16:29:16 +02:00
|
|
|
<scope>provided</scope>
|
2011-02-16 14:59:08 +01:00
|
|
|
</dependency>
|
2013-10-01 16:51:37 +02:00
|
|
|
|
|
|
|
<!-- unit tests -->
|
|
|
|
<dependency>
|
2014-09-25 23:41:41 +02:00
|
|
|
<groupId>org.codehaus.sonar</groupId>
|
|
|
|
<artifactId>sonar-testing-harness</artifactId>
|
2013-10-01 16:51:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2014-06-20 00:43:47 +02:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2013-10-01 16:51:37 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.kevinsawicki</groupId>
|
|
|
|
<artifactId>http-request</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2010-09-06 16:08:06 +02:00
|
|
|
</dependencies>
|
2011-07-08 10:48:38 +02:00
|
|
|
|
2012-09-10 12:47:50 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-07-23 16:29:16 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<index>true</index>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>false</addClasspath>
|
2014-07-24 16:11:05 +02:00
|
|
|
<mainClass>org.sonar.application.App</mainClass>
|
2014-07-23 16:29:16 +02:00
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<mode>distribution</mode>
|
|
|
|
<url>${project.url}</url>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-09-10 12:47:50 +02:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
2013-10-15 14:35:02 +02:00
|
|
|
<finalName>sonarqube-${project.version}</finalName>
|
2012-09-10 12:47:50 +02:00
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
2014-07-23 23:13:20 +02:00
|
|
|
<recompressZippedFiles>${assembly.recompressZippedFiles}</recompressZippedFiles>
|
2012-09-10 12:47:50 +02:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
2015-06-03 13:01:27 +02:00
|
|
|
<failOnError>${checksum.failOnError}</failOnError>
|
2012-09-10 12:47:50 +02:00
|
|
|
<target>
|
2014-09-08 10:38:53 +02:00
|
|
|
<checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="md5" />
|
|
|
|
<checksum file="${project.build.directory}/sonarqube-${project.version}.zip" algorithm="sha" />
|
2012-09-10 12:47:50 +02:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-distribution-size</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireFilesSize>
|
2014-07-24 22:02:49 +02:00
|
|
|
<minsize>84000000</minsize>
|
2014-08-28 15:09:22 +02:00
|
|
|
<maxsize>880000000</maxsize>
|
2012-09-10 12:47:50 +02:00
|
|
|
<files>
|
2013-10-15 14:35:02 +02:00
|
|
|
<file>${project.build.directory}/sonarqube-${project.version}.zip</file>
|
2012-09-10 12:47:50 +02:00
|
|
|
</files>
|
|
|
|
</requireFilesSize>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-09-30 00:07:03 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>${skipServerTests}</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-09-10 12:47:50 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-07-08 10:48:38 +02:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-07-23 23:13:20 +02:00
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<properties>
|
|
|
|
<assembly.recompressZippedFiles>false</assembly.recompressZippedFiles>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2011-07-08 10:48:38 +02:00
|
|
|
</profiles>
|
2012-09-04 20:50:04 +02:00
|
|
|
|
2011-02-16 14:59:08 +01:00
|
|
|
</project>
|