Skip to content

Instantly share code, notes, and snippets.

@mbonaci
Last active December 19, 2015 18:08
Show Gist options
  • Save mbonaci/5996278 to your computer and use it in GitHub Desktop.
Save mbonaci/5996278 to your computer and use it in GitHub Desktop.
Example of maven pom file for Twitter Storm
<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>
<groupId>my.friend.is.a.seal</groupId>
<artifactId>my-own-storm</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>my-own-storm</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>storm</groupId>
<artifactId>storm</artifactId>
<version>0.8.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
<scm>
<connection>scm:git:git@github.com:mbonaci/my-own-storm.git</connection>
<url>scm:git:git@github.com:mbonaci/my-own-storm.git</url>
<developerConnection>scm:git:git@github.com:mbonaci/my-own-storm.git</developerConnection>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment