Skip to content

Commit

Permalink
Make building easier
Browse files Browse the repository at this point in the history
..although you still need to get some dependencies yourself
  • Loading branch information
XSoussou committed Oct 28, 2023
1 parent 2bc4331 commit 1cb8caf
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 470 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Maven
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
.flattened-pom.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries
Expand Down
46 changes: 27 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.palmergames.bukkit</groupId>
<artifactId>towny</artifactId>
<version>0.95.1.0-1.13.2</version>
<scope>provided</scope>
<groupId>com.palmergames.bukkit.towny</groupId>
<artifactId>Towny</artifactId>
<version>latest</version>
<scope>system</scope>
<systemPath>${basedir}/libs/Towny-0.95.1.0.jar</systemPath>
</dependency>
<dependency>
<groupId>world.bentobox</groupId>
Expand All @@ -95,20 +96,22 @@
<dependency>
<groupId>com.bekvon.bukkit</groupId>
<artifactId>residence</artifactId>
<version>4.8.8.2</version>
<scope>provided</scope>
<version>latest</version>
<scope>system</scope>
<systemPath>${basedir}/libs/Residence4.8.8.2.jar</systemPath>
</dependency>
<dependency>
<groupId>com.earth2me</groupId>
<artifactId>essentials</artifactId>
<version>2.17.1.0</version>
<groupId>net.ess3</groupId>
<artifactId>EssentialsX</artifactId>
<version>2.17.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.dynmap.bukkit</groupId>
<groupId>us.dynmap</groupId>
<artifactId>dynmap</artifactId>
<version>3.0-beta-10-257</version>
<scope>provided</scope>
<version>latest</version>
<scope>system</scope>
<systemPath>${basedir}/libs/Dynmap-3.2.1-spigot.jar</systemPath>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
Expand All @@ -117,21 +120,22 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.Zrips</groupId>
<groupId>CMI-API</groupId>
<artifactId>CMI-API</artifactId>
<version>9.0.0.0</version>
<scope>provided</scope>
<version>latest</version>
<scope>system</scope>
<systemPath>${basedir}/libs/CMI-API9.3.1.2.jar</systemPath>
</dependency>
<dependency>
<groupId>com.griefcraft.lwc</groupId>
<artifactId>LWCX</artifactId>
<version>2.2.5</version>
<groupId>com.griefcraft</groupId>
<artifactId>lwc</artifactId>
<version>2.2.9-dev</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>nl.rutgerkok</groupId>
<artifactId>blocklocker</artifactId>
<version>1.7</version>
<version>1.9</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -172,6 +176,7 @@
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
Expand Down Expand Up @@ -206,6 +211,9 @@
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>materials-translated/**</exclude>
</excludes>
</resource>
</resources>
</build>
Expand Down
Loading

0 comments on commit 1cb8caf

Please sign in to comment.