<?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>dropwizard-consul</artifactId> <groupId>com.smoketurner.dropwizard</groupId> <version>1.0.2-2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>consul-example</artifactId> <name>Dropwizard Consul Example</name> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>2.4.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer /> <transformer> <mainClass>com.example.helloworld.HelloWorldApplication</mainClass> </transformer> </transformers> </configuration> </execution> </executions> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.smoketurner.dropwizard</groupId> <artifactId>consul-example</artifactId> <version>1.0.2-2</version> </dependency>
com.smoketurner.dropwizard:consul-example:1.0.2-2