My A1 Passion Project

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-jpa</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>mysql</groupId>
  34. <artifactId>mysql-connector-java</artifactId>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <plugins>
  39. <!-- Specify to the compiler we want Java 1.8 -->
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-compiler-plugin</artifactId>
  43. <version>3.7.0</version>
  44. <configuration>
  45. <source>1.8</source>
  46. <target>1.8</target>
  47. </configuration>
  48. </plugin>
  49. <!-- Tell the JAR plugin which class is the main class -->
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-jar-plugin</artifactId>
  53. <version>3.0.2</version>
  54. <configuration>
  55. <archive>
  56. <manifest>
  57. <mainClass>com.wyds.packets.PacketTracker</mainClass>
  58. </manifest>
  59. </archive>
  60. </configuration>
  61. </plugin>
  62. <!-- Embed dependencies inside the final JAR -->
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-shade-plugin</artifactId>
  66. <version>3.1.0</version>
  67. <executions>
  68. <execution>
  69. <phase>package</phase>
  70. <goals>
  71. <goal>shade</goal>
  72. </goals>
  73. </execution>
  74. </executions>
  75. <configuration>
  76. <finalName>uber-${project.artifactId}-${project.version}</finalName>
  77. </configuration>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </project>