|
@@ -12,6 +12,7 @@
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java-version>1.8</java-version>
|
|
<java-version>1.8</java-version>
|
|
<cache2k-version>1.0.2.Final</cache2k-version>
|
|
<cache2k-version>1.0.2.Final</cache2k-version>
|
|
|
|
+ <jackson-version>2.9.3</jackson-version>
|
|
<!-- This is the default web.xml for plaintext and json only -->
|
|
<!-- This is the default web.xml for plaintext and json only -->
|
|
<maven.war.xml>src/main/webapp/WEB-INF/web.xml</maven.war.xml>
|
|
<maven.war.xml>src/main/webapp/WEB-INF/web.xml</maven.war.xml>
|
|
</properties>
|
|
</properties>
|
|
@@ -20,9 +21,15 @@
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
- <version>2.9.3</version>
|
|
|
|
|
|
+ <version>${jackson-version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
+ <artifactId>jackson-module-afterburner</artifactId>
|
|
|
|
+ <version>${jackson-version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>org.apache.taglibs</groupId>
|
|
<groupId>org.apache.taglibs</groupId>
|
|
<artifactId>taglibs-standard-impl</artifactId>
|
|
<artifactId>taglibs-standard-impl</artifactId>
|
|
@@ -60,6 +67,31 @@
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
<profiles>
|
|
<profiles>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>afterburner</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <maven.war.xml>src/main/resources/WEB-INF/afterburner/web.xml</maven.war.xml>
|
|
|
|
+ </properties>
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <webResources>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/resources/WEB-INF/afterburner</directory>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>src/main/resources/WEB-INF/</exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ <targetPath>WEB-INF</targetPath>
|
|
|
|
+ </resource>
|
|
|
|
+ </webResources>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+ </profile>
|
|
<profile>
|
|
<profile>
|
|
<id>mysql</id>
|
|
<id>mysql</id>
|
|
<properties>
|
|
<properties>
|