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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>net.dmulloy2</groupId>
- <artifactId>swornguns</artifactId>
- <version>2.4-SNAPSHOT</version>
- <name>SwornGuns</name>
- <properties>
- <java.version>20</java.version>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- </properties>
- <repositories>
- <repository>
- <id>spigotmc-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
- </repository>
- <repository>
- <id>dmulloy2-repo</id>
- <url>https://repo.dmulloy2.net/content/groups/public/</url>
- </repository>
- </repositories>
- <distributionManagement>
- <repository>
- <id>dmulloy2-repo</id>
- <url>https://repo.dmulloy2.net/content/repositories/releases/</url>
- </repository>
- <snapshotRepository>
- <id>dmulloy2-repo</id>
- <url>https://repo.dmulloy2.net/content/repositories/snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>20</source>
- <target>20</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- <finalName>${project.name}</finalName>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.4</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <minimizeJar>true</minimizeJar>
- <artifactSet>
- <includes>
- <include>net.dmulloy2:swornapi*</include>
- </includes>
- </artifactSet>
- <relocations>
- <relocation>
- <pattern>net.dmulloy2</pattern>
- <shadedPattern>net.dmulloy2.swornguns</shadedPattern>
- <excludes>
- <exclude>net.dmulloy2.swornguns*</exclude>
- <exclude>net.dmulloy2.swornrpg*</exclude>
- <exclude>net.dmulloy2.ultimatearena*</exclude>
- </excludes>
- </relocation>
- </relocations>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <targetPath>.</targetPath>
- <directory>${basedir}/src/main/resources/</directory>
- <filtering>true</filtering>
- <includes>
- <include>*.yml</include>
- </includes>
- </resource>
- <resource>
- <targetPath>guns/</targetPath>
- <directory>${basedir}/src/main/resources/guns/</directory>
- <filtering>true</filtering>
- <includes>
- <include>*</include>
- </includes>
- </resource>
- <resource>
- <targetPath>projectile/</targetPath>
- <directory>${basedir}/src/main/resources/projectile/</directory>
- <filtering>true</filtering>
- <includes>
- <include>*</include>
- </includes>
- </resource>
- <resource>
- <targetPath>.</targetPath>
- <directory>${basedir}</directory>
- <includes>
- <include>License.txt</include>
- </includes>
- </resource>
- </resources>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot</artifactId>
- <version>1.8.8-R0.1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.26</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.comphenix.protocol</groupId>
- <artifactId>ProtocolLib</artifactId>
- <version>5.0.0</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment