This commit is contained in:
		
					parent
					
						
							
								1872425b89
							
						
					
				
			
			
				commit
				
					
						6c85ffbff5
					
				
			
		
					 1 changed files with 17 additions and 12 deletions
				
			
		
							
								
								
									
										29
									
								
								pom.xml
									
										
									
									
									
								
							
							
						
						
									
										29
									
								
								pom.xml
									
										
									
									
									
								
							| 
						 | 
					@ -32,25 +32,30 @@
 | 
				
			||||||
        </resources>
 | 
					        </resources>
 | 
				
			||||||
        <plugins>
 | 
					        <plugins>
 | 
				
			||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
					                <groupId>com.google.code.maven-replacer-plugin</groupId>
 | 
				
			||||||
                <artifactId>maven-antrun-plugin</artifactId>
 | 
					                <artifactId>replacer</artifactId>
 | 
				
			||||||
                <version>3.1.0</version>
 | 
					                <version>1.5.3</version>
 | 
				
			||||||
                <executions>
 | 
					                <executions>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
                        <phase>prepare-package</phase>
 | 
					                        <phase>generate-sources</phase>
 | 
				
			||||||
                        <configuration>
 | 
					 | 
				
			||||||
                            <target>
 | 
					 | 
				
			||||||
                                <replace token="v1_21_R1" value="${project.nms.version}" dir="target/classes">
 | 
					 | 
				
			||||||
                                    <include name="**/*.java" />
 | 
					 | 
				
			||||||
                                </replace>
 | 
					 | 
				
			||||||
                            </target>
 | 
					 | 
				
			||||||
                        </configuration>
 | 
					 | 
				
			||||||
                        <goals>
 | 
					                        <goals>
 | 
				
			||||||
                            <goal>run</goal>
 | 
					                            <goal>replace</goal>
 | 
				
			||||||
                        </goals>
 | 
					                        </goals>
 | 
				
			||||||
                    </execution>
 | 
					                    </execution>
 | 
				
			||||||
                </executions>
 | 
					                </executions>
 | 
				
			||||||
 | 
					                <configuration>
 | 
				
			||||||
 | 
					                    <includes>
 | 
				
			||||||
 | 
					                        <include>${basedir}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>
 | 
				
			||||||
                <artifactId>maven-shade-plugin</artifactId>
 | 
					                <artifactId>maven-shade-plugin</artifactId>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue