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>
|
2019-11-17 13:49:53 +08:00
|
|
|
<version>1.5.0</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>datagear-web</artifactId>
|
|
|
|
<name>datagear-web</name>
|
|
|
|
|
|
|
|
<properties>
|
2018-10-22 15:17:39 +08:00
|
|
|
<dist.log4j.rootLogger>INFO, A1</dist.log4j.rootLogger>
|
2018-10-23 11:11:17 +08:00
|
|
|
<buildtimestamp>${timestamp}</buildtimestamp>
|
2018-09-12 20:16:11 +08:00
|
|
|
</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>
|
2019-06-11 20:16:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
<artifactId>datagear-dataexchange</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-12-17 19:02:32 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
<artifactId>datagear-analysis</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-07-11 10:31:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.datagear</groupId>
|
|
|
|
<artifactId>datagear-util</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-09-12 20:16:11 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
2018-12-04 15:14:29 +08:00
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.0.1</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
2019-10-25 21:28:37 +08:00
|
|
|
<version>${javax.json.version}</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
</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>
|
|
|
|
</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>
|
2019-12-06 20:27:41 +08:00
|
|
|
<version>${fastjson.version}</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
</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>
|
2019-02-21 22:24:45 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
2019-12-12 21:50:48 +08:00
|
|
|
<version>${freemarker.version}</version>
|
2019-02-21 22:24:45 +08:00
|
|
|
</dependency>
|
2019-03-13 22:02:16 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.cometd.java</groupId>
|
|
|
|
<artifactId>cometd-java-server</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
</dependency>
|
2018-09-12 20:16:11 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2018-10-23 11:11:17 +08:00
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
2019-06-18 14:16:43 +08:00
|
|
|
<include>datagear-version.properties</include>
|
2018-10-23 11:11:17 +08:00
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
2019-06-18 14:16:43 +08:00
|
|
|
<exclude>datagear-version.properties</exclude>
|
2018-10-23 11:11:17 +08:00
|
|
|
</excludes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
2018-09-12 20:16:11 +08:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2020-01-30 17:59:55 +08:00
|
|
|
<version>${maven-antrun-plugin.version}</version>
|
2018-09-12 20:16:11 +08:00
|
|
|
<executions>
|
2018-10-22 15:17:39 +08:00
|
|
|
<!-- 打包前修改log4j的日志设置 -->
|
2018-09-12 20:16:11 +08:00
|
|
|
<execution>
|
|
|
|
<id>updateLog4jLevelToError</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2020-01-14 19:39:28 +08:00
|
|
|
<replace file="${project.build.outputDirectory}/org/datagear/web/log4j.properties"
|
2018-09-12 20:16:11 +08:00
|
|
|
token="DEBUG, A0" value="${dist.log4j.rootLogger}" />
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-11-28 09:04:50 +08:00
|
|
|
|
|
|
|
<!-- 拷贝LICENSE文件 -->
|
|
|
|
<execution>
|
|
|
|
<id>copyLICENSE</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2020-01-30 17:59:55 +08:00
|
|
|
<copy file="../LICENSE" todir="${project.build.outputDirectory}" />
|
2018-11-28 09:04:50 +08:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-09-12 20:16:11 +08:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-10-23 11:11:17 +08:00
|
|
|
|
|
|
|
<!-- 构建日期 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create-timestamp</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<timestampFormat>yyyy-MM-dd HH:mm</timestampFormat>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-09-12 20:16:11 +08:00
|
|
|
</plugins>
|
2018-10-23 11:11:17 +08:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.codehaus.mojo
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
buildnumber-maven-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.1,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>
|
|
|
|
create-timestamp
|
|
|
|
</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2018-09-12 20:16:11 +08:00
|
|
|
</build>
|
|
|
|
</project>
|