datagear/datagear-web/pom.xml

245 lines
7.0 KiB
XML
Raw Normal View History

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>
2020-10-29 10:00:49 +08:00
<version>2.0.0</version>
2018-09-12 20:16:11 +08:00
</parent>
<artifactId>datagear-web</artifactId>
<name>datagear-web</name>
2020-10-29 21:23:15 +08:00
<packaging>war</packaging>
2018-09-12 20:16:11 +08:00
<properties>
<dist.log4j.rootLogger>INFO, A1</dist.log4j.rootLogger>
2018-09-12 20:16:11 +08:00
</properties>
<dependencies>
<dependency>
<groupId>org.datagear</groupId>
<artifactId>datagear-persistence</artifactId>
2018-09-12 20:16:11 +08:00
<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>
<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>
<artifactId>javax.servlet-api</artifactId>
2018-09-12 20:16:11 +08:00
<scope>provided</scope>
</dependency>
<dependency>
2020-10-29 21:23:15 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
2018-09-12 20:16:11 +08:00
</dependency>
<dependency>
2020-10-29 21:23:15 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
2018-09-12 20:16:11 +08:00
</dependency>
<dependency>
2020-10-29 21:23:15 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>${javax.json.version}</version>
2018-09-12 20:16:11 +08:00
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
2018-09-12 20:16:11 +08:00
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
2018-09-12 20:16:11 +08:00
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-server</artifactId>
2020-10-29 21:23:15 +08:00
<version>4.0.9</version>
</dependency>
2018-09-12 20:16:11 +08:00
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
2020-10-29 21:23:15 +08:00
<include>datagear-version.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
2020-10-29 21:23:15 +08:00
<exclude>datagear-version.properties</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>
2018-09-12 20:16:11 +08:00
<plugins>
2020-10-29 21:23:15 +08:00
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
2018-09-12 20:16:11 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
2018-09-12 20:16:11 +08:00
<executions>
<!-- 打包前修改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-10-29 21:23:15 +08:00
<replace file="${project.build.outputDirectory}/log4j.properties"
2018-09-12 20:16:11 +08:00
token="DEBUG, A0" value="${dist.log4j.rootLogger}" />
</tasks>
</configuration>
</execution>
<!-- 拷贝LICENSE文件 -->
<execution>
<id>copyLICENSE</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="../LICENSE" todir="${project.build.outputDirectory}" />
</tasks>
</configuration>
</execution>
2018-09-12 20:16:11 +08:00
</executions>
</plugin>
<!-- 构建日期 -->
<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>
<timestampPropertyName>buildtimestamp</timestampPropertyName>
</configuration>
</plugin>
2018-09-12 20:16:11 +08:00
</plugins>
<pluginManagement>
<plugins>
2020-10-29 21:23:15 +08:00
<!-- 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>