91 lines
2.7 KiB
XML
91 lines
2.7 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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">
|
||
|
<parent>
|
||
|
<artifactId>parent-modules</artifactId>
|
||
|
<groupId>com.baeldung</groupId>
|
||
|
<version>1.0.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<groupId>com.baeldung.undertow</groupId>
|
||
|
<artifactId>undertow</artifactId>
|
||
|
<name>undertow</name>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<url>http://maven.apache.org</url>
|
||
|
<build>
|
||
|
<finalName>${project.artifactId}</finalName>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>shade</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>com.baeldung.undertow.SimpleServer</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.12</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hamcrest</groupId>
|
||
|
<artifactId>hamcrest-core</artifactId>
|
||
|
<version>1.3</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hamcrest</groupId>
|
||
|
<artifactId>hamcrest-library</artifactId>
|
||
|
<version>1.3</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hamcrest</groupId>
|
||
|
<artifactId>hamcrest-all</artifactId>
|
||
|
<version>1.3</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.mockito</groupId>
|
||
|
<artifactId>mockito-core</artifactId>
|
||
|
<version>2.8.9</version>
|
||
|
<scope>test</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>byte-buddy</artifactId>
|
||
|
<groupId>net.bytebuddy</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>byte-buddy-agent</artifactId>
|
||
|
<groupId>net.bytebuddy</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>objenesis</artifactId>
|
||
|
<groupId>org.objenesis</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<properties>
|
||
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||
|
</properties>
|
||
|
</project>
|