You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by clay teahouse <cl...@gmail.com> on 2014/09/24 17:01:34 UTC
compiling topologies in
Hello All,
I have built the storm package from https://github.com/apache/storm
(storm-core-0.9.3-incubating-SNAPSHOT.jar).
How do I build the topologies in storm-hdfs (i.e., the ones in
external/storm-hdfs/src/test/) and storm-kafka?
thanks,
Clay
Re: compiling topologies in
Posted by Harsha <st...@harsha.io>.
if you want to package tests in a jar you can add the following to the
storm-hdfs/pom.xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
once you run mvn package you'll find
storm-hdfs-0.9.3-incubating-SNAPSHOT-tests.jar under target/
--Harsha
On Wed, Sep 24, 2014, at 08:01 AM, clay teahouse wrote:
> Hello All,
>
> I have built the storm package from https://github.com/apache/storm
> (storm-core-0.9.3-incubating-SNAPSHOT.jar).
> How do I build the topologies in storm-hdfs (i.e., the ones in
> external/storm-hdfs/src/test/) and storm-kafka?
>
> thanks,
> Clay