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>main.incrementing.pw</groupId>
- <artifactId>API</artifactId>
- <version>2.1-ALPHA</version>
- <packaging>jar</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <repositories>
- <repository>
- <id>spigot-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
- </repository>
- </repositories>
- <dependencies>
- <!--Spigot API-->
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
- <version>1.8.8-R0.1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <!--Spigot Server Wrapper-->
- <dependency>
- <groupId>org.bukkit.</groupId>
- <artifactId>bukkit</artifactId>
- <scope>system</scope>
- <version>1.8.8-R0.1-SNAPSHOT</version>
- <systemPath>${basedir}\src\lib\spigot-1.8.8-R0.1-SNAPSHOT.jar</systemPath>
- </dependency>
- <!--Bukkit API-->
- <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.3</version>
- </dependency>
- </dependencies>
- <build>
- <defaultGoal>clean package</defaultGoal>
- <finalName>${project.name}-${project.version}</finalName>
- <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
- <resources>
- <resource>
- <filtering>true</filtering>
- <targetPath>.</targetPath>
- <directory>${basedir}/src/main/resources/</directory>
- <includes>
- <include>**/*.yml</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>2.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <minimizeJar>true</minimizeJar>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <artifactSet>
- <includes>
- <include>com.zaxxer:*</include>
- <include>org.slf4j:*</include>
- </includes>
- </artifactSet>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.7</source>
- <target>1.7</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement