Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <!-- Change to your own main package name. -->
- <groupId>games.coob</groupId>
- <!-- Change to your plugin name, must be lower cased and match your end package name. No spaces. -->
- <artifactId>laserturrets</artifactId>
- <!-- Change to your plugin's name. Can contain capital letters, but do NOT use spaces. -->
- <name>LaserTurrets</name>
- <!-- Change to the appropriate plugin's version, starting at 1.0.0. -->
- <version>3.0.0</version>
- <!-- DO NOT EDIT. -->
- <packaging>jar</packaging>
- <properties>
- <!-- Change to your name or the main project author. -->
- <author>JackOUT</author>
- <!-- Change to the full path where your main plugin class is located. -->
- <main.class>games.coob.laserturrets.LaserTurrets</main.class>
- <!-- Change the Java version this plugin is built on.
- IMPORTANT: For Java 8, version is "1.8", for Java 11+ it is only "11" or "17".
- If you use 1.8 then your plugin will work on newer versions,
- but if you use "11" or "17" then it will NOT load on servers
- with previous Java versions. We recommend you stick with 1.8.
- -->
- <java.version>17</java.version>
- <!-- Change to the latest version from https://github.com/kangarko/Foundation/releases
- or change to "LATEST" if you downloaded Foundation to your disk and compiled it. -->
- <foundation.version>6.3.4</foundation.version>
- <lands.version>6.28.11</lands.version>
- <kingdoms.version>1.15.4.2-SNAPSHOT</kingdoms.version>
- <simpleclans.version>2.18.1</simpleclans.version>
- <betterteams.version>4.6.3</betterteams.version>
- <uclans.version>6.1.0-r2</uclans.version>
- <!-- Leave on "com.github.kangarko" if you use Foundation from GitHub like most people,
- or change to "org.mineacademy" if you downloaded our library to your disk and compiled it. -->
- <foundation.path>com.github.kangarko</foundation.path>
- <!-- DO NOT EDIT. -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <repositories>
- <!-- DO NOT EDIT, used to pull Foundation from the JitPack site. -->
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- <repository>
- <id>snapshots-repo</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>roinujnosde-repo</id>
- <url>https://repo.roinujnosde.me/releases/</url>
- </repository>
- </repositories>
- <!-- Do NOT edit. -->
- <pluginRepositories>
- <pluginRepository>
- <id>maven-snapshots</id>
- <url>https://repository.apache.org/content/repositories/snapshots/</url>
- </pluginRepository>
- </pluginRepositories>
- <dependencies>
- <!-- We do not need to import Spigot API since it is made available through Foundation below.
- If you want to code for another MC version, import it above Foundation as per https://www.spigotmc.org/wiki/spigot-maven/ -->
- <!-- Use our Foundation library. It contains the latest Spigot API, you only need to import that if you build
- for a different version. In that case, place your API above Foundation so Maven will prioritize it. -->
- <dependency>
- <groupId>${foundation.path}</groupId>
- <artifactId>Foundation</artifactId>
- <version>${foundation.version}</version>
- </dependency>
- <!-- (Optional) Access the server jar for NMS (groupId, artifactId and version do not matter,
- but keep version in artifactId and not in version if using multiple NMS imports,
- otherwise Maven will fail to import them correctly).
- NB: The <systemPath> is set to the "library" folder in your source folder (in the same parent
- directory where you have "target" and will look for file patched_1.8.8.jar there as an example. -->
- <dependency>
- <groupId>paper-server</groupId>
- <artifactId>Paper-1.8.8</artifactId>
- <version>1</version>
- <scope>system</scope>
- <systemPath>/Users/jack.bikar/Desktop/Test Servers/1.8/cache/patched_1.8.8.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>paper-server</groupId>
- <artifactId>Paper-1.19.4</artifactId>
- <version>1</version>
- <scope>system</scope>
- <systemPath>/Users/jack.bikar/Desktop/Test Servers/1.19/paperclip.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.github.angeschossen</groupId>
- <artifactId>LandsAPI</artifactId>
- <version>${lands.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.cryptomorin</groupId>
- <artifactId>kingdoms</artifactId>
- <version>${kingdoms.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>net.sacredlabyrinth.phaed.simpleclans</groupId>
- <artifactId>SimpleClans</artifactId>
- <version>${simpleclans.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.booksaw</groupId>
- <artifactId>BetterTeams</artifactId>
- <version>${betterteams.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.UlrichBR</groupId>
- <artifactId>UClansV6-API</artifactId>
- <version>${uclans.version}</version>
- </dependency>
- <dependency>
- <groupId>Factions</groupId>
- <artifactId>MedievalFactions</artifactId>
- <version>LATEST</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/Medieval-Factions.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>me.glaremasters</groupId>
- <artifactId>Konquest</artifactId>
- <version>LATEST</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/libs/Konquest-0.10.3.jar</systemPath>
- </dependency>
- </dependencies>
- <!-- DO NOT EDIT unless instructed to do so or you know what you're doing. -->
- <build>
- <finalName>${project.name}-${project.version}</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <!-- Change version to the latest one from
- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
- <version>3.3.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <!-- Change version to the latest one from
- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
- <version>3.11.0</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <!-- We use latest snapshot here for modern Java compatibility. Change version to the latest one from
- https://repository.apache.org/content/repositories/snapshots/org/apache/maven/plugins/maven-shade-plugin/ -->
- <version>3.4.2-SNAPSHOT</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <artifactSet>
- <includes>
- <include>${foundation.path}:Foundation*</include>
- </includes>
- </artifactSet>
- <relocations>
- <!-- Move the Foundation library into your own package in "lib" subpackage to prevent interference. -->
- <relocation>
- <pattern>org.mineacademy.fo</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.lib</shadedPattern>
- </relocation>
- </relocations>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement