Skip to content

Commit bb46150

Browse files
committed
chore: update version to 1.3.3 and add Maven shade plugin profile
1 parent 36742d7 commit bb46150

2 files changed

Lines changed: 41 additions & 27 deletions

File tree

pom.xml

Lines changed: 40 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.pinont</groupId>
88
<artifactId>singularitylib</artifactId>
9-
<version>1.3.3-SNAPSHOT</version>
9+
<version>1.3.3</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SingularityLib</name>
@@ -38,6 +38,45 @@
3838
</developer>
3939
</developers>
4040

41+
<profiles>
42+
<profile>
43+
<id>with-shade</id>
44+
<activation>
45+
<property>
46+
<name>shade</name>
47+
</property>
48+
</activation>
49+
<build>
50+
<plugins>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-shade-plugin</artifactId>
54+
<version>3.5.3</version>
55+
<configuration>
56+
<filters>
57+
<filter>
58+
<artifact>org.reflections:reflections</artifact>
59+
<includes>
60+
<include>org/reflections/**</include>
61+
</includes>
62+
</filter>
63+
</filters>
64+
</configuration>
65+
<executions>
66+
<execution>
67+
<phase>package</phase>
68+
<goals>
69+
<goal>shade</goal>
70+
</goals>
71+
</execution>
72+
</executions>
73+
</plugin>
74+
</plugins>
75+
</build>
76+
</profile>
77+
</profiles>
78+
79+
4180
<scm>
4281
<url>https://github.com/Pinont/SingularityLib</url>
4382
<connection>scm:git:https://github.com/Pinont/SingularityLib.git</connection>
@@ -131,31 +170,6 @@
131170
</executions>
132171
</plugin>
133172

134-
<!-- Shade -->
135-
<plugin>
136-
<groupId>org.apache.maven.plugins</groupId>
137-
<artifactId>maven-shade-plugin</artifactId>
138-
<version>3.5.3</version>
139-
<configuration>
140-
<filters>
141-
<filter>
142-
<artifact>org.reflections:reflections</artifact>
143-
<includes>
144-
<include>org/reflections/**</include>
145-
</includes>
146-
</filter>
147-
</filters>
148-
</configuration>
149-
<executions>
150-
<execution>
151-
<phase>package</phase>
152-
<goals>
153-
<goal>shade</goal>
154-
</goals>
155-
</execution>
156-
</executions>
157-
</plugin>
158-
159173
<!-- Explicit deploy plugin version -->
160174
<plugin>
161175
<groupId>org.apache.maven.plugins</groupId>

src/main/java/com/github/pinont/singularitylib/plugin/CorePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static void sendConsoleMessage(String message) {
9999
* @return the API version string
100100
*/
101101
public static String getAPIVersion() {
102-
String version = "1.3.3-SNAPSHOT";
102+
String version = "1.3.3";
103103
return "V-" + version;
104104
}
105105

0 commit comments

Comments
 (0)