2018-09-12 20:16:11 +08:00
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<project
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
|
<artifactId>datagear</artifactId>
|
2018-09-20 10:06:46 +08:00
|
|
|
|
<version>1.0.0</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<artifactId>datagear-web</artifactId>
|
|
|
|
|
<name>datagear-web</name>
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<dist.log4j.rootLogger>DEBUG, A1</dist.log4j.rootLogger>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
|
<artifactId>datagear-model</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
|
<artifactId>datagear-persistence</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
|
<artifactId>datagear-dbmodel</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
|
<artifactId>datagear-management</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
|
<version>1.0.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2018-09-17 20:44:17 +08:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
2018-09-12 20:16:11 +08:00
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
|
<version>1.5.4</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-lgpl</artifactId>
|
|
|
|
|
<version>1.9.9</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.35</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
|
<version>10.12.1.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<version>${slf4j-log4j12.version}</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
<version>1.2.17</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
<version>1.3.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
|
<version>1.4.7</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
|
<version>1.8.6</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<version>19.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
|
|
<!-- 打包前将log4j由DEBUG改为ERROR,打包后恢复为DEBUG -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>updateLog4jLevelToError</id>
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
|
|
|
|
<replace file="src/main/webapp/WEB-INF/config/log4j.properties"
|
|
|
|
|
token="DEBUG, A0" value="${dist.log4j.rootLogger}" />
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>resetLog4jLevelToDebug</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
|
|
|
|
<replace file="src/main/webapp/WEB-INF/config/log4j.properties"
|
|
|
|
|
token="${dist.log4j.rootLogger}" value="DEBUG, A0" />
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|