Aplikasi POS Amigo, dibangun dengan JavaFX dengan Maven
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
4.0 KiB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>id.amigogroup</groupId>
  5. <artifactId>PosTerminal</artifactId>
  6. <version>1.0.0</version>
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <maven.compiler.source>11</maven.compiler.source>
  10. <maven.compiler.target>11</maven.compiler.target>
  11. <javafx.version>11.0.2</javafx.version>
  12. <mainClass>id.amigogroup.posterminal.ShadeApp</mainClass>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.openjfx</groupId>
  17. <artifactId>javafx-controls</artifactId>
  18. <version>${javafx.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.openjfx</groupId>
  22. <artifactId>javafx-fxml</artifactId>
  23. <version>${javafx.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.openjfx</groupId>
  27. <artifactId>javafx-graphics </artifactId>
  28. <version>${javafx.version}</version>
  29. <classifier>win</classifier>
  30. </dependency>
  31. <!-- <dependency>
  32. <groupId>org.openjfx</groupId>
  33. <artifactId>javafx-graphics </artifactId>
  34. <version>${javafx.version}</version>
  35. <classifier>linux</classifier>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.openjfx</groupId>
  39. <artifactId>javafx-graphics </artifactId>
  40. <version>${javafx.version}</version>
  41. <classifier>mac</classifier>
  42. </dependency>-->
  43. </dependencies>
  44. <build>
  45. <plugins><!-- Maven Shade Plugin -->
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-shade-plugin</artifactId>
  49. <version>3.2.1</version>
  50. <executions>
  51. <!-- Run shade goal on package phase -->
  52. <execution>
  53. <phase>package</phase>
  54. <goals>
  55. <goal>shade</goal>
  56. </goals>
  57. <configuration>
  58. <transformers>
  59. <!-- add Main-Class to manifest file -->
  60. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  61. <mainClass>${mainClass}</mainClass>
  62. </transformer>
  63. </transformers>
  64. <filters>
  65. <filter>
  66. <artifact>*:*</artifact>
  67. <excludes>
  68. <exclude>META-INF/*.SF</exclude>
  69. <exclude>META-INF/*.DSA</exclude>
  70. <exclude>META-INF/*.RSA</exclude>
  71. </excludes>
  72. </filter>
  73. </filters>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-compiler-plugin</artifactId>
  81. <version>3.8.0</version>
  82. <configuration>
  83. <release>11</release>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.openjfx</groupId>
  88. <artifactId>javafx-maven-plugin</artifactId>
  89. <version>0.0.3</version>
  90. <configuration>
  91. <mainClass>${mainClass}</mainClass>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>