Jpom/modules/sub-plugin/docker-cli/pom.xml

98 lines
3.8 KiB
XML
Raw Normal View History

2022-01-25 18:31:22 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
2022-02-22 21:51:42 +08:00
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-24 16:03:25 +08:00
<version>2.8.13</version>
2022-02-22 21:51:42 +08:00
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>io.jpom.plugins</groupId>
<artifactId>docker-cli</artifactId>
<name>plugin-docker-cli</name>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
2022-01-25 18:31:22 +08:00
2022-02-22 21:51:42 +08:00
<docker-java-version>3.2.12</docker-java-version>
</properties>
2022-01-25 18:31:22 +08:00
2022-02-22 21:51:42 +08:00
<dependencies>
<dependency>
<groupId>io.jpom</groupId>
<artifactId>common</artifactId>
<scope>provided</scope>
<version>${project.version}</version>
</dependency>
<!--Docker Client-->
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java</artifactId>
<version>${docker-java-version}</version>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>${docker-java-version}</version>
</dependency>
</dependencies>
2022-01-25 18:31:22 +08:00
2022-02-22 21:51:42 +08:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<archive>
<manifest>
<!-- 是否指定项目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>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<!--这里要替换成jar包main方法所在类 -->
</manifest>
</archive>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>script/release.xml</descriptor>
</descriptors>
2022-01-25 18:31:22 +08:00
2022-02-22 21:51:42 +08:00
</configuration>
2022-02-06 19:59:10 +08:00
2022-02-22 21:51:42 +08:00
<executions>
2022-02-06 19:59:10 +08:00
2022-02-22 21:51:42 +08:00
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- 指定在打包节点执行jar包合并操作 -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
2022-02-06 19:59:10 +08:00
2022-01-25 18:31:22 +08:00
</project>