pom.xml 4.1 KB

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