|
82 | 82 | <pluginDescription.authors>sgdc3, games647, Hex3l, krusic22</pluginDescription.authors> |
83 | 83 | </properties> |
84 | 84 |
|
85 | | - <!-- Jenkins profile --> |
86 | | - <profiles> |
87 | | - <!-- Set the buildNumber using the jenkins env. variable --> |
88 | | - <profile> |
89 | | - <id>jenkins</id> |
90 | | - <activation> |
91 | | - <property> |
92 | | - <name>env.BUILD_NUMBER</name> |
93 | | - </property> |
94 | | - </activation> |
95 | | - <properties> |
96 | | - <project.buildNumber>${env.BUILD_NUMBER}</project.buildNumber> |
97 | | - </properties> |
98 | | - </profile> |
99 | | - <!-- Skip long hash tests, reduce the test time of 20-30 seconds --> |
100 | | - <profile> |
101 | | - <id>skipLongHashTests</id> |
102 | | - <activation> |
103 | | - <property> |
104 | | - <name>skipLongHashTests</name> |
105 | | - </property> |
106 | | - </activation> |
107 | | - <properties> |
108 | | - <project.skipExtendedHashTests>true</project.skipExtendedHashTests> |
109 | | - </properties> |
110 | | - </profile> |
111 | | - <!-- Skip javadoc generation for faster local build --> |
112 | | - <profile> |
113 | | - <id>skipJavadocGeneration</id> |
114 | | - <build> |
115 | | - <plugins> |
116 | | - <plugin> |
117 | | - <groupId>org.apache.maven.plugins</groupId> |
118 | | - <artifactId>maven-javadoc-plugin</artifactId> |
119 | | - <configuration> |
120 | | - <skip>true</skip> |
121 | | - </configuration> |
122 | | - </plugin> |
123 | | - </plugins> |
124 | | - </build> |
125 | | - </profile> |
126 | | - </profiles> |
127 | 85 |
|
128 | 86 | <build> |
129 | 87 | <defaultGoal>clean package</defaultGoal> |
130 | 88 | <!-- Little hack to make the shade plugin output a file with the right name --> |
131 | 89 | <finalName>${project.finalNameBase}-noshade</finalName> |
132 | | - |
133 | 90 | <resources> |
134 | 91 | <resource> |
135 | 92 | <directory>.</directory> |
|
308 | 265 | <goal>shade</goal> |
309 | 266 | </goals> |
310 | 267 | <configuration> |
| 268 | + <finalName>${project.finalNameBase}-Lite</finalName> |
311 | 269 | <artifactSet> |
312 | 270 | <excludes> |
313 | 271 | <!-- Guava --> |
|
318 | 276 | <exclude>com.google.j2objc:j2objc-annotations</exclude> |
319 | 277 | <!-- Gson --> |
320 | 278 | <exclude>com.google.code.gson:gson</exclude> |
321 | | - </excludes> |
| 279 | + </excludes> |
322 | 280 | </artifactSet> |
323 | 281 | <relocations> |
324 | 282 | <relocation> |
|
366 | 324 | <shadedPattern>fr.xephi.authme.libs.com.github.benmanes.caffeine</shadedPattern> |
367 | 325 | </relocation> |
368 | 326 | </relocations> |
| 327 | + <filters> |
| 328 | + <filter> |
| 329 | + <artifact>*:*</artifact> |
| 330 | + <excludes> |
| 331 | + <exclude>GeoLite2-Country.mmdb</exclude> |
| 332 | + <exclude>META-INF/*.SF</exclude> |
| 333 | + <exclude>META-INF/*.DSA</exclude> |
| 334 | + <exclude>META-INF/*.RSA</exclude> |
| 335 | + </excludes> |
| 336 | + </filter> |
| 337 | + </filters> |
369 | 338 | </configuration> |
370 | 339 | </execution> |
371 | 340 | <execution> |
|
375 | 344 | <goal>shade</goal> |
376 | 345 | </goals> |
377 | 346 | <configuration> |
378 | | - <finalName>${project.finalNameBase}-Spigot-Universal</finalName> |
| 347 | + <finalName>${project.finalNameBase}-Universal</finalName> |
379 | 348 | <relocations> |
380 | 349 | <relocation> |
381 | 350 | <pattern>com.google.common</pattern> |
|
0 commit comments