Skip to content

Commit f98e64d

Browse files
committed
release pom.xml
1 parent bf28d4c commit f98e64d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

JavaRTS/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
<artifactId>javafx-fxml</artifactId>
2525
<version>21</version>
2626
</dependency>
27+
<dependency>
28+
<groupId>org.apache.maven.plugins</groupId>
29+
<artifactId>maven-shade-plugin</artifactId>
30+
<version>3.6.0</version>
31+
</dependency>
2732

2833
<dependency>
2934
<groupId>org.junit.jupiter</groupId>
@@ -69,6 +74,26 @@
6974
</execution>
7075
</executions>
7176
</plugin>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-shade-plugin</artifactId>
80+
<version>3.6.0</version>
81+
<executions>
82+
<execution>
83+
<phase>package</phase>
84+
<goals>
85+
<goal>shade</goal>
86+
</goals>
87+
<configuration>
88+
<transformers>
89+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
90+
<mainClass>ubx.project.javarts.Main</mainClass>
91+
</transformer>
92+
</transformers>
93+
</configuration>
94+
</execution>
95+
</executions>
96+
</plugin>
7297
</plugins>
7398
</build>
7499
</project>

0 commit comments

Comments
 (0)