|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.github.okocraft.name</groupId> |
| 5 | + <artifactId>PL</artifactId> |
| 6 | + <version>1.0.0-SNAPSHOT</version> |
| 7 | + <repositories> |
| 8 | + <repository> |
| 9 | + <id>spigot-repo</id> |
| 10 | + <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> |
| 11 | + <!-- for NMS --> |
| 12 | + <!--url>https://hub.spigotmc.org/nexus/content/groups/public/</url--> |
| 13 | + </repository> |
| 14 | + </repositories> |
| 15 | + <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>org.spigotmc</groupId> |
| 18 | + <artifactId>spigot-api</artifactId> |
| 19 | + <version>1.15.2-R0.1-SNAPSHOT</version> |
| 20 | + <scope>provided</scope> |
| 21 | + </dependency> |
| 22 | + <!-- for NMS --> |
| 23 | + <!--dependency> |
| 24 | + <groupId>org.spigotmc</groupId> |
| 25 | + <artifactId>spigot</artifactId> |
| 26 | + <version>1.15.2-R0.1-SNAPSHOT</version> |
| 27 | + <scope>provided</scope> |
| 28 | + </dependency--> |
| 29 | + </dependencies> |
| 30 | + <build> |
| 31 | + <resources> |
| 32 | + <resource> |
| 33 | + <targetPath>.</targetPath> |
| 34 | + <filtering>true</filtering> |
| 35 | + <directory>src/main/resources/</directory> |
| 36 | + </resource> |
| 37 | + </resources> |
| 38 | + <plugins> |
| 39 | + <plugin> |
| 40 | + <groupId>org.apache.maven.plugins</groupId> |
| 41 | + <artifactId>maven-jar-plugin</artifactId> |
| 42 | + <version>3.2.0</version> |
| 43 | + <configuration> |
| 44 | + <finalName>${project.name}-${project.version}</finalName> |
| 45 | + <archive> |
| 46 | + <manifest> |
| 47 | + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 48 | + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 49 | + </manifest> |
| 50 | + </archive> |
| 51 | + </configuration> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-compiler-plugin</artifactId> |
| 56 | + <version>3.8.1</version> |
| 57 | + <configuration> |
| 58 | + <release>10</release> |
| 59 | + <encoding>UTF-8</encoding> |
| 60 | + <useIncrementalCompilation>false</useIncrementalCompilation> |
| 61 | + </configuration> |
| 62 | + </plugin> |
| 63 | + </plugins> |
| 64 | + </build> |
| 65 | + <properties> |
| 66 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 67 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 68 | + </properties> |
| 69 | +</project> |
0 commit comments