| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>storm</artifactId> |
| <groupId>org.apache.storm</groupId> |
| <version>0.9.3-rc2-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-starter</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>storm-starter</name> |
| |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.8.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easytesting</groupId> |
| <artifactId>fest-assert-core</artifactId> |
| <version>2.0M8</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jmock</groupId> |
| <artifactId>jmock</artifactId> |
| <version>2.6.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.twitter4j</groupId> |
| <artifactId>twitter4j-stream</artifactId> |
| <version>3.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-core</artifactId> |
| <version>${project.version}</version> |
| <!-- keep storm out of the jar-with-dependencies --> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/jvm</sourceDirectory> |
| <testSourceDirectory>test/jvm</testSourceDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/multilang</directory> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <!-- |
| Bind the maven-assembly-plugin to the package phase |
| this will create a jar file without the storm dependencies |
| suitable for deployment to a cluster. |
| --> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <archive> |
| <manifest> |
| <mainClass /> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.theoryinpractise</groupId> |
| <artifactId>clojure-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <sourceDirectories> |
| <sourceDirectory>src/clj</sourceDirectory> |
| </sourceDirectories> |
| </configuration> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <executable>java</executable> |
| <includeProjectDependencies>true</includeProjectDependencies> |
| <includePluginDependencies>false</includePluginDependencies> |
| <classpathScope>compile</classpathScope> |
| <mainClass>${storm.topology}</mainClass> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |