Relocates BStats, but KnarLib is not properly shaded
This commit is contained in:
		
							
								
								
									
										26
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								pom.xml
									
									
									
									
									
								
							@@ -40,16 +40,6 @@
 | 
				
			|||||||
            <url>https://repo.papermc.io/repository/maven-public/</url>
 | 
					            <url>https://repo.papermc.io/repository/maven-public/</url>
 | 
				
			||||||
        </repository>
 | 
					        </repository>
 | 
				
			||||||
    </repositories>
 | 
					    </repositories>
 | 
				
			||||||
    <distributionManagement>
 | 
					 | 
				
			||||||
        <repository>
 | 
					 | 
				
			||||||
            <id>knarcraft-repo</id>
 | 
					 | 
				
			||||||
            <url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
 | 
					 | 
				
			||||||
        </repository>
 | 
					 | 
				
			||||||
        <snapshotRepository>
 | 
					 | 
				
			||||||
            <id>knarcraft-repo</id>
 | 
					 | 
				
			||||||
            <url>https://git.knarcraft.net/api/packages/EpicKnarvik97/maven</url>
 | 
					 | 
				
			||||||
        </snapshotRepository>
 | 
					 | 
				
			||||||
    </distributionManagement>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
@@ -122,7 +112,21 @@
 | 
				
			|||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>org.apache.maven.plugins</groupId>
 | 
					                <groupId>org.apache.maven.plugins</groupId>
 | 
				
			||||||
                <artifactId>maven-shade-plugin</artifactId>
 | 
					                <artifactId>maven-shade-plugin</artifactId>
 | 
				
			||||||
                <version>3.2.4</version>
 | 
					                <version>3.4.1</version>
 | 
				
			||||||
 | 
					                <configuration>
 | 
				
			||||||
 | 
					                    <createDependencyReducedPom>false</createDependencyReducedPom>
 | 
				
			||||||
 | 
					                    <artifactSet>
 | 
				
			||||||
 | 
					                        <includes>
 | 
				
			||||||
 | 
					                            <include>org.bstats:*</include>
 | 
				
			||||||
 | 
					                        </includes>
 | 
				
			||||||
 | 
					                    </artifactSet>
 | 
				
			||||||
 | 
					                    <relocations>
 | 
				
			||||||
 | 
					                        <relocation>
 | 
				
			||||||
 | 
					                            <pattern>org.bstats</pattern>
 | 
				
			||||||
 | 
					                            <shadedPattern>net.knarcraft.stargate</shadedPattern>
 | 
				
			||||||
 | 
					                        </relocation>
 | 
				
			||||||
 | 
					                    </relocations>
 | 
				
			||||||
 | 
					                </configuration>
 | 
				
			||||||
                <executions>
 | 
					                <executions>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
                        <phase>package</phase>
 | 
					                        <phase>package</phase>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user