summaryrefslogtreecommitdiffstats
path: root/sonar-application/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-10-01 16:51:37 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-10-01 16:51:57 +0200
commitaf19a257160eae52f2f5a08cfb979625a9cf5cff (patch)
tree3aa8ecd06fd0f57619c98b4bbc133dab8b96aeef /sonar-application/pom.xml
parent3a9dfb1fd7e4c854da5eab3d041e70b27e9c709c (diff)
downloadsonarqube-af19a257160eae52f2f5a08cfb979625a9cf5cff.tar.gz
sonarqube-af19a257160eae52f2f5a08cfb979625a9cf5cff.zip
SONAR-4675 Replace Jetty web server by Tomcat 7
Diffstat (limited to 'sonar-application/pom.xml')
-rw-r--r--sonar-application/pom.xml94
1 files changed, 71 insertions, 23 deletions
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml
index 5a9e17e4cd8..66290c24389 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>
@@ -16,37 +17,62 @@
<dependencies>
<dependency>
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-server</artifactId>
- <version>${project.version}</version>
- <type>war</type>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
</dependency>
<dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jul-to-slf4j</artifactId>
</dependency>
<dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <scope>test</scope>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-access</artifactId>
</dependency>
<dependency>
- <groupId>org.codehaus.sonar</groupId>
- <artifactId>sonar-testing-harness</artifactId>
- <scope>test</scope>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
</dependency>
<dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>test</scope>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-core</artifactId>
+ </dependency>
+ <dependency>
+ <!-- TODO remove this unused dependency, but how to disable Jasper in embedded tomcat ? -->
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-jasper</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-logging-juli</artifactId>
+ </dependency>
+ <!--
+ TODO
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-dbcp</artifactId>
+ <version>${tomcat.version}</version>
+ </dependency>
+ -->
+
+
+ <dependency>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-server</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
</dependency>
<dependency>
<groupId>mysql</groupId>
@@ -161,7 +187,6 @@
<type>sonar-plugin</type>
<scope>runtime</scope>
</dependency>
-
<dependency>
<groupId>org.sonatype.jsw-binaries</groupId>
<artifactId>jsw-binaries</artifactId>
@@ -170,11 +195,34 @@
<scope>provided</scope>
</dependency>
<dependency>
+ <!-- do not upgrade because of licensing change -->
<groupId>tanukisoft</groupId>
<artifactId>wrapper</artifactId>
<version>3.2.3</version>
<scope>runtime</scope>
</dependency>
+
+ <!-- unit tests -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.easytesting</groupId>
+ <artifactId>fest-assert</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.github.kevinsawicki</groupId>
+ <artifactId>http-request</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
@@ -204,8 +252,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>