My A1 Passion Project

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.wyds.packets</groupId>
  5. <artifactId>pcap</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0.0</version>
  8. <name>pcap</name>
  9. <url>http://maven.apache.org</url>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.0.3.RELEASE</version>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>junit</groupId>
  18. <artifactId>junit</artifactId>
  19. <version>3.8.1</version>
  20. <scope>test</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.pcap4j</groupId>
  24. <artifactId>pcap4j-core</artifactId>
  25. <version>1.7.3</version>
  26. <type>jar</type>
  27. </dependency>
  28. <dependency>
  29. <groupId>mysql</groupId>
  30. <artifactId>mysql-connector-java</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.pkts</groupId>
  38. <artifactId>pkts-streams</artifactId>
  39. <version>3.0.2</version>
  40. <type>jar</type>
  41. </dependency>
  42. <dependency>
  43. <groupId>io.pkts</groupId>
  44. <artifactId>pkts-core</artifactId>
  45. <version>3.0.2</version>
  46. <type>jar</type>
  47. </dependency>
  48. <dependency>
  49. <groupId>redis.clients</groupId>
  50. <artifactId>jedis</artifactId>
  51. <version>2.9.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.data</groupId>
  55. <artifactId>spring-data-redis</artifactId>
  56. <version>2.0.3.RELEASE</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-data-redis</artifactId>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <plugins>
  65. <!-- Specify to the compiler we want Java 1.8 -->
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.7.0</version>
  70. <configuration>
  71. <source>1.8</source>
  72. <target>1.8</target>
  73. </configuration>
  74. </plugin>
  75. <!-- Tell the JAR plugin which class is the main class -->
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-jar-plugin</artifactId>
  79. <version>3.0.2</version>
  80. <configuration>
  81. <archive>
  82. <manifest>
  83. <mainClass>com.wyds.PacketTracker</mainClass>
  84. </manifest>
  85. </archive>
  86. </configuration>
  87. </plugin>
  88. <!-- Embed dependencies inside the final JAR -->
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-shade-plugin</artifactId>
  92. <version>3.1.0</version>
  93. <executions>
  94. <execution>
  95. <phase>package</phase>
  96. <goals>
  97. <goal>shade</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. <configuration>
  102. <finalName>uber-${project.artifactId}-${project.version}</finalName>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>