Jpom/pom.xml

238 lines
8.8 KiB
XML
Raw Normal View History

2017-09-14 17:23:46 +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>
2019-04-16 10:50:45 +08:00
<packaging>pom</packaging>
<modules>
2020-10-31 18:32:30 +08:00
<module>modules/agent</module>
<module>modules/server</module>
<module>modules/common</module>
2019-04-16 10:50:45 +08:00
</modules>
2017-09-14 17:55:02 +08:00
<parent>
2018-08-28 19:39:04 +08:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
2019-07-31 22:42:01 +08:00
<version>2.1.6.RELEASE</version>
2017-09-14 17:55:02 +08:00
</parent>
2019-08-23 10:55:41 +08:00
<groupId>io.jpom</groupId>
2019-08-13 17:48:32 +08:00
<artifactId>jpom-parent</artifactId>
2019-02-26 11:43:48 +08:00
<name>Jpom Java项目在线管理</name>
2019-07-25 14:43:19 +08:00
<description>
一款简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
</description>
2019-01-03 12:04:33 +08:00
<inceptionYear>2017</inceptionYear>
2021-03-29 09:49:29 +08:00
<version>2.5.0</version>
2021-03-29 14:54:16 +08:00
<url>https://gitee.com/dromara/Jpom</url>
2017-09-14 17:55:02 +08:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
2019-07-31 22:42:01 +08:00
<common-boot.version>[2.0.0,2.0.99]</common-boot.version>
2019-08-14 00:36:26 +08:00
<docker.registryUrl>registry.cn-beijing.aliyuncs.com</docker.registryUrl>
<docker.registry.name>fengshunli</docker.registry.name>
<docker.workdir>/tmp/</docker.workdir>
2019-09-17 13:04:36 +08:00
<!-- 跳过测试 -->
<skipTests>true</skipTests>
2021-01-12 13:28:33 +08:00
<maven.test.skip>true</maven.test.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
2021-04-16 22:54:40 +08:00
<hutool-all.version>[5.6.0,5.6.99]</hutool-all.version>
2017-09-14 17:55:02 +08:00
</properties>
<dependencies>
2018-01-20 15:10:04 +08:00
<dependency>
2018-06-25 22:23:59 +08:00
<groupId>cn.jiangzeyin.fast-boot</groupId>
2018-01-20 15:10:04 +08:00
<artifactId>common-boot</artifactId>
2018-09-28 10:02:23 +08:00
<version>${common-boot.version}</version>
2020-10-28 10:47:52 +08:00
<exclusions>
<exclusion>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool-all.version}</version>
2018-01-20 15:10:04 +08:00
</dependency>
2020-10-28 10:47:52 +08:00
2017-09-14 17:55:02 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
2019-04-18 16:32:07 +08:00
<!-- aop-->
2017-09-15 16:09:07 +08:00
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
2019-04-18 16:32:07 +08:00
2019-04-16 10:50:45 +08:00
<!-- tools-->
2019-03-15 15:04:38 +08:00
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>${java.version}</version>
<scope>system</scope>
<systemPath>${toolsJar}</systemPath>
2019-03-15 15:04:38 +08:00
</dependency>
2019-04-17 12:11:01 +08:00
2019-04-19 10:10:55 +08:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
2019-09-04 15:01:17 +08:00
<!-- 性能测试 -->
<dependency>
<groupId>org.databene</groupId>
<artifactId>contiperf</artifactId>
<version>2.3.4</version>
<scope>test</scope>
</dependency>
2017-09-14 17:55:02 +08:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
2019-08-23 22:37:49 +08:00
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>date</name>
<placement>a</placement>
<head>创建时间</head>
</tag>
</tags>
</configuration>
</plugin>
2019-08-23 23:12:47 +08:00
<!-- source插件,打包源码 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
2018-07-05 16:10:36 +08:00
<plugin>
2019-08-14 00:36:26 +08:00
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.13</version>
2019-08-13 17:36:38 +08:00
<configuration>
2019-08-14 00:36:26 +08:00
<pushImage>true</pushImage>
<!-- <dockerHost>http://39.105.190.109:2375</dockerHost>-->
<imageName>${docker.registryUrl}/${docker.registry.name}/${project.artifactId}:${pom.version}
</imageName>
<baseImage>adoptopenjdk/openjdk8:jdk8u212-b03</baseImage>
<maintainer>fsl 1171313930@qq.com</maintainer>
<cmd>["java","-Xbootclasspath/a:/opt/java/openjdk/lib/tools.jar", "-Xms256m","-Xmx512m", "-jar",
"${docker.workdir}${project.build.finalName}.jar", "--jpom.path=/opt/jpom/server"]
</cmd>
<resources>
<resource>
<targetPath>${docker.workdir}</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
2019-08-13 17:36:38 +08:00
</configuration>
2017-09-14 17:55:02 +08:00
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>default-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
<file>
2019-08-09 16:47:37 +08:00
<exists>${env.JAVA_HOME}/lib/tools.jar</exists>
</file>
</activation>
<properties>
2019-08-09 16:47:37 +08:00
<toolsJar>${env.JAVA_HOME}/lib/tools.jar</toolsJar>
</properties>
</profile>
<profile>
<id>mac-profile</id>
<activation>
<activeByDefault>false</activeByDefault>
<file>
2019-08-10 01:15:26 +08:00
<exists>${java.home}/../lib/tools.jar</exists>
</file>
</activation>
<properties>
2019-08-10 01:15:26 +08:00
<toolsJar>${java.home}/../lib/tools.jar</toolsJar>
</properties>
</profile>
2019-08-13 17:36:38 +08:00
<profile>
<id>install-plugin-profile</id>
2019-08-24 13:39:22 +08:00
</profile>
<profile>
<id>release-plugin-profile</id>
2019-08-13 17:36:38 +08:00
<distributionManagement>
<snapshotRepository>
<id>maven-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>maven-repo</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>verify-gpg</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2019-08-25 19:11:12 +08:00
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
2019-07-23 16:58:43 +08:00
</project>