Skip to content

Commit 6c9e96d

Browse files
committed
Added Maven shading.
1 parent a3c8f87 commit 6c9e96d

2 files changed

Lines changed: 31 additions & 2 deletions

File tree

pom.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,37 @@
2323
<source>${java.version}</source>
2424
<target>${java.version}</target>
2525
</configuration>
26-
</plugin>
26+
</plugin>
27+
28+
<plugin>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-jar-plugin</artifactId>
31+
<configuration>
32+
<archive>
33+
<manifest>
34+
<mainClass>com.comphenix.rema1000.Application</mainClass>
35+
</manifest>
36+
</archive>
37+
</configuration>
38+
</plugin>
39+
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-shade-plugin</artifactId>
43+
<version>2.3</version>
44+
<executions>
45+
<execution>
46+
<phase>package</phase>
47+
<goals>
48+
<goal>shade</goal>
49+
</goals>
50+
<configuration>
51+
<shadedArtifactAttached>false</shadedArtifactAttached>
52+
<createDependencyReducedPom>false</createDependencyReducedPom>
53+
</configuration>
54+
</execution>
55+
</executions>
56+
</plugin>
2757
</plugins>
2858
</build>
2959
<dependencies>

src/main/java/com/comphenix/rema1000/model/ScorecardEntry.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.comphenix.rema1000.model;
22

3-
import com.comphenix.rema1000.beans.BeanMetadata;
43
import com.google.gson.annotations.SerializedName;
54

65
import java.util.Objects;

0 commit comments

Comments
 (0)