<sonarJava.version>1.3</sonarJava.version>
<sonarGwt.version>3.3.1</sonarGwt.version>
<h2.version>1.3.172</h2.version>
- <jetty.version>7.6.11.v20130520</jetty.version>
+ <jetty.version>8.1.12.v20130726</jetty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.min.version>3.0.5</maven.min.version>
<maven.api.version>2.2.0</maven.api.version>
<version>3.0.1</version>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
- <version>2.5</version>
+ <version>3.0.20100224</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<scope>test</scope>
</dependency>
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-XX:MaxPermSize=128m
wrapper.java.additional.3=-XX:+HeapDumpOnOutOfMemoryError
+wrapper.java.additional.4=-Dfile.encoding=UTF-8
# RECOMMENDED : uncomment if Java Virtual Machine is a JDK but not a JRE. To know which JVM you use, execute
# 'java -version'. JDK displays 'Server VM'.
-#wrapper.java.additional.4=-server
+#wrapper.java.additional.5=-server
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256
#********************************************************************
# Profiling and debbuging - for development only
-# If wrapper.java.additional.4=-server is not commented, parameter ids should start from 5 instead of 4.
+# If wrapper.java.additional.5=-server is not commented, parameter ids should start from 6 instead of 5.
#********************************************************************
# Java remote debugging
-#wrapper.java.additional.4=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
+#wrapper.java.additional.5=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
# JMX remote monitoring on Sun JVM (warning, security is disabled)
-#wrapper.java.additional.4=-Dcom.sun.management.jmxremote
-#wrapper.java.additional.5=-Dcom.sun.management.jmxremote.port=9005
-#wrapper.java.additional.6=-Dcom.sun.management.jmxremote.authenticate=false
-#wrapper.java.additional.7=-Dcom.sun.management.jmxremote.ssl=false
+#wrapper.java.additional.5=-Dcom.sun.management.jmxremote
+#wrapper.java.additional.6=-Dcom.sun.management.jmxremote.port=9005
+#wrapper.java.additional.7=-Dcom.sun.management.jmxremote.authenticate=false
+#wrapper.java.additional.8=-Dcom.sun.management.jmxremote.ssl=false
#********************************************************************
# Wrapper Logging Properties
<scope>test</scope>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<scope>test</scope>
</dependency>
<artifactId>xalan</artifactId>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<optional>true</optional>
</dependency>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<?xml version="1.0" encoding="UTF-8"?>
-<web-app
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- metadata-complete="true"
- version="2.5"
->
-
- <display-name>Sonar</display-name>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ id="SonarQube" version="3.0">
+ <display-name>SonarQube</display-name>
<context-param>
<param-name>public.root</param-name>
<session-config>
<!-- in minutes -->
<session-timeout>20</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ </cookie-config>
</session-config>
<listener>
<!-- by the jetty.xml file. -->
<!-- -->
<!-- ===================================================================== -->
-<web-app
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- metadata-complete="true"
- version="2.5"
->
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ id="SonarQube" version="3.0">
<description>
Default web.xml file.
+++ /dev/null
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
-
-<Configure class="org.eclipse.jetty.webapp.WebAppContext">
- <Get name="sessionHandler">
- <Get name="sessionManager">
- <Set name="httpOnly" type="boolean">true</Set>
- </Get>
- </Get>
-</Configure>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
-
- <display-name>Sonar</display-name>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ id="SonarQube" version="3.0">
+ <display-name>SonarQube</display-name>
<context-param>
<param-name>public.root</param-name>
<session-config>
<!-- in minutes -->
<session-timeout>20</session-timeout>
- <!--
- Only servlet 3.0+. We're currently stuck at servlet 2.5. Meanwhile
- we use jetty-web.xml and META-INF/context.xml for Tomcat (see useHttpOnly attribute)
<cookie-config>
<http-only>true</http-only>
</cookie-config>
- -->
</session-config>
<listener>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api</artifactId>
<scope>test</scope>
</dependency>