mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
feat: use minecraft plugin parent pom
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
fcf06780f0
commit
42ed92ac0f
83
pom.xml
83
pom.xml
@ -1,53 +1,20 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>pw.yumc</groupId>
|
|
||||||
<artifactId>Yum</artifactId>
|
<artifactId>Yum</artifactId>
|
||||||
<version>2.7.10</version>
|
<version>2.7.10</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<description>Minecraft 服务器插件管理系统</description>
|
<description>Minecraft 服务器插件管理系统</description>
|
||||||
<build>
|
|
||||||
<finalName>${project.artifactId}</finalName>
|
<parent>
|
||||||
<resources>
|
<groupId>pw.yumc</groupId>
|
||||||
<resource>
|
<artifactId>minecraft-plugin-parent</artifactId>
|
||||||
<directory>src/main/resources</directory>
|
<version>1.0</version>
|
||||||
<filtering>true</filtering>
|
<relativePath/>
|
||||||
</resource>
|
</parent>
|
||||||
</resources>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
|
||||||
<version>2.4.3</version>
|
|
||||||
<configuration>
|
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
||||||
<minimizeJar>true</minimizeJar>
|
|
||||||
<artifactSet>
|
|
||||||
<includes>
|
|
||||||
<include>pw.yumc:YumCore</include>
|
|
||||||
</includes>
|
|
||||||
</artifactSet>
|
|
||||||
<relocations>
|
|
||||||
<relocation>
|
|
||||||
<pattern>pw.yumc.YumCore</pattern>
|
|
||||||
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
|
|
||||||
</relocation>
|
|
||||||
</relocations>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>shade</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
<ciManagement>
|
|
||||||
<system>Jenkins</system>
|
|
||||||
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
|
|
||||||
</ciManagement>
|
|
||||||
<properties>
|
<properties>
|
||||||
<update.description>§a补丁包 2.7.10 版本</update.description>
|
<update.description>§a补丁包 2.7.10 版本</update.description>
|
||||||
<update.changes>
|
<update.changes>
|
||||||
@ -76,26 +43,8 @@
|
|||||||
<maven.compiler.source>1.7</maven.compiler.source>
|
<maven.compiler.source>1.7</maven.compiler.source>
|
||||||
<maven.compiler.target>1.7</maven.compiler.target>
|
<maven.compiler.target>1.7</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>yumc-repo</id>
|
|
||||||
<url>http://repo.yumc.pw/content/groups/public/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>jtb</id>
|
|
||||||
<name>YUMC</name>
|
|
||||||
<url>http://repo.yumc.pw/content/repositories/yumcenter/</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>pw.yumc</groupId>
|
|
||||||
<artifactId>YumCore</artifactId>
|
|
||||||
<type>jar</type>
|
|
||||||
<version>[1.8.1,)</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>pw.yumc</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>BukkitInjectedTools</artifactId>
|
<artifactId>BukkitInjectedTools</artifactId>
|
||||||
@ -103,4 +52,12 @@
|
|||||||
<version>[1.1,)</version>
|
<version>[1.1,)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
Loading…
Reference in New Issue
Block a user