summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bentele2021-06-30 12:05:14 +0200
committerManuel Bentele2021-06-30 12:05:14 +0200
commitd8d04f2e8d89481e3ee1b12499fc55e21478f73b (patch)
tree26807ea0f9c6b982c999aea82741ed340e8beabc
parent[libvirt] Remove default network (diff)
downloadmltk-d8d04f2e8d89481e3ee1b12499fc55e21478f73b.tar.gz
mltk-d8d04f2e8d89481e3ee1b12499fc55e21478f73b.tar.xz
mltk-d8d04f2e8d89481e3ee1b12499fc55e21478f73b.zip
[qemu] Add link to main Java class into the Manifest (Jar archive)
-rw-r--r--core/modules/qemu/runvirt-plugin-qemu/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/qemu/runvirt-plugin-qemu/pom.xml b/core/modules/qemu/runvirt-plugin-qemu/pom.xml
index d8bb9743..36f62796 100644
--- a/core/modules/qemu/runvirt-plugin-qemu/pom.xml
+++ b/core/modules/qemu/runvirt-plugin-qemu/pom.xml
@@ -12,6 +12,7 @@
<url>https://git.openslx.org/openslx-ng/mltk.git/</url>
<properties>
+ <main.class>org.openslx.runvirt.plugin.qemu.App</main.class>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -145,6 +146,13 @@
</execution>
</executions>
<configuration>
+ <archive>
+ <manifest>
+ <mainClass>${main.class}</mainClass>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ </archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>