Add deploy phase

This commit is contained in:
fullwall 2022-09-09 03:44:45 +08:00
parent 1ccc2eae6d
commit e65ac15b6c
2 changed files with 57 additions and 23 deletions

View File

@ -124,6 +124,18 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@ -165,11 +177,11 @@
<relocation>
<pattern>gnu.trove</pattern>
<shadedPattern>clib.trove</shadedPattern>
</relocation>
</relocation>
<relocation>
<pattern>ch.ethz.globis.phtree</pattern>
<shadedPattern>clib.phtree</shadedPattern>
</relocation>
</relocation>
<relocation>
<pattern>net.kyori</pattern>
<shadedPattern>clib.net.kyori</shadedPattern>

64
pom.xml
View File

@ -1,28 +1,50 @@
<?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>
<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>
<packaging>pom</packaging>
<groupId>net.citizensnpcs</groupId>
<artifactId>citizens-parent</artifactId>
<version>2.0.30-SNAPSHOT</version>
<properties>
<BUILD_NUMBER>Unknown</BUILD_NUMBER>
<CITIZENS_VERSION>2.0.30</CITIZENS_VERSION>
</properties>
<build>
<defaultGoal>clean package install</defaultGoal>
</build>
<modules>
<module>main</module>
<module>v1_8_R3</module>
<module>v1_12_R1</module>
<packaging>pom</packaging>
<groupId>net.citizensnpcs</groupId>
<artifactId>citizens-parent</artifactId>
<version>2.0.30-SNAPSHOT</version>
<properties>
<BUILD_NUMBER>Unknown</BUILD_NUMBER>
<CITIZENS_VERSION>2.0.30</CITIZENS_VERSION>
</properties>
<distributionManagement>
<repository>
<id>citizens-snapshots</id>
<url>https://repo2.citizensnpcs.co/snapshots</url>
</repository>
</distributionManagement>
<build>
<defaultGoal>clean package install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>main</module>
<module>v1_8_R3</module>
<module>v1_12_R1</module>
<module>v1_16_R3</module>
<module>v1_17_R1</module>
<module>v1_18_R2</module>
<module>v1_19_R1</module>
<module>dist</module>
</modules>
<module>dist</module>
</modules>
</project>