Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <project>
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>org.openjfx</groupId>
  4. <artifactId>Test</artifactId>
  5. <packaging>jar</packaging>
  6. <version>1.0</version>
  7. <name>demo</name>
  8. <url>http://maven.apache.org</url>
  9.  
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <java.version>11</java.version>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. </properties>
  16.  
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.openjfx</groupId>
  20. <artifactId>javafx-controls</artifactId>
  21. <version>13</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.openjfx</groupId>
  28. <artifactId>javafx-maven-plugin</artifactId>
  29. <version>0.0.3</version>
  30. <configuration>
  31. <stripDebug>true</stripDebug>
  32. <compress>2</compress>
  33. <noHeaderFiles>true</noHeaderFiles>
  34. <noManPages>true</noManPages>
  35. <jlinkImageName>Test</jlinkImageName>
  36. <jlinkZipName>TestZip</jlinkZipName>
  37. <mainClass>ca.randolf.Test</mainClass>
  38. </configuration>
  39. </plugin>
  40. </plugins>
  41. </build>
  42. </project>
  43.  
  44. # mvn -l pom.log clean javafx:jlink
  45.  
  46. [INFO] Scanning for projects...
  47. [INFO]
  48. [INFO] --------------------------< org.openjfx:Test >--------------------------
  49. [INFO] Building demo 1.0
  50. [INFO] --------------------------------[ jar ]---------------------------------
  51. [INFO]
  52. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Test ---
  53. [INFO] Deleting /home/randolf/Design.JavaFX/Test/target
  54. [INFO]
  55. [INFO] --- javafx-maven-plugin:0.0.3:jlink (default-cli) @ Test ---
  56. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  57. [INFO] skip non existing resourceDirectory /home/randolf/Design.JavaFX/Test/src/main/resources
  58. [INFO] Changes detected - recompiling the module!
  59. [INFO] Compiling 1 source file to /home/randolf/Design.JavaFX/Test/target/classes
  60. [INFO] ------------------------------------------------------------------------
  61. [INFO] BUILD FAILURE
  62. [INFO] ------------------------------------------------------------------------
  63. [INFO] Total time: 2.423 s
  64. [INFO] Finished at: 2019-09-19T02:34:51-07:00
  65. [INFO] ------------------------------------------------------------------------
  66. [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]
  67. [ERROR]
  68. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  69. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  70. [ERROR]
  71. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  72. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement