Commit 269603e9 authored by Nico Mack's avatar Nico Mack

Added possibility to build self-contained jar file with all required

dependencies
parent cba7d1f2
......@@ -27,6 +27,11 @@
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<resources>
<resource>
<directory>config</directory>
</resource>
</resources>
<plugins>
<plugin>
......@@ -73,7 +78,21 @@
<!-- <manifestFile>config/META-INF/MANIFEST.MF</manifestFile> -->
</archive>
</configuration>
</plugin>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>lu.list.itis.dkd.tui.TulipCore</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
......@@ -180,7 +199,6 @@
<groupId>javax.media</groupId>
<artifactId>jmf</artifactId>
<version>2.1.1e</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
......
......@@ -118,9 +118,9 @@ public class AnimatedShapeCorona extends Corona {
for (AnimationProperty<?> property : properties) {
if (PROPERTY_OPACITY.equals(property.getProperty())) {
this.setOpacity((double) property.getStart());
this.setOpacity((Double) property.getStart());
} else if (PROPERTY_SCALE.equals(property.getProperty())) {
this.setScale((double) property.getStart());
this.setScale((Double) property.getStart());
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment