pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>space.anyi</groupId>
  7. <artifactId>autoConnectNetwork</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <maven.compiler.source>8</maven.compiler.source>
  12. <maven.compiler.target>8</maven.compiler.target>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.seleniumhq.selenium</groupId>
  17. <artifactId>selenium-java</artifactId>
  18. <version>4.8.0</version>
  19. </dependency>
  20. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
  21. <dependency>
  22. <groupId>org.slf4j</groupId>
  23. <artifactId>slf4j-api</artifactId>
  24. <version>1.6.1</version>
  25. </dependency>
  26. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  27. <dependency>
  28. <groupId>log4j</groupId>
  29. <artifactId>log4j</artifactId>
  30. <version>1.2.17</version>
  31. </dependency>
  32. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
  33. <dependency>
  34. <groupId>org.slf4j</groupId>
  35. <artifactId>slf4j-api</artifactId>
  36. <version>1.6.1</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.slf4j</groupId>
  40. <artifactId>slf4j-nop</artifactId>
  41. <version>1.6.1</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-shade-plugin</artifactId>
  49. <version>1.4</version>
  50. <configuration>
  51. <createDependencyReducedPom>true</createDependencyReducedPom>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>shade</goal>
  58. </goals>
  59. <configuration>
  60. <transformers>
  61. <transformer
  62. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  63. <mainClass>space.anyi.autoConnectNetwork.Main</mainClass>
  64. </transformer>
  65. </transformers>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </project>