Quests/api/pom.xml

130 lines
4.7 KiB
XML
Raw Normal View History

2022-01-06 16:59:21 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2019-09-08 18:16:55 +02:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2022-05-16 01:52:42 +02:00
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019-09-08 18:16:55 +02:00
<modelVersion>4.0.0</modelVersion>
2022-05-16 01:52:42 +02:00
2019-09-08 18:16:55 +02:00
<parent>
<groupId>me.pikamug.quests</groupId>
2019-09-08 18:16:55 +02:00
<artifactId>quests-parent</artifactId>
2022-05-31 11:07:30 +02:00
<version>${revision}</version>
2019-09-08 18:16:55 +02:00
</parent>
<artifactId>quests-api</artifactId>
2019-09-08 18:16:55 +02:00
<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>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
2019-09-08 18:16:55 +02:00
<version>1.13.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.0.1</version>
2019-09-08 18:16:55 +02:00
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
<exclusions>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
2019-09-08 18:16:55 +02:00
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<!-- Do not update until Java 11 is min -->
<version>4.0.3</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
2020-11-17 09:30:26 +01:00
</dependency>
2019-09-08 18:16:55 +02:00
</dependencies>
<build>
<defaultGoal>clean package install</defaultGoal>
2020-11-17 09:30:26 +01:00
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
2019-09-08 18:16:55 +02:00
2020-11-17 09:29:12 +01:00
<plugins>
2020-11-17 09:30:26 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2022-10-20 20:04:41 +02:00
<version>3.10.1</version>
2020-11-17 09:30:26 +01:00
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
2020-11-17 09:29:12 +01:00
2020-11-17 09:30:26 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>false</minimizeJar>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
<configuration>
<artifactSet>
<includes>
<include>me.*</include>
<include>com.zaxxer:HikariCP</include>
<include>mysql</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>me.pikamug.quests.libs.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>com.mysql</pattern>
<shadedPattern>me.pikamug.quests.libs.mysql</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
2020-11-17 09:30:26 +01:00
</plugins>
2019-09-08 18:16:55 +02:00
</build>
</project>