Files
CommunityMarket/pom.xml
T
henrique fe66b8aa8f Port to Paper 26.3 (2.1.0)
Built against paper-api 26.3.build.140-beta on Java 25, api-version 26.3,
version 2.1.0 so the jar reports the number Modrinth shows. Release notes
are in the 2.1.0 section of the Modrinth changelog.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 16:41:55 +01:00

133 lines
4.8 KiB
XML

<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>pt.henrique</groupId>
<artifactId>communitymarket</artifactId>
<version>2.1.0</version>
<packaging>jar</packaging>
<name>CommunityMarket</name>
<description>A comprehensive player-to-player marketplace plugin with sales, auctions, and negotiations</description>
<properties>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<paper.version>26.3.build.140-beta</paper.version>
</properties>
<repositories>
<!-- Paper Repository -->
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<!-- Vault Repository -->
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- Paper API -->
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>26.3.build.140-beta</version>
<scope>provided</scope>
</dependency>
<!-- Vault API for Economy -->
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7.1</version>
<scope>provided</scope>
</dependency>
<!-- HikariCP for Database Connection Pooling -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>5.1.0</version>
</dependency>
<!-- SQLite JDBC Driver -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.45.1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
<source>25</source>
<target>25</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>pt.henrique.communitymarket.libs.hikari</shadedPattern>
</relocation>
</relocations>
<minimizeJar>true</minimizeJar>
<!--
The SQLite driver is loaded by class name at runtime
(setDriverClassName("org.sqlite.JDBC")), so minimizeJar's static
reachability analysis cannot see it and would strip it, breaking the
default SQLite backend. Force its classes (and native libs) to be kept.
-->
<filters>
<filter>
<artifact>org.xerial:sqlite-jdbc</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<!-- Modrinth Publishing -->
<plugin>
<groupId>com.modrinth.minotaur</groupId>
<artifactId>Minotaur</artifactId>
<version>2.8.7</version>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>