Files
my-worker/parent/pom.xml

500 lines
15 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"
2022-07-04 15:49:06 +08:00
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2018-01-02 20:57:24 +08:00
<modelVersion>4.0.0</modelVersion>
2022-07-04 15:49:06 +08:00
2022-09-20 08:48:47 +08:00
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
2022-09-20 08:48:47 +08:00
<relativePath />
</parent>
2018-01-02 20:57:24 +08:00
<groupId>com.jeesite</groupId>
<artifactId>jeesite-parent</artifactId>
2024-02-23 14:05:06 +08:00
<version>5.7.0-SNAPSHOT</version>
2018-01-02 20:57:24 +08:00
<packaging>pom</packaging>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<name>JeeSite Parent</name>
<url>http://jeesite.com</url>
<inceptionYear>2013-Now</inceptionYear>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<properties>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<!-- common version setting -->
<commons-io.version>2.13.0</commons-io.version>
2022-10-14 16:57:41 +08:00
<commons-text.version>1.10.0</commons-text.version>
<commons-email.version>1.5</commons-email.version>
2023-07-11 10:16:12 +08:00
<jackson-bom2.version>2.16.0</jackson-bom2.version>
<fastjson.version>2.0.43</fastjson.version>
2023-07-11 10:16:12 +08:00
<fst.version>2.57</fst.version>
2023-08-22 17:10:16 +08:00
<snakeyaml.version>1.33</snakeyaml.version>
2023-07-11 10:16:12 +08:00
<activation.version>1.1.1</activation.version>
<UserAgentUtils.version>1.21</UserAgentUtils.version>
2023-07-11 10:16:12 +08:00
<metadata-extractor.version>2.11.0</metadata-extractor.version>
<thumbnailator.version>0.4.19</thumbnailator.version>
<twelvemonkeys.version>3.9.3</twelvemonkeys.version>
<blade-patchca.version>1.1.2</blade-patchca.version>
<jmimemagic.version>0.1.5</jmimemagic.version>
<zxing.version>3.5.1</zxing.version>
2023-07-11 10:16:12 +08:00
<poi.version>5.2.3</poi.version>
<pinyin4j.version>2.5.1</pinyin4j.version>
<groovy.version>3.0.17</groovy.version>
2023-07-11 10:16:12 +08:00
2023-04-10 15:10:29 +08:00
<joda-time.version>2.10.4</joda-time.version>
2023-04-15 11:50:02 +08:00
<logstash-logback.version>7.3</logstash-logback.version>
2023-04-10 15:10:29 +08:00
<elasticsearch.version>7.17.8</elasticsearch.version>
<lucene.version>8.11.1</lucene.version>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<!-- framework version setting -->
<mybatis.version>3.5.14</mybatis.version>
2022-05-08 16:20:26 +08:00
<mybatis-spring.version>2.0.7</mybatis-spring.version>
<jsqlparser.version>4.6</jsqlparser.version>
<druid.version>1.2.21</druid.version>
<shiro.version>1.13.0</shiro.version>
<j2cache.version>2.8.0-release</j2cache.version>
2022-09-13 14:48:22 +08:00
<swagger.version>1.6.6</swagger.version>
<!--<log4j2.version>2.21.1</log4j2.version>-->
2022-07-04 15:49:06 +08:00
2023-01-31 15:23:47 +08:00
<!-- jdbc setting -->
<h2.version>1.4.200</h2.version>
2018-01-02 20:57:24 +08:00
<!-- environment setting -->
<java.version>1.8</java.version>
<!--<tomcat.version>9.0.75</tomcat.version>-->
<maven.test.skip>true</maven.test.skip>
2022-07-04 15:49:06 +08:00
<resource.delimiter>@</resource.delimiter>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
2022-09-20 08:48:47 +08:00
<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>
2022-07-04 15:49:06 +08:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- docker setting -->
2023-10-16 07:00:46 +08:00
<docker.dockerHost>http://docker.local:2375</docker.dockerHost>
2024-02-28 10:35:36 +08:00
<docker.imageName>thinkgem/${project.artifactId}:latest</docker.imageName>
<docker.platform>linux/amd64</docker.platform>
2022-04-24 17:48:16 +08:00
<docker.run.port>8980:8980</docker.run.port>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
</properties>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<build>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<plugins>
2022-07-04 15:49:06 +08:00
2022-04-30 11:16:41 +08:00
<!-- compiler插件 -->
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
2022-07-04 15:49:06 +08:00
2022-04-30 11:16:41 +08:00
<!-- jar插件 -->
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<!-- resource插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
2022-07-04 15:49:06 +08:00
2023-07-30 20:09:04 +08:00
<!-- timestamp插件 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
2018-01-02 20:57:24 +08:00
</plugins>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<pluginManagement>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<plugins>
2022-04-30 11:16:41 +08:00
<!-- compiler插件设定JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!--<version>3.8.1</version>-->
2022-04-30 11:16:41 +08:00
<configuration>
2022-07-04 15:49:06 +08:00
<parameters>true</parameters>
2022-04-30 11:16:41 +08:00
<showWarnings>true</showWarnings>
<!-- <compilerArguments>
<verbose /> 输出有关编译器正在执行的操作的消息
<bootclasspath>${JAVA_HOME}\jre\lib\rt.jar;${JAVA_HOME}\jre\lib\jce.jar</bootclasspath>
</compilerArguments> -->
</configuration>
</plugin>
2023-07-30 20:09:04 +08:00
<!-- timestamp插件生成编译时间 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>timestamp-property</id>
<goals>
<goal>timestamp-property</goal>
</goals>
<configuration>
<name>build.time</name>
<pattern>yyyy-MM-dd HH:mm</pattern>
<timeZone>GMT+8</timeZone>
</configuration>
</execution>
</executions>
</plugin>
2022-04-30 11:16:41 +08:00
<!-- jar插件配置manifest文件加入lib包的jar依赖 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<!--<version>3.2.2</version>-->
2022-04-30 11:16:41 +08:00
<configuration>
<archive>
2022-07-04 15:49:06 +08:00
<manifest>
<!--suppress UnresolvedMavenProperty -->
<mainClass>${start-class}</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
2022-04-30 11:16:41 +08:00
<addMavenDescriptor>false</addMavenDescriptor>
2023-04-13 10:37:22 +08:00
<manifestEntries>
2023-07-30 20:13:39 +08:00
<!--suppress UnresolvedMavenProperty -->
2023-07-30 20:09:04 +08:00
<Build-Time>${build.time}</Build-Time>
2023-04-13 10:37:22 +08:00
</manifestEntries>
2022-04-30 11:16:41 +08:00
</archive>
</configuration>
<executions>
<execution>
<configuration>
<excludes>
<exclude>userfiles/**</exclude>
</excludes>
2022-07-04 15:49:06 +08:00
<finalName>${project.artifactId}</finalName>
2022-04-30 11:16:41 +08:00
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</execution>
</executions>
</plugin>
2022-07-04 15:49:06 +08:00
2022-04-30 11:16:41 +08:00
<!-- war插件war包名称不带版本号 -->
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<!--<version>3.3.2</version>-->
2018-01-02 20:57:24 +08:00
<configuration>
<warSourceExcludes>
userfiles/**
</warSourceExcludes>
2018-01-02 20:57:24 +08:00
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<warName>${project.artifactId}</warName>
2022-05-08 16:20:26 +08:00
<failOnMissingWebXml>false</failOnMissingWebXml>
2018-01-02 20:57:24 +08:00
<archive>
2022-07-04 15:49:06 +08:00
<manifest>
<!--suppress UnresolvedMavenProperty -->
<mainClass>${start-class}</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
2018-01-02 20:57:24 +08:00
<addMavenDescriptor>false</addMavenDescriptor>
2023-04-13 10:37:22 +08:00
<manifestEntries>
2023-07-30 20:13:39 +08:00
<!--suppress UnresolvedMavenProperty -->
2023-07-30 20:09:04 +08:00
<Build-Time>${build.time}</Build-Time>
2023-04-13 10:37:22 +08:00
</manifestEntries>
2018-01-02 20:57:24 +08:00
</archive>
</configuration>
</plugin>
2022-07-04 15:49:06 +08:00
<!-- resource插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<!--<version>3.2.0</version>-->
2022-07-04 15:49:06 +08:00
<configuration>
<propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
<delimiters>
<delimiter>${resource.delimiter}</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
2022-10-12 13:53:05 +08:00
<!-- exec插件 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<!--<version>3.1.0</version>-->
2022-10-12 13:53:05 +08:00
</plugin>
2022-07-04 15:49:06 +08:00
<!-- springboot插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>
2018-01-02 20:57:24 +08:00
<!-- Eclipse 插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
2024-01-10 13:04:34 +08:00
<version>2.10</version>
2018-01-02 20:57:24 +08:00
<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>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<!-- Java Document Generate -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2021-03-16 15:41:04 +08:00
<version>3.2.0</version>
2018-01-02 20:57:24 +08:00
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
</goals>
2022-04-18 17:07:23 +08:00
<!-- <configuration>
<additionalparam>-Xdoclint:none</additionalparam>
2022-04-18 17:07:23 +08:00
</configuration> -->
2018-01-02 20:57:24 +08:00
</execution>
</executions>
</plugin>
2022-07-04 15:49:06 +08:00
2020-03-08 01:13:37 +08:00
<!-- JavaScript CSS Compress -->
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>com.jeesite.maven</groupId>
<artifactId>compressor-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
2018-01-02 20:57:24 +08:00
<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>
2021-02-18 16:06:23 +08:00
<exclude>**/WEB-INF/classes/**</exclude>
2018-01-02 20:57:24 +08:00
<exclude>**/*.min.js</exclude>
<exclude>**/*.min.css</exclude>
</excludes>
</configuration>
</plugin>
2022-07-04 15:49:06 +08:00
2022-04-11 10:30:20 +08:00
<!-- Eclipse m2e settings only -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
2022-04-11 10:30:20 +08:00
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
2022-07-04 15:49:06 +08:00
<!--suppress UnresolvedMavenProperty -->
2022-04-11 10:30:20 +08:00
<versionRange>${maven-dependency-plugin.version}</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
2022-04-11 10:30:20 +08:00
</plugin>
2022-07-04 15:49:06 +08:00
2023-10-16 07:00:46 +08:00
<!-- Docker 插件 https://dmp.fabric8.io - https://github.com/fabric8io/docker-maven-plugin -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
2023-10-16 07:00:46 +08:00
<version>0.43.4</version>
<configuration>
<dockerHost>${docker.dockerHost}</dockerHost>
<verbose>true</verbose>
<images>
<image>
<name>${docker.imageName}</name>
<alias>${project.artifactId}</alias>
<build>
<dockerFile>${project.basedir}/bin/docker/Dockerfile</dockerFile>
2024-02-28 10:35:36 +08:00
<buildOptions>
<platform>${docker.platform}</platform>
</buildOptions>
<assembly>
<descriptorRef>artifact</descriptorRef>
</assembly>
</build>
<run>
<ports>
<port>${docker.run.port}</port>
</ports>
2020-06-06 09:56:31 +08:00
<network>
<mode>host</mode>
</network>
</run>
</image>
</images>
</configuration>
</plugin>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
</plugins>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
</pluginManagement>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<!-- 资源文件配置 -->
<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>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
</build>
2022-07-04 15:49:06 +08:00
<developers>
2018-01-02 20:57:24 +08:00
<developer>
<id>thinkgem</id>
<name>WangZhen</name>
<email>thinkgem at 163.com</email>
<roles><role>Project lead</role></roles>
2022-07-04 15:49:06 +08:00
<timezone>+8</timezone>
2018-01-02 20:57:24 +08:00
</developer>
</developers>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<organization>
<name>JeeSite</name>
<url>http://jeesite.com</url>
</organization>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<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>
2023-08-21 13:10:53 +08:00
<url>https://maven.jeesite.net/repository/maven-public</url>
2019-12-26 11:18:24 +08:00
</repository>
2018-01-02 20:57:24 +08:00
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-repos</id>
2018-11-25 15:55:57 +08:00
<url>https://maven.aliyun.com/repository/public</url>
2020-07-30 10:44:56 +08:00
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</pluginRepository>
<pluginRepository>
<id>jeesite-repos</id>
2023-08-21 13:10:53 +08:00
<url>https://maven.jeesite.net/repository/maven-public</url>
2018-01-02 20:57:24 +08:00
</pluginRepository>
</pluginRepositories>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<profiles>
2022-07-04 15:49:06 +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>
2022-07-04 15:49:06 +08:00
2018-06-11 20:21:04 +08:00
<profile>
<id>package</id>
<build>
<plugins>
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>com.jeesite.maven</groupId>
<artifactId>compressor-maven-plugin</artifactId>
2018-01-02 20:57:24 +08:00
</plugin>
</plugins>
2018-06-11 20:21:04 +08:00
</build>
2018-01-02 20:57:24 +08:00
</profile>
2022-07-04 15:49:06 +08:00
2018-01-02 20:57:24 +08:00
<profile>
2018-06-11 20:21:04 +08:00
<id>deploy</id>
<build>
<plugins>
2018-01-02 20:57:24 +08:00
<plugin>
<groupId>com.jeesite.maven</groupId>
<artifactId>compressor-maven-plugin</artifactId>
2018-01-02 20:57:24 +08:00
</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>
2023-08-21 13:10:53 +08:00
<url>https://maven.jeesite.net/repository/maven-snapshots</url>
2018-01-02 20:57:24 +08:00
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>