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>
- <groupId>fr.berzaak</groupId>
- <artifactId>core</artifactId>
- <name>Core</name>
- <version>1.0</version>
- <properties>
- <main.class>fr.berzaak.core.Core</main.class>
- <foundation.version>5.11.2</foundation.version>
- <java.version>1.8</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <repositories>
- <repository>
- <id>spigotmc-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
- </repository>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- <repository>
- <id>sonatype</id>
- <url>https://oss.sonatype.org/content/groups/public/</url>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
- <version>1.8.8-R0.1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.github.kangarko</groupId>
- <artifactId>Foundation</artifactId>
- <version>${foundation.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.github.SaberLLC</groupId>
- <artifactId>Saber-Factions</artifactId>
- <version>2.4.0-RC</version>
- </dependency>
- <dependency>
- <groupId>com.github.broken1arrow</groupId>
- <artifactId>RBG-Gradients</artifactId>
- <version>0.09</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <finalName>${project.name}-${project.version}</finalName>
- <artifactSet>
- <includes>
- <include>org.mineacademy:Game*</include>
- <include>com.github.kangarko:Foundation*</include>
- <include>com.github.broken1arrow:*</include>
- </includes>
- <excludes>
- <exclude>org.mineacademy:GameAPI*</exclude>
- </excludes>
- </artifactSet>
- <relocations>
- <relocation>
- <pattern>org.broken.lib</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.rbglib</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.mineacademy</pattern>
- <shadedPattern>${project.groupId}.${project.artifactId}.lib</shadedPattern>
- <excludes>
- <exclude>org.mineacademy.${project.artifactId}.*</exclude>
- <exclude>org.mineacademy.gameapi.*</exclude>
- <exclude>org.mineacademy.boss.*</exclude>
- <exclude>org.mineacademy.worldeditbridge.*</exclude>
- </excludes>
- </relocation>
- </relocations>
- </configuration>
- </execution>
- </executions>
- </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