| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://www.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <groupId>me.fridtjof</groupId> |
| 8 | <artifactId>minecarttrains</artifactId> |
| 9 | <version>1.5.5</version> |
| 10 | <packaging>jar</packaging> |
| 11 | |
| 12 | <name>MinecartTrains</name> |
| 13 | |
| 14 | <properties> |
| 15 | <java.version>25</java.version> |
| 16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | </properties> |
| 18 | |
| 19 | <url>https://www.fridtjof.me</url> |
| 20 | |
| 21 | <build> |
| 22 | <finalName>${project.name}-${project.version}</finalName> |
| 23 | <plugins> |
| 24 | <plugin> |
| 25 | <groupId>org.apache.maven.plugins</groupId> |
| 26 | <artifactId>maven-surefire-plugin</artifactId> |
| 27 | <version>3.5.2</version> |
| 28 | </plugin> |
| 29 | <plugin> |
| 30 | <groupId>org.apache.maven.plugins</groupId> |
| 31 | <artifactId>maven-compiler-plugin</artifactId> |
| 32 | <version>3.14.0</version> |
| 33 | <configuration> |
| 34 | <release>${java.version}</release> |
| 35 | </configuration> |
| 36 | </plugin> |
| 37 | <plugin> |
| 38 | <groupId>org.apache.maven.plugins</groupId> |
| 39 | <artifactId>maven-shade-plugin</artifactId> |
| 40 | <version>3.6.2</version> |
| 41 | <executions> |
| 42 | <execution> |
| 43 | <phase>package</phase> |
| 44 | <goals> |
| 45 | <goal>shade</goal> |
| 46 | </goals> |
| 47 | <configuration> |
| 48 | <createDependencyReducedPom>false</createDependencyReducedPom> |
| 49 | <relocations> |
| 50 | <relocation> |
| 51 | <pattern>org.bstats</pattern> |
| 52 | <shadedPattern>me.fridtjof.minecarttrains.lib.bstats</shadedPattern> |
| 53 | </relocation> |
| 54 | </relocations> |
| 55 | </configuration> |
| 56 | </execution> |
| 57 | </executions> |
| 58 | </plugin> |
| 59 | </plugins> |
| 60 | <resources> |
| 61 | <resource> |
| 62 | <directory>src/main/resources</directory> |
| 63 | <filtering>true</filtering> |
| 64 | </resource> |
| 65 | </resources> |
| 66 | </build> |
| 67 | |
| 68 | <repositories> |
| 69 | <repository> |
| 70 | <id>papermc</id> |
| 71 | <url>https://repo.papermc.io/repository/maven-public/</url> |
| 72 | </repository> |
| 73 | </repositories> |
| 74 | |
| 75 | <dependencies> |
| 76 | <dependency> |
| 77 | <groupId>io.papermc.paper</groupId> |
| 78 | <artifactId>paper-api</artifactId> |
| 79 | <version>26.2.build.112-stable</version> |
| 80 | <scope>provided</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.bstats</groupId> |
| 84 | <artifactId>bstats-bukkit</artifactId> |
| 85 | <version>3.1.0</version> |
| 86 | <scope>compile</scope> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.junit.jupiter</groupId> |
| 90 | <artifactId>junit-jupiter</artifactId> |
| 91 | <version>5.11.4</version> |
| 92 | <scope>test</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.yaml</groupId> |
| 96 | <artifactId>snakeyaml</artifactId> |
| 97 | <version>2.4</version> |
| 98 | <scope>test</scope> |
| 99 | </dependency> |
| 100 | </dependencies> |
| 101 | </project> |