pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>Odds</groupId>
  6. <artifactId>Odds</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <properties>
  9. <maven.compiler.source>17</maven.compiler.source>
  10. <maven.compiler.target>17</maven.compiler.target>
  11. <maven.compiler.release>17</maven.compiler.release>
  12. </properties>
  13. <!-- <packaging>pom</packaging> -->
  14. <build>
  15. <sourceDirectory>src</sourceDirectory>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-compiler-plugin</artifactId>
  20. <version>3.12.1</version>
  21. <configuration>
  22. <source>17</source>
  23. <target>17</target>
  24. <release>17</release>
  25. </configuration>
  26. </plugin>
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-jar-plugin</artifactId>
  30. <version>3.4.1</version>
  31. <configuration>
  32. <archive>
  33. <manifest>
  34. <mainClass>main.Main</mainClass>
  35. </manifest>
  36. </archive>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-shade-plugin</artifactId>
  42. <version>3.5.1</version>
  43. <executions>
  44. <execution>
  45. <phase>package</phase>
  46. <goals>
  47. <goal>
  48. shade
  49. </goal>
  50. </goals>
  51. <configuration>
  52. <transformers>
  53. <transformer
  54. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  55. <mainClass>main.Main</mainClass>
  56. </transformer>
  57. </transformers>
  58. <filters>
  59. <filter>
  60. <artifact>*:*</artifact>
  61. <excludes>
  62. <exclude>META-INF/*.SF</exclude>
  63. <exclude>META-INF/*.DSA</exclude>
  64. <exclude>META-INF/*.RSA</exclude>
  65. </excludes>
  66. </filter>
  67. </filters>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <!-- <plugin>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-maven-plugin</artifactId>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. <configuration>
  81. <classifier>spring-boot</classifier>
  82. <mainClass>
  83. Main
  84. </mainClass>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. -->
  90. </plugins>
  91. </build>
  92. <repositories>
  93. <repository>
  94. <id>nordhs-repo</id>
  95. <name>Nords Repo</name>
  96. <url>http://nordh.xyz:9099/repository/nordhs-repo/</url>
  97. </repository>
  98. </repositories>
  99. <dependencies>
  100. <!-- https://mvnrepository.com/artifact/org.htmlunit/htmlunit -->
  101. <dependency>
  102. <groupId>org.htmlunit</groupId>
  103. <artifactId>htmlunit</artifactId>
  104. <version>4.4.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.jbytecode</groupId>
  108. <artifactId>RCaller</artifactId>
  109. <version>3.0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.mysql</groupId>
  113. <artifactId>mysql-connector-j</artifactId>
  114. <version>9.0.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <version>3.3.4</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.fasterxml.jackson.core</groupId>
  123. <artifactId>jackson-databind</artifactId>
  124. <version>2.18.0</version>
  125. </dependency>
  126. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  127. <dependency>
  128. <groupId>org.seleniumhq.selenium</groupId>
  129. <artifactId>selenium-java</artifactId>
  130. <version>4.25.0</version>
  131. </dependency>
  132. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  133. <!-- <dependency>
  134. <groupId>io.github.bonigarcia</groupId>
  135. <artifactId>webdrivermanager</artifactId>
  136. <version>5.9.2</version>
  137. </dependency> -->
  138. <dependency>
  139. <groupId>com.mysql</groupId>
  140. <artifactId>mysql-connector-j</artifactId>
  141. <version>9.1.0</version>
  142. </dependency>
  143. </dependencies>
  144. </project>