Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
- <groupId>me.drmarky</groupId>
- <artifactId>rustmc</artifactId>
- <version>1.0-SNAPSHOT</version>
- <repositories>
- <!-- Spigot can be found at the following repositories -->
- <repository>
- <id>md_5-releases</id>
- <url>http://repo.md-5.net/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>md_5-snapshots</id>
- <url>http://repo.md-5.net/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>spigot-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
- </repository>
- <repository>
- <id>beam-snapshots</id>
- <url>https://maven.beam.pro/content/repositories/snapshots/</url>
- </repository>
- <repository> <!-- This repo fixes issues with transitive dependencies -->
- <id>jcenter</id>
- <url>http://jcenter.bintray.com</url>
- </repository>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- </repositories>
- <!-- Dependencies -->
- <dependencies>
- <!--Spigot-API-->
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
- <version>1.11.2-R0.1-SNAPSHOT</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <!--Bukkit API-->
- <dependency>
- <groupId>org.bukkit</groupId>
- <artifactId>bukkit</artifactId>
- <version>1.11.2-R0.1-SNAPSHOT</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.bukkit</groupId>
- <artifactId>craftbukkit</artifactId>
- <version>1.11.2-R0.1-SNAPSHOT</version>
- <type>jar</type>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.austinv11</groupId>
- <artifactId>Discord4j</artifactId>
- <version>2.7.0</version>
- <!-- <classifier>shaded</classifier> <!- Include this line if you want a shaded jar (all the Discord4J dependencies bundled into one jar)-->
- </dependency>
- </dependencies>
- <!-- Build settings -->
- <build>
- <!-- Build plugins -->
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <configuration>
- <tasks>
- <copy file="target/rustmc-1.0-SNAPSHOT.jar"
- tofile="D:\Development\Server\plugins\rustmc-1.0-SNAPSHOT.jar"/>
- </tasks>
- </configuration>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.4.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <artifactSet>
- <includes>
- <include>com.github.austinv11:Discord4j</include>
- <include>ch.qos.logback:logback-core</include>
- <include>ch.qos.logback:logback-classic</include>
- <include>gnu.trove:trove4j</include>
- </includes>
- </artifactSet>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement