<?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>undertow-parent</artifactId> <groupId>io.undertow</groupId> <version>1.3.0.Beta3</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>io.undertow</groupId> <artifactId>undertow-examples</artifactId> <name>Undertow Examples</name> <version>1.3.0.Beta3</version> <build> <resources> <resource> <directory>src/main/java</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> <finalName>undertow-examples</finalName> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.mortbay.jetty.alpn</groupId> <artifactId>alpn-boot</artifactId> <type>jar</type> <overWrite>false</overWrite> <outputDirectory>${project.build.directory}</outputDirectory> <destFileName>alpn.jar</destFileName> </artifactItem> </artifactItems> <overWriteReleases>true</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> <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>io.undertow.examples.Runner</mainClass> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</version> <configuration> <executable>java</executable> <arguments> <argument>-Xbootclasspath/p:${project.build.directory}/alpn.jar</argument> <argument>-jar</argument> <argument>target/${project.build.finalName}.jar</argument> </arguments> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging-processor</artifactId> <version>2.0.0.Final</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>jboss-logging-annotations</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> <exclusion> <artifactId>jdeparser</artifactId> <groupId>org.jboss.jdeparser</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mortbay.jetty.alpn</groupId> <artifactId>alpn-boot</artifactId> <version>8.1.2.v20141202</version> <scope>test</scope> </dependency> </dependencies> </project>
<dependency> <groupId>io.undertow</groupId> <artifactId>undertow-examples</artifactId> <version>1.3.0.Beta3</version> </dependency>
io.undertow:undertow-examples:1.3.0.Beta3