Skip to content

Commit

Permalink
Fix codemc jdk8 (#240)
Browse files Browse the repository at this point in the history
* chore: set release target to jdk8

* chore: polish pom.xml some more

* chore: update copyright year
  • Loading branch information
Ingrim4 authored Sep 10, 2022
1 parent b8240cb commit 29cc9de
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Still having trouble getting Orebfuscator to run check out our [common issues](h
## License:

Almost completely rewritten by Imprex-Development to support v1.14 and higher Minecraft version's; these portions as permissible:
Copyright (C) 2020-2021 by Imprex-Development. All rights reserved.
Copyright (C) 2020-2022 by Imprex-Development. All rights reserved.

Released under the same license as original.

Expand Down
2 changes: 1 addition & 1 deletion orebfuscator-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<groupId>net.imprex</groupId>
<artifactId>orebfuscator-common</artifactId>
<version>${revision}</version>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.imprex</groupId>
Expand Down
45 changes: 34 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
<packaging>pom</packaging>

<name>Orebfuscator</name>
<url>https://github.com/Imprex-Development/Orebfuscator</url>
<description>High-Performance Anti X-Ray</description>
<inceptionYear>2020</inceptionYear>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/Imprex-Development/Orebfuscator/issues</url>
</issueManagement>

<properties>
<revision>5.0.0-b0</revision>
Expand All @@ -17,13 +24,11 @@
<dependency.protocollib.version>4.4.0</dependency.protocollib.version>
<dependency.bstats.version>3.0.0</dependency.bstats.version>

<plugin.compile.version>3.10.1</plugin.compile.version>
<plugin.shade.version>3.3.0</plugin.shade.version>
<plugin.flatten.version>1.2.7</plugin.flatten.version>
<plugin.specialsource.version>1.2.4</plugin.specialsource.version>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -48,16 +53,16 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${plugin.shade.version}</version>
<artifactId>maven-compiler-plugin</artifactId>
<version>${plugin.compile.version}</version>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>net.imprex.orebfuscator.metrics</shadedPattern>
</relocation>
</relocations>
<release>8</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${plugin.shade.version}</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -66,6 +71,24 @@
</goals>
</execution>
</executions>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>net.imprex.orebfuscator.metrics</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down

0 comments on commit 29cc9de

Please sign in to comment.