Skip to content

Commit

Permalink
Revert "Overload javafx:run goal to work with JavaFX 17 (#136)" (#140)
Browse files Browse the repository at this point in the history
This reverts commit 88781ed.
  • Loading branch information
abhinayagarwal authored Oct 5, 2021
1 parent 95620eb commit 72c1ac0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 326 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@
<artifactId>commons-exec</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-invoker</artifactId>
<version>2.2</version>
</dependency>

<!--test-->
<dependency>
Expand Down
157 changes: 0 additions & 157 deletions src/main/java/org/openjfx/JavaFXRunFixMojo.java

This file was deleted.

8 changes: 1 addition & 7 deletions src/main/java/org/openjfx/JavaFXRunMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@
import static org.openjfx.model.RuntimePathOption.CLASSPATH;
import static org.openjfx.model.RuntimePathOption.MODULEPATH;

/**
* Mojo to run a JavaFX application.
*
* Mojo name change from 'run' to 'dorun' is temporary. It will be reverted
* once JavaFX 17.x empty jars are available with Automatic-Module-Name.
*/
@Mojo(name = "dorun", requiresDependencyResolution = ResolutionScope.RUNTIME)
@Mojo(name = "run", requiresDependencyResolution = ResolutionScope.RUNTIME)
@Execute(phase = LifecyclePhase.PROCESS_CLASSES)
public class JavaFXRunMojo extends JavaFXBaseMojo {

Expand Down
63 changes: 0 additions & 63 deletions src/main/java/org/openjfx/model/JavaFXDependency.java

This file was deleted.

93 changes: 0 additions & 93 deletions src/main/java/org/openjfx/model/JavaFXModule.java

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/java/org/openjfx/JavaFXRunMojoTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void testClasspathNoLauncherRun() throws Exception {
}

protected JavaFXRunMojo getJavaFXRunMojo(File testPom) throws Exception {
JavaFXRunMojo mojo = (JavaFXRunMojo) lookupMojo("dorun", testPom);
JavaFXRunMojo mojo = (JavaFXRunMojo) lookupMojo("run", testPom);
assertNotNull(mojo);

setUpProject(testPom, mojo);
Expand Down

0 comments on commit 72c1ac0

Please sign in to comment.