123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <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 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.wyds.packets</groupId>
- <artifactId>pcap</artifactId>
- <packaging>jar</packaging>
- <version>1.0.0</version>
- <name>pcap</name>
- <url>http://maven.apache.org</url>
-
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.0.3.RELEASE</version>
- </parent>
-
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.pcap4j</groupId>
- <artifactId>pcap4j-core</artifactId>
- <version>1.7.3</version>
- <type>jar</type>
- </dependency>
-
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
-
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
-
- <dependency>
- <groupId>io.pkts</groupId>
- <artifactId>pkts-streams</artifactId>
- <version>3.0.2</version>
- <type>jar</type>
- </dependency>
-
- <dependency>
- <groupId>io.pkts</groupId>
- <artifactId>pkts-core</artifactId>
- <version>3.0.2</version>
- <type>jar</type>
- </dependency>
-
-
-
-
- </dependencies>
-
- <build>
-
-
-
-
- <plugins>
- <!-- Specify to the compiler we want Java 1.8 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.7.0</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
-
- <!-- Tell the JAR plugin which class is the main class -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
- <configuration>
- <archive>
- <manifest>
- <mainClass>com.wyds.PacketTracker</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
-
- <!-- Embed dependencies inside the final JAR -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.1.0</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <finalName>uber-${project.artifactId}-${project.version}</finalName>
- </configuration>
- </plugin>
- </plugins>
-
-
-
-
-
- </build>
-
-
-
- </project>
|