try that
Some checks failed
/ build (push) Failing after 34s

This commit is contained in:
Minecon724 2024-12-28 19:08:43 +01:00
parent 731b305151
commit 4a43fc51dd
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

28
pom.xml
View file

@ -32,28 +32,24 @@
</resources> </resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>replacer</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>1.5.3</version> <version>3.1.0</version>
<executions> <executions>
<execution> <execution>
<phase>process-sources</phase> <phase>prepare-package</phase>
<configuration>
<tasks>
<replace token="v1_21_R1" value="${project.nms.version}" dir="target/classes">
<include name="**/*.java"/>
</replace>
</tasks>
</configuration>
<goals> <goals>
<goal>replace</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<configuration>
<includes>
<include>src/main/java/**/*.java</include>
</includes>
<replacements>
<replacement>
<token>v1_21_R1</token>
<value>${project.nms.version}</value>
</replacement>
</replacements>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>