pom.xml 3.9 KB

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