pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>Odds</groupId>
  4. <artifactId>Odds</artifactId>
  5. <version>0.0.1-SNAPSHOT</version>
  6. <build>
  7. <sourceDirectory>src</sourceDirectory>
  8. <plugins>
  9. <plugin>
  10. <artifactId>maven-compiler-plugin</artifactId>
  11. <version>3.8.1</version>
  12. <configuration>
  13. <source>18</source>
  14. <target>18</target>
  15. </configuration>
  16. </plugin>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-shade-plugin</artifactId>
  20. <version>3.4.1</version>
  21. <executions>
  22. <execution>
  23. <phase>package</phase>
  24. <goals>
  25. <goal>
  26. shade
  27. </goal>
  28. </goals>
  29. <configuration>
  30. <transformers>
  31. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  32. <mainClass>main.Main</mainClass>
  33. </transformer>
  34. </transformers>
  35. </configuration>
  36. </execution>
  37. </executions>
  38. </plugin>
  39. <!-- <plugin>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-maven-plugin</artifactId>
  42. <executions>
  43. <execution>
  44. <goals>
  45. <goal>repackage</goal>
  46. </goals>
  47. <configuration>
  48. <classifier>spring-boot</classifier>
  49. <mainClass>
  50. Main
  51. </mainClass>
  52. </configuration>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. -->
  57. </plugins>
  58. </build>
  59. <repositories>
  60. <repository>
  61. <id>nordhs-repo</id>
  62. <name>Nords Repo</name>
  63. <url>http://nordh.xyz:9099/repository/nordhs-repo/</url>
  64. </repository>
  65. </repositories>
  66. <dependencies>
  67. <dependency>
  68. <groupId>net.sourceforge.htmlunit</groupId>
  69. <artifactId>htmlunit</artifactId>
  70. <version>2.66.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.github.jbytecode</groupId>
  74. <artifactId>RCaller</artifactId>
  75. <version>3.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>mysql</groupId>
  79. <artifactId>mysql-connector-java</artifactId>
  80. <version>8.0.30</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. <version>2.7.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.fasterxml.jackson.core</groupId>
  89. <artifactId>jackson-databind</artifactId>
  90. <version>2.13.3</version>
  91. </dependency>
  92. <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
  93. <dependency>
  94. <groupId>org.seleniumhq.selenium</groupId>
  95. <artifactId>selenium-java</artifactId>
  96. <version>4.6.0</version>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  99. <dependency>
  100. <groupId>com.google.guava</groupId>
  101. <artifactId>guava</artifactId>
  102. <version>31.1-jre</version>
  103. </dependency>
  104. </dependencies>
  105. </project>