Commit e3cf2c3e authored by Matija Obreza's avatar Matija Obreza

Using jetty 9.4.11

- Resolved duplicated class dependencies
parent eb199dd3
# #
# Build Genesys server on top of jetty-alpine # Build Genesys server on top of jetty-alpine
# #
FROM jetty:9.4.5 FROM jetty:9.4.11
LABEL maintainer "Matija Obreza <matija.obreza@croptrust.org>" LABEL maintainer "Matija Obreza <matija.obreza@croptrust.org>"
USER root
ENV USER=jetty \ ENV USER=jetty \
GENESYS_DATA=/data/genesys \ GENESYS_DATA=/data/genesys \
JETTY_BASE=/var/lib/jetty \ JETTY_BASE=/var/lib/jetty \
...@@ -27,3 +29,5 @@ RUN mkdir -p ${GENESYS_DATA} \ ...@@ -27,3 +29,5 @@ RUN mkdir -p ${GENESYS_DATA} \
# Exposed data volumes # Exposed data volumes
VOLUME /data/genesys VOLUME /data/genesys
USER jetty
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<slf4j.version>1.7.21</slf4j.version> <slf4j.version>1.7.21</slf4j.version>
<log4j.version>1.2.17</log4j.version> <log4j.version>1.2.17</log4j.version>
<aspectj.version>1.7.2</aspectj.version> <aspectj.version>1.8.9</aspectj.version>
<mysql.version>5.1.46</mysql.version> <mysql.version>5.1.46</mysql.version>
<hazelcast.version>3.8.1</hazelcast.version> <hazelcast.version>3.8.1</hazelcast.version>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<swagger.version>2.9.2</swagger.version> <swagger.version>2.9.2</swagger.version>
<!--Container --> <!--Container -->
<jetty.version>9.4.5.v20170502</jetty.version> <jetty.version>9.4.11.v20180605</jetty.version>
<maven.test.skip>false</maven.test.skip> <maven.test.skip>false</maven.test.skip>
...@@ -134,6 +134,32 @@ ...@@ -134,6 +134,32 @@
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId> <artifactId>commons-logging</artifactId>
<version>${commons.logging.version}</version> <version>${commons.logging.version}</version>
<!-- Embedded in jcl-over-slf4j -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
<!-- Embedded in spring-aop -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
<!-- Embedded in aspectjweaver -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<version>1.0.1</version>
<!-- JDK 1.6 -->
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
...@@ -483,6 +509,12 @@ ...@@ -483,6 +509,12 @@
<groupId>org.liquibase.ext</groupId> <groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-hibernate4</artifactId> <artifactId>liquibase-hibernate4</artifactId>
<version>${liquibase.version}</version> <version>${liquibase.version}</version>
<exclusions>
<exclusion>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.genesys-pgr</groupId> <groupId>org.genesys-pgr</groupId>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment