diff options
Diffstat (limited to 'bukkit/pom.xml')
-rw-r--r-- | bukkit/pom.xml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/bukkit/pom.xml b/bukkit/pom.xml new file mode 100644 index 0000000..d2af7d4 --- /dev/null +++ b/bukkit/pom.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <parent> + <artifactId>spark-parent</artifactId> + <groupId>me.lucko</groupId> + <version>1.0-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + + <artifactId>spark-bukkit</artifactId> + <packaging>jar</packaging> + + <build> + <defaultGoal>clean package</defaultGoal> + <finalName>spark-bukkit</finalName> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${compiler.version}</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>${shade.version}</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <minimizeJar>false</minimizeJar> + <createDependencyReducedPom>false</createDependencyReducedPom> + <relocations> + <!-- shaded dependencies --> + <relocation> + <pattern>okio</pattern> + <shadedPattern>me.lucko.spark.lib.okio</shadedPattern> + </relocation> + <relocation> + <pattern>okhttp3</pattern> + <shadedPattern>me.lucko.spark.lib.okhttp3</shadedPattern> + </relocation> + </relocations> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <!-- common --> + <dependency> + <groupId>me.lucko</groupId> + <artifactId>spark-common</artifactId> + <version>${project.version}</version> + <scope>compile</scope> + </dependency> + + <!-- Spigot --> + <dependency> + <groupId>org.spigotmc</groupId> + <artifactId>spigot-api</artifactId> + <version>1.12.2-R0.1-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + </dependencies> + + <repositories> + <repository> + <id>spigot-repo</id> + <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> + </repository> + </repositories> + +</project> |