Jpom/modules/server/pom.xml

239 lines
9.0 KiB
XML
Raw Normal View History

2019-04-16 10:50:45 +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">
<parent>
<artifactId>jpom-parent</artifactId>
<groupId>io.jpom</groupId>
2022-02-25 13:19:26 +08:00
<version>2.8.14</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>Jpom 服务端</name>
<artifactId>server</artifactId>
2022-02-25 13:19:26 +08:00
<version>2.8.14</version>
<properties>
<start-class>io.jpom.JpomServerApplication</start-class>
</properties>
<dependencies>
2021-07-08 23:44:12 +08:00
<dependency>
<groupId>io.jpom</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
2019-04-16 18:46:30 +08:00
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>webhook</artifactId>
<version>${project.version}</version>
</dependency>
2021-12-22 13:38:54 +08:00
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>auto-charset-jchardet</artifactId>
<version>${project.version}</version>
</dependency>
2021-12-24 13:27:19 +08:00
<!--websocket作为客户端-->
<dependency>
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
<version>1.5.2</version>
</dependency>
2019-04-19 16:59:27 +08:00
<!-- 数据库-->
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>db-h2</artifactId>
<version>${project.version}</version>
</dependency>
2019-07-09 19:20:01 +08:00
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>git-clone</artifactId>
<version>${project.version}</version>
</dependency>
2021-07-21 23:26:55 +08:00
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.55</version>
</dependency>
2019-08-04 20:27:26 +08:00
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>svn-clone</artifactId>
<version>${project.version}</version>
</dependency>
2022-01-26 17:58:11 +08:00
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>docker-cli</artifactId>
<version>${project.version}</version>
</dependency>
2019-08-04 20:27:26 +08:00
<!--邮件-->
<dependency>
<groupId>io.jpom.plugins</groupId>
<artifactId>email</artifactId>
<version>${project.version}</version>
</dependency>
2020-10-31 18:32:30 +08:00
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.4.0-b180830.0359</version>
</dependency>
<!--Spring Junit Test-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<archive>
<manifest>
<mainClass>${start-class}</mainClass>
<!-- 是否指定项目classpath下的依赖 -->
<addClasspath>true</addClasspath>
<!-- 指定依赖的时候声明前缀 -->
<classpathPrefix>./</classpathPrefix>
</manifest>
<manifestEntries>
<!-- 项目版本号 -->
<Jpom-Project-Version>${project.version}</Jpom-Project-Version>
<!-- 打包时间 -->
<Jpom-Timestamp>${maven.build.timestamp}</Jpom-Timestamp>
<Jpom-Type>${project.artifactId}</Jpom-Type>
<Implementation-URL>https://gitee.com/dromara/Jpom</Implementation-URL>
<Jpom-Min-Version>${jpom-min-version}</Jpom-Min-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
<resources>
<!--版权文件,更新日志-->
<resource>
<filtering>false</filtering>
<directory>../../</directory>
<includes>
<include>CHANGELOG.md</include>
<include>LICENSE</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
</build>
2019-08-13 15:53:56 +08:00
<profiles>
<profile>
<id>server-default-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<mainClass>${start-class}</mainClass>
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
<!-- <excludeGroupIds>io.jpom.plugins</excludeGroupIds>-->
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<descriptors>
<descriptor>script/release.xml</descriptor>
</descriptors>
<outputDirectory>target</outputDirectory>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
2022-02-24 17:07:52 +08:00
<!-- 生成 sha1 校验文件 -->
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.11</version>
<executions>
<execution>
<id>checksum-maven-plugin-files</id>
<phase>package</phase>
<goals>
<goal>files</goal>
</goals>
</execution>
</executions>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>*.zip</include>
<include>*.tar.gz</include>
</includes>
</fileSet>
</fileSets>
<algorithms>
<algorithm>SHA-1</algorithm>
</algorithms>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- 安装插件引人-->
<profile>
<id>install-plugin-profile</id>
</profile>
<profile>
<id>release-plugin-profile</id>
</profile>
2019-08-13 16:41:15 +08:00
<!-- 插件开发-->
<profile>
<id>develop-plugin-profile</id>
<dependencies>
<dependency>
<groupId>io.jpom.jpom-plugin</groupId>
<artifactId>netty</artifactId>
<version>LATEST</version>
</dependency>
</dependencies>
</profile>
</profiles>
2019-07-09 19:20:01 +08:00
</project>