PandaLib/pandalib-core/pom.xml

113 lines
4.4 KiB
XML
Raw Normal View History

2022-07-22 17:10:34 +02: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"
2016-11-26 03:12:18 +01:00
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
2021-03-21 12:53:43 +01:00
<artifactId>pandalib-parent</artifactId>
2022-07-22 17:10:34 +02:00
<groupId>fr.pandacube.lib</groupId>
2021-03-21 12:53:43 +01:00
<version>1.0-SNAPSHOT</version>
2022-07-22 17:10:34 +02:00
<relativePath>../pom.xml</relativePath>
2016-11-26 03:12:18 +01:00
</parent>
2022-07-22 17:10:34 +02:00
<modelVersion>4.0.0</modelVersion>
2016-11-26 03:12:18 +01:00
2021-03-21 12:53:43 +01:00
<artifactId>pandalib-core</artifactId>
2016-11-26 03:12:18 +01:00
<packaging>jar</packaging>
<repositories>
<repository>
<id>sonatype-oss-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<id>opencollab-snapshot</id>
<url>https://repo.opencollab.dev/maven-snapshots/</url>
</repository>
</repositories>
2016-11-26 03:12:18 +01:00
<dependencies>
<dependency>
<groupId>fr.pandacube.lib</groupId>
<artifactId>pandalib-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>fr.pandacube.lib</groupId>
<artifactId>pandalib-chat</artifactId>
<version>${project.version}</version>
</dependency>
2022-12-19 16:43:46 +01:00
<!-- Cron expression interpreter -->
<dependency>
<groupId>ch.eitchnet</groupId>
<artifactId>cron</artifactId>
<version>1.6.2</version>
</dependency>
2016-11-26 03:12:18 +01:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2024-03-18 16:55:23 +01:00
<version>3.5.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>ch.eitchnet:cron</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>ch.eitchnet:cron</artifact>
<excludes>
<exclude>module-info.class</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>fc.cron</pattern>
<shadedPattern>fr.pandacube.lib.core.shaded.cron</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.7.0</version>
<executions>
<execution>
<id>mcversion-download</id>
<phase>compile</phase>
<goals>
<goal>wget</goal>
</goals>
</execution>
</executions>
<configuration>
<url>https://api.pandacube.fr/rest/mcversion</url>
<outputDirectory>${project.basedir}/src/main/resources/fr/pandacube/lib/core/mc_version</outputDirectory>
<outputFileName>mcversion.json</outputFileName>
<skipCache>true</skipCache>
2023-09-22 00:34:57 +02:00
<overwrite>true</overwrite>
</configuration>
</plugin>
</plugins>
</build>
2016-11-26 03:12:18 +01:00
</project>