|
| 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>fun.supersmp</groupId> |
| 8 | + <artifactId>CodeLock</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + <packaging>jar</packaging> |
| 11 | + |
| 12 | + <properties> |
| 13 | + <maven.compiler.source>17</maven.compiler.source> |
| 14 | + <maven.compiler.target>17</maven.compiler.target> |
| 15 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | + </properties> |
| 17 | + |
| 18 | + <!-- Build Script --> |
| 19 | + <build> |
| 20 | + <finalName>CodeLock</finalName> |
| 21 | + |
| 22 | + <plugins> |
| 23 | + <!-- Maven Compiler --> |
| 24 | + <plugin> |
| 25 | + <groupId>org.apache.maven.plugins</groupId> |
| 26 | + <artifactId>maven-compiler-plugin</artifactId> |
| 27 | + <version>3.12.1</version> |
| 28 | + </plugin> |
| 29 | + |
| 30 | + <!-- Maven Shade --> |
| 31 | + <plugin> |
| 32 | + <groupId>org.apache.maven.plugins</groupId> |
| 33 | + <artifactId>maven-shade-plugin</artifactId> |
| 34 | + <version>3.5.2</version> |
| 35 | + <executions> |
| 36 | + <execution> |
| 37 | + <phase>package</phase> |
| 38 | + <goals> |
| 39 | + <goal>shade</goal> |
| 40 | + </goals> |
| 41 | + <configuration> |
| 42 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 43 | + </configuration> |
| 44 | + </execution> |
| 45 | + </executions> |
| 46 | + <configuration> |
| 47 | + <relocations> |
| 48 | + <relocation> |
| 49 | + <pattern>games.negative.alumina</pattern> |
| 50 | + <shadedPattern>fun.supersmp.codelock.libs.alumina</shadedPattern> |
| 51 | + </relocation> |
| 52 | +<!-- <relocation>--> |
| 53 | +<!-- <pattern>de.exlll.configlib</pattern>--> |
| 54 | +<!-- <shadedPattern>fun.supersmp.codelock.libs.config</shadedPattern>--> |
| 55 | +<!-- </relocation>--> |
| 56 | + </relocations> |
| 57 | + </configuration> |
| 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 | + <!-- Negative Games --> |
| 70 | + <repository> |
| 71 | + <id>Negative Games</id> |
| 72 | + <url>https://repo.negative.games/repository/maven-releases/</url> |
| 73 | + </repository> |
| 74 | + |
| 75 | + <!-- PaperMC --> |
| 76 | + <repository> |
| 77 | + <id>papermc-repo</id> |
| 78 | + <url>https://repo.papermc.io/repository/maven-public/</url> |
| 79 | + </repository> |
| 80 | + |
| 81 | + <!-- Jitpack --> |
| 82 | + <repository> |
| 83 | + <id>jitpack.io</id> |
| 84 | + <url>https://jitpack.io</url> |
| 85 | + </repository> |
| 86 | + |
| 87 | + <!-- Open Collaboration --> |
| 88 | + <repository> |
| 89 | + <id>opencollab-repository-maven-snapshots</id> |
| 90 | + <name>Opencollab Repository</name> |
| 91 | + <url>https://repo.opencollab.dev/maven-snapshots</url> |
| 92 | + </repository> |
| 93 | + |
| 94 | + <!-- PlaceholderAPI --> |
| 95 | + <repository> |
| 96 | + <id>placeholderapi</id> |
| 97 | + <url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url> |
| 98 | + </repository> |
| 99 | + </repositories> |
| 100 | + |
| 101 | + <dependencies> |
| 102 | + <!-- Paper API --> |
| 103 | + <dependency> |
| 104 | + <groupId>io.papermc.paper</groupId> |
| 105 | + <artifactId>paper-api</artifactId> |
| 106 | + <version>1.20.4-R0.1-SNAPSHOT</version> |
| 107 | + <scope>provided</scope> |
| 108 | + </dependency> |
| 109 | + |
| 110 | + <!-- Alumina --> |
| 111 | + <dependency> |
| 112 | + <groupId>games.negative.alumina</groupId> |
| 113 | + <artifactId>alumina</artifactId> |
| 114 | + <version>1.5.2</version> |
| 115 | + <scope>compile</scope> |
| 116 | + </dependency> |
| 117 | + |
| 118 | + <!-- Jetbrains Annotations --> |
| 119 | + <dependency> |
| 120 | + <groupId>org.jetbrains</groupId> |
| 121 | + <artifactId>annotations</artifactId> |
| 122 | + <version>24.1.0</version> |
| 123 | + <scope>provided</scope> |
| 124 | + </dependency> |
| 125 | + |
| 126 | + <!-- Lombok --> |
| 127 | + <dependency> |
| 128 | + <groupId>org.projectlombok</groupId> |
| 129 | + <artifactId>lombok</artifactId> |
| 130 | + <version>1.18.30</version> |
| 131 | + <scope>provided</scope> |
| 132 | + </dependency> |
| 133 | + |
| 134 | + <!-- ConfigLib --> |
| 135 | +<!-- <dependency>--> |
| 136 | +<!-- <groupId>de.exlll</groupId>--> |
| 137 | +<!-- <artifactId>configlib-yaml</artifactId>--> |
| 138 | +<!-- <version>4.5.0</version>--> |
| 139 | +<!-- <scope>compile</scope>--> |
| 140 | +<!-- </dependency>--> |
| 141 | + |
| 142 | + <!-- PlaceholderAPI --> |
| 143 | + <dependency> |
| 144 | + <groupId>me.clip</groupId> |
| 145 | + <artifactId>placeholderapi</artifactId> |
| 146 | + <version>2.11.5</version> |
| 147 | + <scope>provided</scope> |
| 148 | + </dependency> |
| 149 | + </dependencies> |
| 150 | +</project> |
0 commit comments