Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.openjfx</groupId>
- <artifactId>Test</artifactId>
- <packaging>jar</packaging>
- <version>1.0</version>
- <name>demo</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <java.version>11</java.version>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.openjfx</groupId>
- <artifactId>javafx-controls</artifactId>
- <version>13</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.openjfx</groupId>
- <artifactId>javafx-maven-plugin</artifactId>
- <version>0.0.3</version>
- <configuration>
- <stripDebug>true</stripDebug>
- <compress>2</compress>
- <noHeaderFiles>true</noHeaderFiles>
- <noManPages>true</noManPages>
- <jlinkImageName>Test</jlinkImageName>
- <jlinkZipName>TestZip</jlinkZipName>
- <mainClass>ca.randolf.Test</mainClass>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
- # mvn -l pom.log clean javafx:jlink
- [INFO] Scanning for projects...
- [INFO]
- [INFO] --------------------------< org.openjfx:Test >--------------------------
- [INFO] Building demo 1.0
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Test ---
- [INFO] Deleting /home/randolf/Design.JavaFX/Test/target
- [INFO]
- [INFO] --- javafx-maven-plugin:0.0.3:jlink (default-cli) @ Test ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/randolf/Design.JavaFX/Test/src/main/resources
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to /home/randolf/Design.JavaFX/Test/target/classes
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 2.423 s
- [INFO] Finished at: 2019-09-19T02:34:51-07:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.3:jlink (default-cli) on project Test: Error: jlink requires a module descriptor -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement