<?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>storm</artifactId> <groupId>org.apache.storm</groupId> <version>1.2.0</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>storm-mqtt-examples</artifactId> <name>storm-mqtt-examples</name> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>1.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer /> <transformer> <mainClass>org.apache.storm.flux.Flux</mainClass> </transformer> </transformers> </configuration> </execution> </executions> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.sf</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.dsa</exclude> <exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.rsa</exclude> <exclude>META-INF/*.EC</exclude> <exclude>META-INF/*.ec</exclude> <exclude>META-INF/MSFTSIG.SF</exclude> <exclude>META-INF/MSFTSIG.RSA</exclude> </excludes> </filter> </filters> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>1.2.0</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>kryo</artifactId> <groupId>com.esotericsoftware</groupId> </exclusion> <exclusion> <artifactId>clojure</artifactId> <groupId>org.clojure</groupId> </exclusion> <exclusion> <artifactId>ring-cors</artifactId> <groupId>ring-cors</groupId> </exclusion> <exclusion> <artifactId>disruptor</artifactId> <groupId>com.lmax</groupId> </exclusion> <exclusion> <artifactId>log4j-over-slf4j</artifactId> <groupId>org.slf4j</groupId> </exclusion> <exclusion> <artifactId>metrics-core</artifactId> <groupId>io.dropwizard.metrics</groupId> </exclusion> <exclusion> <artifactId>metrics-graphite</artifactId> <groupId>io.dropwizard.metrics</groupId> </exclusion> <exclusion> <artifactId>metrics-ganglia</artifactId> <groupId>io.dropwizard.metrics</groupId> </exclusion> <exclusion> <artifactId>servlet-api</artifactId> <groupId>javax.servlet</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> </dependencies> </project>
<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-mqtt-examples</artifactId> <version>1.2.0</version> </dependency>
org.apache.storm:storm-mqtt-examples:1.2.0