shade dependencies and move package
This commit is contained in:
parent
d7c7b577ee
commit
55a3db11a6
39
pom.xml
39
pom.xml
@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>dev.ninjdai</groupId>
|
||||
<groupId>dev.ninjdai.prosopagtk</groupId>
|
||||
<artifactId>prosopagtk</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
@ -26,5 +26,40 @@
|
||||
<version>v0.5.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>dev.ninjdai.prosopagtk.Main</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<mainClass>dev.ninjdai.prosopagtk.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
@ -1,4 +1,4 @@
|
||||
package dev.ninjdai;
|
||||
package dev.ninjdai.prosopagtk;
|
||||
|
||||
import ch.bailu.gtk.gtk.Application;
|
||||
import ch.bailu.gtk.gtk.ApplicationWindow;
|
Loading…
Reference in New Issue
Block a user