Skip to content

Commit

Permalink
test(Launcher): add javafx-maven-plugin and javafx-controls to pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfBarkow committed May 5, 2024
1 parent 2b9d19e commit 5d7a8f7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
17 changes: 15 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>de.danielluedecke.zettelkasten.ZettelkastenApp</mainClass>
</transformer>
</transformers>
Expand Down Expand Up @@ -229,14 +229,22 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<configuration>
<mainClass>playground/Launcher</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<type>maven-plugin</type>
<type>maven-plugin</type>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down Expand Up @@ -366,6 +374,11 @@
<version>1.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>12.0.2</version>
</dependency>
</dependencies>
<repositories>
<repository>
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/playground/Launcher.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package playground;

import playground.JavaFXMenuExample;


import javafx.application.Application;

public class Launcher {
Expand Down

0 comments on commit 5d7a8f7

Please sign in to comment.