Permalink
Browse files

Making storm-contrib the parent POM of its submodules.

Lets me re-use the Storm dependency that every module will end
up needing.
  • Loading branch information...
1 parent 93184c3 commit 8b6b593e448c9f5c8e3df3907fc289191b1ed5ce @apetresc apetresc committed Jan 2, 2012
Showing with 39 additions and 23 deletions.
  1. +20 −0 pom.xml
  2. +7 −16 storm-contrib-core/pom.xml
  3. +12 −7 storm-contrib-mongo/pom.xml
View
@@ -1,13 +1,33 @@
<?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">
<modelVersion>4.0.0</modelVersion>
+
<groupId>storm</groupId>
<artifactId>storm-contrib</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>storm-contrib</name>
<description>A collection of spouts, bolts, serializers, DSLs, and other goodies to use with Storm</description>
<url>http://github.com/nathanmarz/storm-contrib</url>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>storm</groupId>
+ <artifactId>storm</artifactId>
+ <version>0.6.1</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <repositories>
+ <repository>
+ <id>clojars</id>
+ <url>http://clojars.org/repo/</url>
+ </repository>
+ </repositories>
+
<modules>
<module>storm-contrib-core</module>
<module>storm-contrib-mongo</module>
@@ -1,21 +1,17 @@
<?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">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>storm</groupId>
+ <artifactId>storm-contrib</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ </parent>
- <groupId>storm</groupId>
<artifactId>storm-contrib-core</artifactId>
- <version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>storm-contrib-core</name>
<description>Core dependencies and components for storm-contrib</description>
- <dependencies>
- <dependency>
- <groupId>storm</groupId>
- <artifactId>storm</artifactId>
- <version>0.6.1</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
+
<build>
<plugins>
<plugin>
@@ -29,12 +25,7 @@
</plugin>
</plugins>
</build>
- <repositories>
- <repository>
- <id>clojars</id>
- <url>http://clojars.org/repo/</url>
- </repository>
- </repositories>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -1,25 +1,29 @@
<?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">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>storm</groupId>
+ <artifactId>storm-contrib</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ </parent>
- <groupId>storm</groupId>
<artifactId>storm-contrib-mongo</artifactId>
- <version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>storm-contrib-mongo</name>
<description>Components for Storm integration with MongoDB</description>
+
<dependencies>
- <dependency>
- <groupId>storm</groupId>
- <artifactId>storm-contrib-core</artifactId>
- <version>0.1-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>storm</groupId>
+ <artifactId>storm</artifactId>
+ </dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>2.7.2</version>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
@@ -33,6 +37,7 @@
</plugin>
</plugins>
</build>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

0 comments on commit 8b6b593

Please sign in to comment.