eternaapi
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.hapyl</groupId> <artifactId>eternaapi</artifactId> <version>4.13.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>io.github.hapyl</groupId> <artifactId>eternaapi</artifactId> <version>4.13.0</version> <packaging>jar</packaging> <name>EternaAPI</name> <description>An API for Paper development.</description> <url>https://github.com/hapyl/EternaAPI</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <properties> <java.version>21</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <developers> <developer> <name>hapyl</name> <url>https://github.com/users/hapyl</url> </developer> </developers> <scm> <connection>scm:git:git://github.com/hapyl/EternaAPI.git</connection> <developerConnection>scm:git:ssh://github.com:hapyl/EternaAPI.git</developerConnection> <url>http://github.com/hapyl/EternaAPI/tree/master</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <!-- Maven Compile --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <!-- Remap to Spigot --> <plugin> <groupId>net.md-5</groupId> <artifactId>specialsource-maven-plugin</artifactId> <version>2.0.3</version> <!-- Moj -> Obf --> <executions> <execution> <phase>package</phase> <goals> <goal>remap</goal> </goals> <id>remap-obf</id> <configuration> <srgIn>org.spigotmc:minecraft-server:1.21.5-R0.1-SNAPSHOT:txt:maps-mojang</srgIn> <reverse>true</reverse> <remappedArtifactAttached>true</remappedArtifactAttached> <remappedClassifierName>remapped-obf</remappedClassifierName> </configuration> </execution> <!-- Obf -> Spigot --> <execution> <phase>package</phase> <goals> <goal>remap</goal> </goals> <id>remap-spigot</id> <configuration> <inputFile> ${project.build.directory}/${project.name}-${project.version}-remapped-obf.jar </inputFile> <srgIn> org.spigotmc:minecraft-server:1.21.5-R0.1-SNAPSHOT:csrg:maps-spigot </srgIn> <remappedDependencies> org.spigotmc:spigot:1.21.5-R0.1-SNAPSHOT:jar:remapped-obf </remappedDependencies> </configuration> </execution> </executions> </plugin> <!-- Attach Sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Attach Javadocs --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> <additionalJOption>-Xdoclint:none</additionalJOption> </configuration> </execution> </executions> </plugin> <!-- Sign Artifacts --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <!-- Publish --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.7.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> </configuration> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <!-- Annoying github lowercase requirements are stupid I just want to copy/paste the name! --> <finalName>${project.name}-${project.version}</finalName> </build> <!-- Repos --> <repositories> <repository> <id>papermc</id> <url>https://repo.papermc.io/repository/maven-public/</url> </repository> <repository> <id>sonatype</id> <url>https://oss.sonatype.org/content/groups/public/</url> </repository> <repository> <id>minecraft-repo</id> <url>https://libraries.minecraft.net/</url> </repository> </repositories> <!-- Dependencies--> <dependencies> <dependency> <groupId>io.papermc.paper</groupId> <artifactId>paper-api</artifactId> <version>1.21.7-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> <!-- NMS --> <dependency> <groupId>org.spigotmc</groupId> <artifactId>spigot</artifactId> <version>1.21.7-R0.1-SNAPSHOT</version> <classifier>remapped-mojang</classifier> <scope>provided</scope> </dependency> <dependency> <groupId>com.mojang</groupId> <artifactId>authlib</artifactId> <version>5.0.47</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mojang</groupId> <artifactId>datafixerupper</artifactId> <version>4.1.27</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mojang</groupId> <artifactId>brigadier</artifactId> <version>1.0.18</version> <scope>provided</scope> </dependency> </dependencies> </project>