HolographicDisplays/plugin/pom.xml

244 lines
9.2 KiB
XML
Raw Normal View History

<?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"
2020-11-10 10:27:41 +01:00
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>
2020-11-10 10:27:41 +01:00
<parent>
<groupId>me.filoghost.holographicdisplays</groupId>
<artifactId>holographicdisplays-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
2020-11-10 10:27:41 +01:00
<artifactId>holographicdisplays-plugin</artifactId>
<name>HolographicDisplays Plugin</name>
2020-11-10 10:27:41 +01:00
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-api</artifactId>
</dependency>
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
2021-06-20 11:14:26 +02:00
<artifactId>holographicdisplays-common</artifactId>
2020-11-10 10:27:41 +01:00
</dependency>
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
2021-05-01 12:40:34 +02:00
<artifactId>holographicdisplays-legacy-api-v1</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-legacy-api-v2</artifactId>
2020-11-10 10:27:41 +01:00
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_8_r3</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_9_r2</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_10_r1</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_11_r1</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_12_r1</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_13_r2</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_14_r1</artifactId>
</dependency>
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_15_r1</artifactId>
</dependency>
2019-12-12 20:32:55 +01:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_16_r1</artifactId>
</dependency>
2020-06-25 16:56:51 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_16_r2</artifactId>
</dependency>
2020-08-12 03:13:26 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_16_r3</artifactId>
</dependency>
2020-11-03 04:08:03 +01:00
2021-06-21 22:51:30 +02:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_17_r1</artifactId>
</dependency>
2021-12-01 19:20:06 +01:00
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>holographicdisplays-nms-v1_18_r1</artifactId>
</dependency>
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
</dependency>
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit-lite</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<dependency>
<groupId>me.filoghost.updatechecker</groupId>
<artifactId>updatechecker</artifactId>
</dependency>
2021-06-20 17:23:48 +02:00
<dependency>
<groupId>me.filoghost.fcommons</groupId>
<artifactId>fcommons</artifactId>
</dependency>
2020-11-10 10:27:41 +01:00
</dependencies>
2020-11-10 10:27:41 +01:00
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>..</directory>
<includes>
<include>LICENSE.txt</include>
<include>THIRD-PARTY.txt</include>
</includes>
</resource>
</resources>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<plugins>
<plugin>
2020-11-11 22:33:03 +01:00
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
2020-11-10 10:27:41 +01:00
<executions>
<!-- Appends build number to plugin version on SNAPSHOT builds. -->
<execution>
<id>set-plugin-version</id>
<phase>validate</phase>
<goals>
2020-11-11 22:33:03 +01:00
<goal>bsh-property</goal>
2020-11-10 10:27:41 +01:00
</goals>
<configuration>
2020-11-11 22:33:03 +01:00
<properties>
<property>pluginVersion</property>
</properties>
<source>
projectVersion = project.version;
buildNumber = System.getenv("BUILD_NUMBER");
String pluginVersion;
if (buildNumber != null @and projectVersion.contains("SNAPSHOT")) {
pluginVersion = projectVersion + "-b" + buildNumber;
} else {
pluginVersion = projectVersion;
}
print("Project version: " + projectVersion);
print("Build number: " + buildNumber);
print("Computed plugin version: " + pluginVersion);
</source>
2020-11-10 10:27:41 +01:00
</configuration>
</execution>
</executions>
</plugin>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
2020-11-11 22:33:03 +01:00
<Implementation-Version>${pluginVersion}</Implementation-Version>
2020-11-10 10:27:41 +01:00
</manifestEntries>
</archive>
</configuration>
</plugin>
2021-06-20 17:23:48 +02:00
2020-11-10 10:27:41 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
<include>${project.groupId}:*</include>
<include>org.bstats</include>
<include>me.filoghost.updatechecker</include>
<include>me.filoghost.fcommons</include>
2020-11-10 10:27:41 +01:00
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/maven/</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.bstats.bukkit</pattern>
<shadedPattern>me.filoghost.holographicdisplays.plugin.lib.metrics</shadedPattern>
2020-11-10 10:27:41 +01:00
</relocation>
<relocation>
<pattern>me.filoghost.updatechecker</pattern>
<shadedPattern>me.filoghost.holographicdisplays.plugin.lib.updater</shadedPattern>
2020-11-10 10:27:41 +01:00
</relocation>
<relocation>
<pattern>me.filoghost.fcommons</pattern>
<shadedPattern>me.filoghost.holographicdisplays.plugin.lib.fcommons</shadedPattern>
</relocation>
2020-11-10 10:27:41 +01:00
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>