|
13 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
14 | 14 | <maven.compiler.source>1.8</maven.compiler.source> |
15 | 15 | <maven.compiler.target>1.8</maven.compiler.target> |
| 16 | + <bstats.version>2.2.1</bstats.version> |
16 | 17 | </properties> |
17 | 18 |
|
18 | 19 | <build> |
|
24 | 25 | </resource> |
25 | 26 | </resources> |
26 | 27 | <plugins> |
| 28 | + <plugin> |
| 29 | + <artifactId>maven-compiler-plugin</artifactId> |
| 30 | + <version>3.8.1</version> |
| 31 | + <configuration> |
| 32 | + <compilerArgument>-XDignore.symbol.file</compilerArgument> |
| 33 | + </configuration> |
| 34 | + </plugin> |
27 | 35 | <plugin> |
28 | 36 | <artifactId>maven-shade-plugin</artifactId> |
29 | 37 | <version>3.2.4</version> |
|
39 | 47 | <minmizeJar>false</minmizeJar> |
40 | 48 | <shadedArtifactAttached>false</shadedArtifactAttached> |
41 | 49 | <createDependencyReducedPom>false</createDependencyReducedPom> |
| 50 | + <relocations> |
| 51 | + <relocation> |
| 52 | + <pattern>org.bstats</pattern> |
| 53 | + <shadedPattern>net.andylizi.haproxydetector.bstats</shadedPattern> |
| 54 | + </relocation> |
| 55 | + </relocations> |
| 56 | + <filters> |
| 57 | + <filter> |
| 58 | + <artifact>io.netty:*</artifact> |
| 59 | + <excludes> |
| 60 | + <exclude>META-INF/io.netty.versions.properties</exclude> |
| 61 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 62 | + </excludes> |
| 63 | + </filter> |
| 64 | + <filter> |
| 65 | + <artifact>org.bstats:*</artifact> |
| 66 | + <excludes> |
| 67 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 68 | + </excludes> |
| 69 | + </filter> |
| 70 | + </filters> |
42 | 71 | </configuration> |
43 | 72 | </plugin> |
44 | 73 | </plugins> |
|
73 | 102 | </exclusions> |
74 | 103 | </dependency> |
75 | 104 |
|
| 105 | + <dependency> |
| 106 | + <groupId>org.bstats</groupId> |
| 107 | + <artifactId>bstats-bukkit</artifactId> |
| 108 | + <version>${bstats.version}</version> |
| 109 | + </dependency> |
| 110 | + |
| 111 | + <dependency> |
| 112 | + <groupId>org.bstats</groupId> |
| 113 | + <artifactId>bstats-bungeecord</artifactId> |
| 114 | + <version>${bstats.version}</version> |
| 115 | + </dependency> |
| 116 | + |
76 | 117 | <dependency> |
77 | 118 | <groupId>net.md-5</groupId> |
78 | 119 | <artifactId>bungeecord-api</artifactId> |
|
86 | 127 | <version>1.16.2-R0.1-SNAPSHOT</version> |
87 | 128 | <scope>provided</scope> |
88 | 129 | </dependency> |
| 130 | + |
89 | 131 | <dependency> |
90 | 132 | <groupId>com.comphenix.protocol</groupId> |
91 | 133 | <artifactId>ProtocolLib</artifactId> |
|
0 commit comments