1
mirror of https://github.com/CarmJos/MineSQL.git synced 2024-09-19 20:25:45 +00:00
MineSQL/plugin/pom.xml

191 lines
9.0 KiB
XML
Raw Normal View History

2022-02-21 18:59:18 +00:00
<?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">
<parent>
<artifactId>minesql-parent</artifactId>
2022-02-21 18:59:18 +00:00
<groupId>cc.carm.plugin</groupId>
<version>1.3.1</version>
2022-02-21 18:59:18 +00:00
</parent>
<modelVersion>4.0.0</modelVersion>
<properties>
2022-09-26 14:25:28 +00:00
<maven.compiler.source>${project.jdk.version}</maven.compiler.source>
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
2022-02-23 21:11:31 +00:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.deploy.skip>true</maven.deploy.skip>
2022-02-21 18:59:18 +00:00
</properties>
<artifactId>minesql-plugin</artifactId>
2022-06-21 19:08:54 +00:00
<dependencies>
2022-06-21 19:08:54 +00:00
<dependency>
<groupId>${project.parent.groupId}</groupId>
2023-01-15 16:23:41 +00:00
<artifactId>minesql-platform-bukkit</artifactId>
2022-06-21 19:08:54 +00:00
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
2022-06-21 19:08:54 +00:00
<dependency>
<groupId>${project.parent.groupId}</groupId>
2023-01-15 16:23:41 +00:00
<artifactId>minesql-platform-bungee</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
2022-06-21 19:08:54 +00:00
</dependency>
2023-01-14 13:07:37 +00:00
<dependency>
<groupId>${project.parent.groupId}</groupId>
2023-01-15 16:23:41 +00:00
<artifactId>minesql-platform-sponge</artifactId>
2023-01-14 13:07:37 +00:00
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
2022-06-21 19:08:54 +00:00
<dependency>
<groupId>${project.parent.groupId}</groupId>
2023-01-15 16:23:41 +00:00
<artifactId>minesql-platform-velocity</artifactId>
<version>${project.parent.version}</version>
2022-06-21 19:08:54 +00:00
<scope>compile</scope>
</dependency>
</dependencies>
2022-02-22 18:46:07 +00:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
2022-02-22 18:46:07 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
2022-02-22 18:46:07 +00:00
<configuration>
<finalName>${project.parent.name}-${project.parent.version}</finalName>
<outputDirectory>${project.parent.basedir}/.asset/</outputDirectory>
2022-02-22 18:46:07 +00:00
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
2022-09-26 14:25:28 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.bstats</shadedPattern>
2022-02-22 18:46:07 +00:00
</relocation>
<relocation>
<pattern>org.json</pattern>
2022-09-26 14:25:28 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.json</shadedPattern>
2022-02-22 18:46:07 +00:00
</relocation>
<relocation>
<pattern>cc.carm.lib.easyplugin</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.easyplugin</shadedPattern>
</relocation>
2022-02-22 18:46:07 +00:00
<relocation>
<pattern>cc.carm.lib.githubreleases4j</pattern>
2022-09-26 14:25:28 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.githubreleases4j</shadedPattern>
2022-02-22 18:46:07 +00:00
</relocation>
<relocation>
<pattern>cc.carm.lib.configuration</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.configuration</shadedPattern>
</relocation>
<relocation>
<pattern>org.bspfsystems.yamlconfiguration</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.configuration.yaml
</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>org.yaml.snakeyaml</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.yaml</shadedPattern> <!-- Replace this -->
</relocation>
2022-02-22 18:46:07 +00:00
<relocation>
<pattern>co.aikar.commands</pattern>
2022-09-26 14:25:28 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.acf</shadedPattern> <!-- Replace this -->
2022-02-22 18:46:07 +00:00
</relocation>
<relocation>
<pattern>co.aikar.locales</pattern>
2022-09-26 14:25:28 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.locales</shadedPattern> <!-- Replace this -->
2022-02-22 18:46:07 +00:00
</relocation>
<relocation>
<pattern>cn.beecp</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.beecp</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>org.h2</pattern>
<shadedPattern>cc.carm.plugin.minesql.driver.h2</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>org.mariadb</pattern>
<shadedPattern>cc.carm.plugin.minesql.driver.mariadb</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>com.mysql</pattern>
<shadedPattern>cc.carm.plugin.minesql.driver.mysql</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>com.sun.jna</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.jna</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>com.google.protobuf</pattern>
2023-01-14 13:07:37 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.google.protobuf
</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>com.google.errorprone</pattern>
2023-01-14 13:07:37 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.google.errorprone
</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>com.github</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.github</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>org.checkerframework</pattern>
2023-01-14 13:07:37 +00:00
<shadedPattern>cc.carm.plugin.minesql.lib.checkerframework
</shadedPattern> <!-- Replace this -->
</relocation>
<relocation>
<pattern>waffle</pattern>
<shadedPattern>cc.carm.plugin.minesql.lib.waffle</shadedPattern> <!-- Replace this -->
</relocation>
2022-02-22 18:46:07 +00:00
</relocations>
<filters>
<filter>
<artifact>co.aikar:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/*.txt</exclude>
<exclude>acf-core*.properties</exclude>
<exclude>acf-minecraft*.properties</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/*.txt</exclude>
2023-01-14 13:07:37 +00:00
<exclude>LICENSE</exclude>
<exclude>README</exclude>
</excludes>
</filter>
</filters>
2022-02-22 18:46:07 +00:00
</configuration>
</plugin>
</plugins>
</build>
2022-02-21 18:59:18 +00:00
</project>