Skip to content
Permalink
Browse files

Update Pom_Deb to match Pom, necessary changes to deploy-on-release

Pom_Deb should now use the same versions as the main Pom.

Main Pom now defines to build JavaDocs on Install phase

Deploy on Release now uses
  • Loading branch information
TheFlagCourier committed Jan 9, 2020
1 parent b6c5cc2 commit f1f2292c1d1c5825ce6a66315f10acc014d24ccd
Showing with 7 additions and 5 deletions.
  1. +2 −1 .github/workflows/deploy-on-release.yml
  2. +1 −0 pom.xml
  3. +4 −4 pom_deb.xml
@@ -20,5 +20,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir ~/.m2
echo "<settings><servers><server><id>github</id><username>TownyAdvanced</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml
echo "<settings><servers><server><id>github-towny</id><username>TownyAdvanced</username><password>${GITHUB_TOKEN}</password></server>" > ~/.m2/settings.xml
echo "<server><id>github-tne</id><username>TownyAdvanced</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" >> ~/.m2/settings.xml
mvn -B deploy --file pom_deb.xml
@@ -153,6 +153,7 @@
<version>3.1.1</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
@@ -38,7 +38,7 @@
<!-- https://help.github.com/en/articles/about-github-package-registry -->
<distributionManagement>
<repository>
<id>github</id>
<id>github-towny</id>
<name>GitHub TownyAdvanced Apache Maven Packages</name>
<url>https://maven.pkg.github.com/TownyAdvanced/Towny</url>
</repository>
@@ -59,7 +59,7 @@
<url>https://jitpack.io</url>
</repository>
<repository>
<id>github</id>
<id>github-tne</id>
<url>https://maven.pkg.github.com/TheNewEconomy/packages/</url>
</repository>
<repository>
@@ -85,13 +85,13 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.14.4-R0.1-SNAPSHOT</version>
<version>1.15.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.tnemc</groupId>
<artifactId>Reserve</artifactId>
<version>0.1.3.2</version>
<version>0.1.4.5</version>
<scope>provided</scope>
</dependency>
<dependency>

0 comments on commit f1f2292

Please sign in to comment.
You can’t perform that action at this time.