pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <packaging>jar</packaging>
  5. <parent>
  6. <groupId>xyz.tbvns</groupId>
  7. <artifactId>PowerGD</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>PowerGDEditor</artifactId>
  11. <version>${BUILD_NUMBER}</version>
  12. <properties>
  13. <maven.compiler.source>21</maven.compiler.source>
  14. <maven.compiler.target>21</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <repositories>
  18. <repository>
  19. <id>jitpack.io</id>
  20. <url>https://jitpack.io</url>
  21. </repository>
  22. </repositories>
  23. <dependencies>
  24. <!-- LibGDX -->
  25. <dependency>
  26. <groupId>com.badlogicgames.gdx</groupId>
  27. <artifactId>gdx</artifactId>
  28. <version>1.13.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.badlogicgames.gdx</groupId>
  32. <artifactId>gdx-backend-lwjgl3</artifactId>
  33. <version>1.13.0</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.badlogicgames.gdx</groupId>
  37. <artifactId>gdx-platform</artifactId>
  38. <version>1.13.0</version>
  39. <classifier>natives-desktop</classifier>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.badlogicgames.gdx</groupId>
  43. <artifactId>gdx-bullet</artifactId>
  44. <version>1.13.0</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.badlogicgames.gdx</groupId>
  48. <artifactId>gdx-bullet-platform</artifactId>
  49. <version>1.13.0</version>
  50. <classifier>natives-desktop</classifier>
  51. </dependency>
  52. <!-- ImGUI -->
  53. <dependency>
  54. <groupId>io.github.spair</groupId>
  55. <artifactId>imgui-java-binding</artifactId>
  56. <version>1.86.11</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.github.spair</groupId>
  60. <artifactId>imgui-java-lwjgl3</artifactId>
  61. <version>1.86.11</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.github.spair</groupId>
  65. <artifactId>imgui-java-natives-linux</artifactId>
  66. <version>1.86.11</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>io.github.spair</groupId>
  70. <artifactId>imgui-java-natives-windows</artifactId>
  71. <version>1.86.11</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>io.github.spair</groupId>
  75. <artifactId>imgui-java-natives-macos</artifactId>
  76. <version>1.86.11</version>
  77. </dependency>
  78. <!--Others -->
  79. <dependency>
  80. <groupId>tv.wunderbox</groupId>
  81. <artifactId>nativefiledialog</artifactId>
  82. <version>1.0.3</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.lwjgl</groupId>
  86. <artifactId>lwjgl-tinyfd</artifactId>
  87. <version>3.3.4</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.lwjgl</groupId>
  91. <artifactId>lwjgl-tinyfd</artifactId>
  92. <classifier>natives-windows</classifier>
  93. <version>3.3.4</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.lwjgl</groupId>
  97. <artifactId>lwjgl-tinyfd</artifactId>
  98. <classifier>natives-linux</classifier>
  99. <version>3.3.4</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.lwjgl</groupId>
  103. <artifactId>lwjgl-tinyfd</artifactId>
  104. <classifier>natives-macos</classifier>
  105. <version>3.3.4</version>
  106. </dependency>
  107. <!-- GD4J -->
  108. <dependency>
  109. <groupId>xyz.tbvns</groupId>
  110. <artifactId>GD4J</artifactId>
  111. <version>1.1-ALPHA-SNAPSHOT</version>
  112. </dependency>
  113. </dependencies>
  114. <distributionManagement>
  115. <repository>
  116. <id>main-repo</id> <!-- Must match the id in settings.xml -->
  117. <url>http://localhost:7071/devbuild</url>
  118. </repository>
  119. </distributionManagement>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <version>3.8.1</version>
  126. <configuration>
  127. <source>1.8</source>
  128. <target>1.8</target>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-jar-plugin</artifactId>
  134. <version>3.4.2</version>
  135. <configuration>
  136. <archive>
  137. <manifest>
  138. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  139. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  140. </manifest>
  141. </archive>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <profiles>
  147. <profile>
  148. <id>jenkins</id>
  149. <properties>
  150. <groupId>${project.groupId}</groupId>
  151. <artifactId>${project.artifactId}</artifactId>
  152. <version>${project.version}</version>
  153. <packaging>${project.packaging}</packaging>
  154. </properties>
  155. <build>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-jar-plugin</artifactId>
  160. <version>2.5</version>
  161. <executions>
  162. <execution>
  163. <id>generate-default-version</id>
  164. <phase>package</phase>
  165. <goals>
  166. <goal>jar</goal>
  167. </goals>
  168. <configuration>
  169. <classifier>${BUILD_NUMBER}</classifier>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-install-plugin</artifactId>
  177. <version>2.4</version>
  178. <executions>
  179. <execution>
  180. <id>install-default-version</id>
  181. <phase>install</phase>
  182. <goals>
  183. <goal>install-file</goal>
  184. </goals>
  185. <configuration>
  186. <file>${project.build.directory}/${project.build.finalName}-${BUILD_NUMBER}.${project.packaging}</file>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. </plugins>
  192. </build>
  193. </profile>
  194. </profiles>
  195. </project>