parent
731b305151
commit
4a43fc51dd
1 changed files with 12 additions and 16 deletions
28
pom.xml
28
pom.xml
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue