|
| 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://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.jackharrhy.whitelist</groupId> |
| 8 | + <artifactId>whitelist</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + |
| 12 | + <name>Whitelist HTTP API</name> |
| 13 | + |
| 14 | + <description>Enable Minecraft whitelist management from an exposed HTTP endpoint</description> |
| 15 | + <properties> |
| 16 | + <java.version>1.8</java.version> |
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | + <kotlin.version>1.3.70</kotlin.version> |
| 19 | + </properties> |
| 20 | + <url>https://github.com/MUNComputerScienceSociety/Whitelist-HTTP-API</url> |
| 21 | + |
| 22 | + <build> |
| 23 | + <sourceDirectory>src/main/kotlin</sourceDirectory> |
| 24 | + <defaultGoal>clean package</defaultGoal> |
| 25 | + <plugins> |
| 26 | + <plugin> |
| 27 | + <groupId>org.apache.maven.plugins</groupId> |
| 28 | + <artifactId>maven-compiler-plugin</artifactId> |
| 29 | + <version>3.7.0</version> |
| 30 | + <configuration> |
| 31 | + <source>${java.version}</source> |
| 32 | + <target>${java.version}</target> |
| 33 | + </configuration> |
| 34 | + </plugin> |
| 35 | + <plugin> |
| 36 | + <groupId>org.apache.maven.plugins</groupId> |
| 37 | + <artifactId>maven-shade-plugin</artifactId> |
| 38 | + <version>3.1.0</version> |
| 39 | + <executions> |
| 40 | + <execution> |
| 41 | + <phase>package</phase> |
| 42 | + <goals> |
| 43 | + <goal>shade</goal> |
| 44 | + </goals> |
| 45 | + <configuration> |
| 46 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 47 | + </configuration> |
| 48 | + </execution> |
| 49 | + </executions> |
| 50 | + </plugin> |
| 51 | + <plugin> |
| 52 | + <groupId>org.jetbrains.kotlin</groupId> |
| 53 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 54 | + <version>${kotlin.version}</version> |
| 55 | + <executions> |
| 56 | + <execution> |
| 57 | + <id>compile</id> |
| 58 | + <phase>compile</phase> |
| 59 | + <goals> |
| 60 | + <goal>compile</goal> |
| 61 | + </goals> |
| 62 | + </execution> |
| 63 | + <execution> |
| 64 | + <id>test-compile</id> |
| 65 | + <phase>test-compile</phase> |
| 66 | + <goals> |
| 67 | + <goal>test-compile</goal> |
| 68 | + </goals> |
| 69 | + </execution> |
| 70 | + </executions> |
| 71 | + </plugin> |
| 72 | + </plugins> |
| 73 | + <resources> |
| 74 | + <resource> |
| 75 | + <directory>src/main/resources</directory> |
| 76 | + <filtering>true</filtering> |
| 77 | + </resource> |
| 78 | + </resources> |
| 79 | + </build> |
| 80 | + |
| 81 | + <repositories> |
| 82 | + <repository> |
| 83 | + <id>destroystokyo-repo</id> |
| 84 | + <url>https://repo.destroystokyo.com/repository/maven-public/</url> |
| 85 | + </repository> |
| 86 | + <repository> |
| 87 | + <id>sonatype</id> |
| 88 | + <url>https://oss.sonatype.org/content/groups/public/</url> |
| 89 | + </repository> |
| 90 | + </repositories> |
| 91 | + |
| 92 | + <dependencies> |
| 93 | + <dependency> |
| 94 | + <groupId>com.destroystokyo.paper</groupId> |
| 95 | + <artifactId>paper-api</artifactId> |
| 96 | + <version>1.15.2-R0.1-SNAPSHOT</version> |
| 97 | + <scope>provided</scope> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.jetbrains.kotlin</groupId> |
| 101 | + <artifactId>kotlin-stdlib</artifactId> |
| 102 | + <version>${kotlin.version}</version> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>org.jetbrains.kotlin</groupId> |
| 106 | + <artifactId>kotlin-test</artifactId> |
| 107 | + <version>${kotlin.version}</version> |
| 108 | + <scope>test</scope> |
| 109 | + </dependency> |
| 110 | + </dependencies> |
| 111 | +</project> |
0 commit comments