Files
my-worker/parent/pom.xml

382 lines
11 KiB
XML
Raw Normal View History

2018-01-02 20:57:24 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
2018-03-01 20:26:35 +08:00
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2019-07-21 01:30:00 +08:00
<version>2.0.8.RELEASE</version>
2018-03-01 20:26:35 +08:00
</parent>
2018-01-02 20:57:24 +08:00
<groupId>com.jeesite</groupId>
<artifactId>jeesite-parent</artifactId>
2019-10-27 16:00:35 +08:00
<version>4.1.8-SNAPSHOT</version>
2018-01-02 20:57:24 +08:00
<packaging>pom</packaging>
<name>JeeSite Parent</name>
<url>http://jeesite.com</url>
<inceptionYear>2013-Now</inceptionYear>
<properties>
<!-- common version setting -->
<commons-io.version>2.6</commons-io.version>
<commons-fileupload.version>1.3.3</commons-fileupload.version>
<commons-beanutils.version>1.9.3</commons-beanutils.version>
<commons-text.version>1.3</commons-text.version>
<ant.version>1.9.7</ant.version>
<fst.version>2.57</fst.version>
<json.version>20180130</json.version>
2019-09-21 10:21:16 +08:00
<fastjson.version>1.2.61</fastjson.version>
2019-07-26 12:25:11 +08:00
<jackson.version>2.10.0.pr1</jackson.version>
<jsoup.version>1.11.3</jsoup.version>
<commons-email.version>1.5</commons-email.version>
<activation.version>1.1.1</activation.version>
<UserAgentUtils.version>1.21</UserAgentUtils.version>
<!-- <metadata-extractor.version>2.11.0</metadata-extractor.version> -->
<thumbnailator.version>0.4.8</thumbnailator.version>
2018-11-24 20:38:03 +08:00
<twelvemonkeys.version>3.4.1</twelvemonkeys.version>
<blade-patchca.version>1.1.0</blade-patchca.version>
<jmimemagic.version>0.1.5</jmimemagic.version>
<zxing.version>3.3.2</zxing.version>
2019-08-30 10:15:26 +08:00
<poi.version>3.16</poi.version>
<pinyin4j.version>2.5.1</pinyin4j.version>
2018-01-02 20:57:24 +08:00
<!-- framework version setting -->
<mybatis.version>3.4.6</mybatis.version>
2019-11-19 09:54:22 +08:00
<mybatis-spring.version>1.3.3</mybatis-spring.version>
<jsqlparser.version>1.1</jsqlparser.version>
2019-07-03 15:41:30 +08:00
<druid.version>1.1.18</druid.version>
2019-11-19 09:54:22 +08:00
<shiro.version>1.4.2</shiro.version>
<j2cache.version>2.7.0-release</j2cache.version>
2019-09-01 00:21:21 +08:00
<beetl.version>3.0-SNAPSHOT</beetl.version>
<swagger.version>1.5.20</swagger.version>
2018-01-02 20:57:24 +08:00
<!-- environment setting -->
<java.version>1.8</java.version>
<maven.test.skip>true</maven.test.skip>
<maven-surefire-plugin.version>2.18.1</maven-surefire-plugin.version><!-- 降级到该版本新版本可能会出现VM崩溃 -->
<eclipse-plugin-download-sources>false</eclipse-plugin-download-sources>
<eclipse-plugin-download-javadocs>false</eclipse-plugin-download-javadocs>
2018-01-02 20:57:24 +08:00
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Compiler 插件, 设定JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<showWarnings>true</showWarnings>
<!-- <compilerArguments> -->
2018-01-02 20:57:24 +08:00
<!-- <verbose /> 输出有关编译器正在执行的操作的消息 -->
<!-- <bootclasspath>${JAVA_HOME}\jre\lib\rt.jar;${JAVA_HOME}\jre\lib\jce.jar</bootclasspath> -->
<!-- </compilerArguments> -->
2018-01-02 20:57:24 +08:00
</configuration>
</plugin>
<!-- 打包jar文件时配置manifest文件加入lib包的jar依赖 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
2018-12-15 19:54:19 +08:00
<!-- <encoding>${project.build.sourceEncoding}</encoding> -->
2018-01-02 20:57:24 +08:00
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
<executions>
<execution>
<!-- <phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals> -->
<configuration>
<!-- <classesDirectory>${project.outputDirectory}</classesDirectory>
<finalName>${finalName}</finalName>
2018-01-02 20:57:24 +08:00
<outputDirectory>${project.build.directory}/${project.artifactId}/WEB-INF/lib</outputDirectory>
<includes>
2018-06-11 20:21:04 +08:00
<include>com/thinkgem/jeesite/**</include>
</includes> -->
2018-01-02 20:57:24 +08:00
<archive>
<manifest>
<!-- Add directory entries -->
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
2018-01-02 20:57:24 +08:00
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</execution>
</executions>
</plugin>
2018-06-11 20:21:04 +08:00
2018-01-02 20:57:24 +08:00
<!-- resource插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<!-- install插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<!-- clean插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>
2018-01-02 20:57:24 +08:00
<!-- ant插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<!-- dependency插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<!-- 测试用例插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
2018-01-02 20:57:24 +08:00
</plugins>
2018-06-11 20:21:04 +08:00
2018-01-02 20:57:24 +08:00
<pluginManagement>
<plugins>
<!-- 打包插件, war包名称不带版本号 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceExcludes>
WEB-INF/classes/*.lic,
userfiles/**
</warSourceExcludes>
2018-01-02 20:57:24 +08:00
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<warName>${project.artifactId}</warName>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>
<!-- Eclipse 插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>${eclipse-plugin-download-sources}</downloadSources>
<downloadJavadocs>${eclipse-plugin-download-javadocs}</downloadJavadocs>
2018-01-02 20:57:24 +08:00
<wtpversion>2.0</wtpversion>
<jeeversion>6.0</jeeversion>
<additionalConfig>
<file>
<name>.settings/org.eclipse.core.resources.prefs</name>
<content>
<![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${project.build.sourceEncoding}${line.separator}]]>
</content>
</file>
</additionalConfig>
<additionalProjectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
<!-- Java Document Generate -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
2018-06-11 20:21:04 +08:00
<configuration>
2019-07-21 01:30:00 +08:00
<doclint>none</doclint>
2018-06-11 20:21:04 +08:00
</configuration>
2018-01-02 20:57:24 +08:00
</execution>
</executions>
</plugin>
<!-- YUI Compressor (CSS/JS压缩) -->
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
<jswarn>false</jswarn>
<nosuffix>true</nosuffix>
<linebreakpos>30000</linebreakpos>
<force>true</force>
<includes>
<include>**/*.js</include>
<include>**/*.css</include>
</includes>
<excludes>
<exclude>**/*.min.js</exclude>
<exclude>**/*.min.css</exclude>
</excludes>
<!-- <aggregations> -->
<!-- <aggregation> -->
<!-- <removeIncluded>true</removeIncluded> -->
<!-- <insertNewLine>true</insertNewLine> -->
<!-- <inputDir>${project.build.directory}/${project.build.finalName}</inputDir> -->
<!-- <output>${project.build.directory}/${project.build.finalName}/app/js/app.pack.js</output> -->
<!-- <includes> -->
<!-- <include>app/js/app*.js</include> -->
<!-- </includes> -->
<!-- <excludes> -->
<!-- <exclude>**/**min.js</exclude> -->
<!-- </excludes> -->
<!-- </aggregation> -->
<!-- </aggregations> -->
</configuration>
</plugin>
</plugins>
</pluginManagement>
<!-- 资源文件配置 -->
<resources>
<resource>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
2019-07-21 01:30:00 +08:00
<excludes>
<exclude>rebel.xml</exclude>
</excludes>
2018-01-02 20:57:24 +08:00
</resource>
</resources>
</build>
<developers>
<developer>
<id>thinkgem</id>
<name>WangZhen</name>
<email>thinkgem at 163.com</email>
<roles><role>Project lead</role></roles>
<timezone>+8</timezone>
</developer>
</developers>
<organization>
<name>JeeSite</name>
<url>http://jeesite.com</url>
</organization>
<repositories>
<repository>
<id>aliyun-repos</id>
2018-11-25 15:55:57 +08:00
<url>https://maven.aliyun.com/repository/public</url>
2018-01-02 20:57:24 +08:00
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
2019-12-26 11:18:24 +08:00
<repository>
<id>jeesite-repos</id>
<url>http://maven.jeesite.net/repository/maven-public</url>
</repository>
<repository>
<id>sonatype-repos-s</id>
2018-01-02 20:57:24 +08:00
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-repos</id>
2018-11-25 15:55:57 +08:00
<url>https://maven.aliyun.com/repository/public</url>
2018-01-02 20:57:24 +08:00
</pluginRepository>
</pluginRepositories>
<profiles>
2018-06-11 20:21:04 +08:00
2019-12-26 11:18:24 +08:00
<!-- 生成文档 -->
2018-01-02 20:57:24 +08:00
<profile>
2018-06-11 20:21:04 +08:00
<id>javadoc</id>
<build>
<plugins>
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2018-06-11 20:21:04 +08:00
</plugin>
</plugins>
</build>
</profile>
<!-- 打包项目 -->
<profile>
<id>package</id>
<build>
<plugins>
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
</plugin>
</plugins>
2018-06-11 20:21:04 +08:00
</build>
2018-01-02 20:57:24 +08:00
</profile>
<!-- 部署项目 -->
<profile>
2018-06-11 20:21:04 +08:00
<id>deploy</id>
<build>
<plugins>
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
</plugin>
</plugins>
2018-06-11 20:21:04 +08:00
</build>
2018-01-02 20:57:24 +08:00
<distributionManagement>
<snapshotRepository>
2020-01-31 00:30:30 +08:00
<id>jeesite-repos-s</id>
<url>http://maven.jeesite.net/repository/maven-snapshots</url>
2018-01-02 20:57:24 +08:00
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>