maven fix
This commit is contained in:
parent
6a2c5d050f
commit
1268ab9cf8
44
pom.xml
44
pom.xml
|
@ -181,40 +181,26 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>3.0.2</version>
|
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifest>
|
|
||||||
<addClasspath>true</addClasspath>
|
|
||||||
<classpathPrefix>libraries/</classpathPrefix>
|
|
||||||
<mainClass>com.cemu_UI.application.Main</mainClass>
|
|
||||||
</manifest>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-dependencies</id>
|
<goals>
|
||||||
<phase>package</phase>
|
<goal>shade</goal>
|
||||||
<goals>
|
</goals>
|
||||||
<goal>copy-dependencies</goal>
|
<configuration>
|
||||||
</goals>
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||||
<configuration>
|
<transformers>
|
||||||
<outputDirectory>${project.build.directory}/libraries</outputDirectory>
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||||
<overWriteReleases>false</overWriteReleases>
|
<mainClass>com.cemu_UI.application.Main</mainClass>
|
||||||
<overWriteSnapshots>false</overWriteSnapshots>
|
</transformer>
|
||||||
<overWriteIfNewer>true</overWriteIfNewer>
|
</transformers>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
Loading…
Reference in New Issue