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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>me.TVG</groupId>
- <artifactId>GlobalHub</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <dependencies>
- <!-- BukkitAPI -->
- <dependency>
- <groupId>org.bukkit</groupId>
- <artifactId>bukkit</artifactId>
- <version>1.8.8-R0.1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <!-- HikariCP -->
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <version>2.4.1</version>
- <scope>compile</scope>
- </dependency>
- <!-- Javassist Library -->
- <dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.18.1-GA</version>
- <scope>compile</scope>
- </dependency>
- <!-- SLF4J Library -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>1.7.5</version>
- <scope>compile</scope>
- </dependency>
- <!-- Lombok -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.14.8</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>j0ach1mmall3</groupId>
- <artifactId>j0ach1mmall3.ultimatecosmetics</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/resources/UltimateCosmetics.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>TVGGlobal</groupId>
- <artifactId>tvg.global</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/main/resources/TVGGlobal.jar</systemPath>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>spigot-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
- </repository>
- </repositories>
- <build>
- <defaultGoal>clean package</defaultGoal>
- <finalName>${project.name}</finalName>
- <plugins>
- <!-- Shade the necessary libs -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.4.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <finalName>TVGGlobalHub</finalName>
- <relocations>
- <relocation>
- <pattern>com.zaxxer.hikari</pattern>
- <shadedPattern>me.tvgglobalhub.libs.hikari</shadedPattern>
- </relocation>
- <relocation>
- <pattern>javassist</pattern>
- <shadedPattern>me.tvgglobalhub.libs.hikari.javassist</shadedPattern>
- </relocation>
- <relocation>
- <pattern>org.slf4j</pattern>
- <shadedPattern>me.tvgglobalhub.libs.hikari.slf4j</shadedPattern>
- </relocation>
- </relocations>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Compile -->
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement