Skip to content
Snippets Groups Projects
Commit caf443a6 authored by Locatelli's avatar Locatelli
Browse files

Running on ubuntu 20.04 LTS

parent b23c1eac
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@ target/
.settings/
*.log
*.log.*
/shade/
......@@ -51,13 +51,45 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>10</source>
<target>10</target>
<source>11</source>
<target>11</target>
<encoding>Cp1252</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.6</version>
<configuration>
<mainClass>fr.ill.ics.n3d.Nomad3DEditor</mainClass>
</configuration>
</plugin>
<!-- Assemble a single jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>project-classifier</shadedClassifierName>
<outputFile>shade\${project.artifactId}.jar</outputFile>
<transformers>
<transformer implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>fr.ill.ics.n3d.Launcher</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<!-- Assemble a single jar
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
......@@ -87,7 +119,7 @@
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</project>
\ No newline at end of file
package fr.ill.ics.n3d;
public class Launcher {
public static void main(String[] args) {
Nomad3DEditor.main(args);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment