Blame SOURCES/0001-Maven-support.patch

f9d792
From ce1fc6cd336f623101a72b6d3de3d95d42998316 Mon Sep 17 00:00:00 2001
f9d792
From: Michael Simacek <msimacek@redhat.com>
f9d792
Date: Fri, 23 Jun 2017 18:21:43 +0200
f9d792
Subject: [PATCH] Maven support
f9d792
f9d792
---
f9d792
 bson/pom.xml                                       |  90 ++++++++++++++
f9d792
 driver-async/pom.xml                               | 107 +++++++++++++++++
f9d792
 driver-core/pom.xml                                | 121 +++++++++++++++++++
f9d792
 .../unit/com/mongodb/ConnectionStringTest.java     |   2 +-
f9d792
 driver/pom.xml                                     |  77 ++++++++++++
f9d792
 mongo-java-driver/pom.xml                          | 133 +++++++++++++++++++++
f9d792
 pom.xml                                            |  27 +++++
f9d792
 7 files changed, 551 insertions(+), 1 deletion(-)
f9d792
 create mode 100644 bson/pom.xml
f9d792
 create mode 100644 driver-async/pom.xml
f9d792
 create mode 100644 driver-core/pom.xml
f9d792
 create mode 100644 driver/pom.xml
f9d792
 create mode 100644 mongo-java-driver/pom.xml
f9d792
 create mode 100644 pom.xml
f9d792
1c4375
diff --git a/bson/pom.xml b/bson/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..4076687
1c4375
--- /dev/null
1c4375
+++ b/bson/pom.xml
f9d792
@@ -0,0 +1,90 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
f9d792
+  <parent>
f9d792
+    <groupId>org.mongodb</groupId>
f9d792
+    <artifactId>aggregator-project</artifactId>
f9d792
+    <version>@VERSION@</version>
f9d792
+  </parent>
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>bson</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <name>BSON</name>
1c4375
+  <description>The BSON library</description>
1c4375
+  <url>http://bsonspec.org</url>
f9d792
+  <packaging>bundle</packaging>
1c4375
+  <licenses>
1c4375
+    <license>
1c4375
+      <name>The Apache Software License, Version 2.0</name>
1c4375
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
1c4375
+      <distribution>repo</distribution>
1c4375
+    </license>
1c4375
+  </licenses>
1c4375
+  <developers>
1c4375
+    <developer>
1c4375
+      <name>Various</name>
1c4375
+      <organization>MongoDB</organization>
1c4375
+    </developer>
1c4375
+  </developers>
1c4375
+  <scm>
1c4375
+    <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
1c4375
+    <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
1c4375
+    <url>https://github.com/mongodb/mongo-java-driver</url>
1c4375
+  </scm>
1c4375
+  <dependencies>
1c4375
+    <dependency>
1c4375
+      <groupId>org.slf4j</groupId>
1c4375
+      <artifactId>slf4j-api</artifactId>
1c4375
+      <version>1.7.6</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>junit</groupId>
1c4375
+      <artifactId>junit</artifactId>
1c4375
+      <version>4.12</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+  </dependencies>
1c4375
+  <build>
1c4375
+    <sourceDirectory>src/main</sourceDirectory>
1c4375
+    <testSourceDirectory>src/test/unit</testSourceDirectory>
1c4375
+    <plugins>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-compiler-plugin</artifactId>
1c4375
+        <configuration>
1c4375
+          <source>1.7</source>
1c4375
+          <target>1.7</target>
1c4375
+        </configuration>
1c4375
+      </plugin>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-jar-plugin</artifactId>
1c4375
+        <executions>
1c4375
+          <execution>
1c4375
+            <goals>
1c4375
+              <goal>test-jar</goal>
1c4375
+            </goals>
1c4375
+          </execution>
1c4375
+        </executions>
1c4375
+      </plugin>
f9d792
+      <plugin>
f9d792
+        <groupId>org.apache.felix</groupId>
f9d792
+        <artifactId>maven-bundle-plugin</artifactId>
f9d792
+        <extensions>true</extensions>
f9d792
+        <configuration>
f9d792
+          <instructions>
f9d792
+            <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor>
f9d792
+            <Bundle-SymbolicName>org.mongodb.bson</Bundle-SymbolicName>
f9d792
+            <Export-Package>org.bson,org.bson.*</Export-Package>
f9d792
+            <Import-Package>
f9d792
+                    javax.xml.bind.*,
f9d792
+                    org.slf4j;resolution:=optional,
f9d792
+            </Import-Package>
f9d792
+            
f9d792
+            <_nouses>true</_nouses>
f9d792
+          </instructions>
f9d792
+        </configuration>
f9d792
+      </plugin>
1c4375
+    </plugins>
1c4375
+  </build>
1c4375
+</project>
1c4375
diff --git a/driver-async/pom.xml b/driver-async/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..7771e1b
1c4375
--- /dev/null
1c4375
+++ b/driver-async/pom.xml
f9d792
@@ -0,0 +1,107 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
f9d792
+  <parent>
f9d792
+    <groupId>org.mongodb</groupId>
f9d792
+    <artifactId>aggregator-project</artifactId>
f9d792
+    <version>@VERSION@</version>
f9d792
+  </parent>
f9d792
+
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>mongodb-driver-async</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <name>MongoDB Asynchronous Driver</name>
1c4375
+  <description>The MongoDB Asynchronous Driver</description>
1c4375
+  <url>http://www.mongodb.org</url>
f9d792
+  <packaging>bundle</packaging>
1c4375
+  <licenses>
1c4375
+    <license>
1c4375
+      <name>The Apache Software License, Version 2.0</name>
1c4375
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
1c4375
+      <distribution>repo</distribution>
1c4375
+    </license>
1c4375
+  </licenses>
1c4375
+  <developers>
1c4375
+    <developer>
1c4375
+      <name>Various</name>
1c4375
+      <organization>MongoDB</organization>
1c4375
+    </developer>
1c4375
+  </developers>
1c4375
+  <scm>
1c4375
+    <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
1c4375
+    <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
1c4375
+    <url>https://github.com/mongodb/mongo-java-driver</url>
1c4375
+  </scm>
1c4375
+  <dependencies>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>bson</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>mongodb-driver-core</artifactId>
f9d792
+      <version>@VERSION@</version>
f9d792
+    </dependency>
f9d792
+    <dependency>
f9d792
+      <groupId>io.netty</groupId>
f9d792
+      <artifactId>netty-transport</artifactId>
f9d792
+      <version>4.0.26.Final</version>
f9d792
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.slf4j</groupId>
1c4375
+      <artifactId>slf4j-api</artifactId>
1c4375
+      <version>1.7.6</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>junit</groupId>
1c4375
+      <artifactId>junit</artifactId>
1c4375
+      <version>4.12</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+  </dependencies>
1c4375
+  <build>
1c4375
+    <sourceDirectory>src/main</sourceDirectory>
1c4375
+    <testSourceDirectory>src/test/unit</testSourceDirectory>
1c4375
+    <plugins>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-compiler-plugin</artifactId>
1c4375
+        <configuration>
1c4375
+          <source>1.7</source>
1c4375
+          <target>1.7</target>
1c4375
+        </configuration>
1c4375
+      </plugin>
f9d792
+      <plugin>
f9d792
+        <groupId>org.apache.felix</groupId>
f9d792
+        <artifactId>maven-bundle-plugin</artifactId>
f9d792
+        <extensions>true</extensions>
f9d792
+        <configuration>
f9d792
+          <instructions>
f9d792
+            <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor>
f9d792
+            <Bundle-SymbolicName>org.mongodb.driver-async</Bundle-SymbolicName>
f9d792
+            <Export-Package>com.mongodb.*</Export-Package>
f9d792
+            <Import-Package>
f9d792
+              org.bson.*,
f9d792
+              javax.crypto.*,
f9d792
+              javax.crypto.spec.*,
f9d792
+              javax.management.*,
f9d792
+              javax.net.*,
f9d792
+              javax.net.ssl.*,
f9d792
+              javax.security.sasl.*,
f9d792
+              javax.security.auth.*,
f9d792
+              javax.security.auth.callback.*,
f9d792
+              org.ietf.jgss.*,
f9d792
+              io.netty.*;resolution:=optional,
f9d792
+              org.slf4j;resolution:=optional,
f9d792
+            </Import-Package>
f9d792
+            
f9d792
+            <_nouses>true</_nouses>
f9d792
+          </instructions>
f9d792
+        </configuration>
f9d792
+      </plugin>
1c4375
+    </plugins>
1c4375
+  </build>
1c4375
+</project>
1c4375
diff --git a/driver-core/pom.xml b/driver-core/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..3f6804b
1c4375
--- /dev/null
1c4375
+++ b/driver-core/pom.xml
f9d792
@@ -0,0 +1,121 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
f9d792
+  <parent>
f9d792
+    <groupId>org.mongodb</groupId>
f9d792
+    <artifactId>aggregator-project</artifactId>
f9d792
+    <version>@VERSION@</version>
f9d792
+  </parent>
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>mongodb-driver-core</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <name>MongoDB Java Driver Core</name>
1c4375
+  <description>The Java operations layer for the MongoDB Java Driver. Third parties can ' +
1c4375
+                                                   'wrap this layer to provide custom higher-level APIs</description>
1c4375
+  <url>http://www.mongodb.org</url>
f9d792
+  <packaging>bundle</packaging>
1c4375
+  <licenses>
1c4375
+    <license>
1c4375
+      <name>The Apache Software License, Version 2.0</name>
1c4375
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
1c4375
+      <distribution>repo</distribution>
1c4375
+    </license>
1c4375
+  </licenses>
1c4375
+  <developers>
1c4375
+    <developer>
1c4375
+      <name>Various</name>
1c4375
+      <organization>MongoDB</organization>
1c4375
+    </developer>
1c4375
+  </developers>
1c4375
+  <scm>
1c4375
+    <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
1c4375
+    <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
1c4375
+    <url>https://github.com/mongodb/mongo-java-driver</url>
1c4375
+  </scm>
1c4375
+  <dependencies>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>bson</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-buffer</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-transport</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-handler</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.slf4j</groupId>
1c4375
+      <artifactId>slf4j-api</artifactId>
1c4375
+      <version>1.7.6</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>bson</artifactId>
1c4375
+      <type>test-jar</type>
f9d792
+      <version>@VERSION@</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>junit</groupId>
1c4375
+      <artifactId>junit</artifactId>
1c4375
+      <version>4.12</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+  </dependencies>
1c4375
+  <build>
1c4375
+    <sourceDirectory>src/main</sourceDirectory>
1c4375
+    <testSourceDirectory>src/test/unit</testSourceDirectory>
1c4375
+    <plugins>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-compiler-plugin</artifactId>
1c4375
+        <configuration>
1c4375
+          <source>1.7</source>
1c4375
+          <target>1.7</target>
1c4375
+        </configuration>
1c4375
+      </plugin>
f9d792
+      <plugin>
f9d792
+        <groupId>org.apache.felix</groupId>
f9d792
+        <artifactId>maven-bundle-plugin</artifactId>
f9d792
+        <extensions>true</extensions>
f9d792
+        <configuration>
f9d792
+          <instructions>
f9d792
+            <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor>
f9d792
+            <Bundle-SymbolicName>org.mongodb.driver-core</Bundle-SymbolicName>
f9d792
+            <Export-Package>com.mongodb.*</Export-Package>
f9d792
+            <Import-Package>
f9d792
+              org.bson.*,
f9d792
+              javax.crypto.*,
f9d792
+              javax.crypto.spec.*,
f9d792
+              javax.management.*,
f9d792
+              javax.net.*,
f9d792
+              javax.net.ssl.*,
f9d792
+              javax.security.sasl.*,
f9d792
+              javax.security.auth.*,
f9d792
+              javax.security.auth.callback.*,
f9d792
+              org.ietf.jgss.*,
f9d792
+              io.netty.*;resolution:=optional,
f9d792
+              org.slf4j;resolution:=optional,
f9d792
+            </Import-Package>
f9d792
+            
f9d792
+            <_nouses>true</_nouses>
f9d792
+          </instructions>
f9d792
+        </configuration>
f9d792
+      </plugin>
1c4375
+    </plugins>
1c4375
+  </build>
1c4375
+</project>
1c4375
diff --git a/driver-core/src/test/unit/com/mongodb/ConnectionStringTest.java b/driver-core/src/test/unit/com/mongodb/ConnectionStringTest.java
1c4375
index 047b447..441476e 100644
1c4375
--- a/driver-core/src/test/unit/com/mongodb/ConnectionStringTest.java
1c4375
+++ b/driver-core/src/test/unit/com/mongodb/ConnectionStringTest.java
1c4375
@@ -14,7 +14,7 @@
1c4375
  * limitations under the License.
1c4375
  */
1c4375
 
1c4375
-package com.mongodb.client;
1c4375
+package com.mongodb;
1c4375
 
1c4375
 import com.mongodb.AuthenticationMechanism;
1c4375
 import com.mongodb.ConnectionString;
1c4375
diff --git a/driver/pom.xml b/driver/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..c2b9606
1c4375
--- /dev/null
1c4375
+++ b/driver/pom.xml
f9d792
@@ -0,0 +1,77 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
f9d792
+  <parent>
f9d792
+    <groupId>org.mongodb</groupId>
f9d792
+    <artifactId>aggregator-project</artifactId>
f9d792
+    <version>@VERSION@</version>
f9d792
+  </parent>
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>mongodb-driver</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <name>MongoDB Driver</name>
1c4375
+  <description>The MongoDB Driver</description>
1c4375
+  <url>http://www.mongodb.org</url>
1c4375
+  <licenses>
1c4375
+    <license>
1c4375
+      <name>The Apache Software License, Version 2.0</name>
1c4375
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
1c4375
+      <distribution>repo</distribution>
1c4375
+    </license>
1c4375
+  </licenses>
1c4375
+  <developers>
1c4375
+    <developer>
1c4375
+      <name>Various</name>
1c4375
+      <organization>MongoDB</organization>
1c4375
+    </developer>
1c4375
+  </developers>
1c4375
+  <scm>
1c4375
+    <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
1c4375
+    <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
1c4375
+    <url>https://github.com/mongodb/mongo-java-driver</url>
1c4375
+  </scm>
1c4375
+  <dependencies>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>bson</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>mongodb-driver-core</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.slf4j</groupId>
1c4375
+      <artifactId>slf4j-api</artifactId>
1c4375
+      <version>1.7.6</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>junit</groupId>
1c4375
+      <artifactId>junit</artifactId>
1c4375
+      <version>4.12</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.hamcrest</groupId>
1c4375
+      <artifactId>hamcrest-library</artifactId>
1c4375
+      <version>1.3</version>
1c4375
+      <scope>test</scope>
1c4375
+    </dependency>
1c4375
+  </dependencies>
1c4375
+  <build>
1c4375
+    <sourceDirectory>src/main</sourceDirectory>
1c4375
+    <testSourceDirectory>src/test/unit</testSourceDirectory>
1c4375
+    <plugins>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-compiler-plugin</artifactId>
1c4375
+        <configuration>
1c4375
+          <source>1.7</source>
1c4375
+          <target>1.7</target>
1c4375
+        </configuration>
1c4375
+      </plugin>
1c4375
+    </plugins>
1c4375
+  </build>
1c4375
+</project>
1c4375
diff --git a/mongo-java-driver/pom.xml b/mongo-java-driver/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..14092e0
1c4375
--- /dev/null
1c4375
+++ b/mongo-java-driver/pom.xml
f9d792
@@ -0,0 +1,133 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
f9d792
+  <parent>
f9d792
+    <groupId>org.mongodb</groupId>
f9d792
+    <artifactId>aggregator-project</artifactId>
f9d792
+    <version>@VERSION@</version>
f9d792
+  </parent>
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>mongo-java-driver</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <name>MongoDB Java Driver</name>
1c4375
+  <description>The MongoDB Java Driver uber-artifact, containing mongodb-driver, mongodb-driver-core, and bson</description>
1c4375
+  <url>http://www.mongodb.org</url>
f9d792
+  <packaging>bundle</packaging>
1c4375
+  <licenses>
1c4375
+    <license>
1c4375
+      <name>The Apache Software License, Version 2.0</name>
1c4375
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
1c4375
+      <distribution>repo</distribution>
1c4375
+    </license>
1c4375
+  </licenses>
1c4375
+  <developers>
1c4375
+    <developer>
1c4375
+      <name>Various</name>
1c4375
+      <organization>MongoDB</organization>
1c4375
+    </developer>
1c4375
+  </developers>
1c4375
+  <scm>
1c4375
+    <connection>scm:https://github.com/mongodb/mongo-java-driver.git</connection>
1c4375
+    <developerConnection>scm:git@github.com:mongodb/mongo-java-driver.git</developerConnection>
1c4375
+    <url>https://github.com/mongodb/mongo-java-driver</url>
1c4375
+  </scm>
1c4375
+  <dependencies>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-buffer</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-transport</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>io.netty</groupId>
1c4375
+      <artifactId>netty-handler</artifactId>
1c4375
+      <version>4.0.26.Final</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.slf4j</groupId>
1c4375
+      <artifactId>slf4j-api</artifactId>
1c4375
+      <version>1.7.6</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>mongodb-driver</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>mongodb-driver-core</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+    <dependency>
1c4375
+      <groupId>org.mongodb</groupId>
1c4375
+      <artifactId>bson</artifactId>
f9d792
+      <version>@VERSION@</version>
1c4375
+      <optional>true</optional>
1c4375
+    </dependency>
1c4375
+  </dependencies>
1c4375
+  <build>
1c4375
+    <plugins>
1c4375
+      <plugin>
1c4375
+        <artifactId>maven-shade-plugin</artifactId>
1c4375
+        <version>2.4.3</version>
1c4375
+        <executions>
1c4375
+          <execution>
1c4375
+            <phase>package</phase>
1c4375
+            <goals>
1c4375
+              <goal>shade</goal>
1c4375
+            </goals>
1c4375
+          </execution>
1c4375
+        </executions>
1c4375
+        <configuration>
1c4375
+          <artifactSet>
1c4375
+            <includes>
1c4375
+              <include>org.mongodb:*</include>
1c4375
+            </includes>
1c4375
+          </artifactSet>
1c4375
+        </configuration>
1c4375
+      </plugin>
f9d792
+      <plugin>
f9d792
+        <groupId>org.apache.felix</groupId>
f9d792
+        <artifactId>maven-bundle-plugin</artifactId>
f9d792
+        <extensions>true</extensions>
f9d792
+        <configuration>
f9d792
+          <instructions>
f9d792
+            <Bundle-Vendor>Red Hat, Inc.</Bundle-Vendor>
f9d792
+            <Bundle-SymbolicName>org.mongodb.mongo-java-driver</Bundle-SymbolicName>
f9d792
+            <Export-Package>
f9d792
+              com.mongodb.*,
f9d792
+              org.bson.*,
f9d792
+            </Export-Package>
f9d792
+            <Import-Package>
f9d792
+              javax.xml.bind.*,
f9d792
+              javax.crypto.*,
f9d792
+              javax.management.*,
f9d792
+              javax.naming.*,
f9d792
+              javax.naming.spi.*,
f9d792
+              javax.net.*,
f9d792
+              javax.security.sasl.*,
f9d792
+              javax.security.auth.*,
f9d792
+              javax.security.auth.callback.*,
f9d792
+              org.ietf.jgss.*,
f9d792
+              io.netty.*;resolution:=optional,
f9d792
+              org.slf4j;resolution:=optional,
f9d792
+            </Import-Package>
f9d792
+            
f9d792
+            <_nouses>true</_nouses>
f9d792
+          </instructions>
f9d792
+        </configuration>
f9d792
+      </plugin>
1c4375
+    </plugins>
1c4375
+  </build>
1c4375
+</project>
1c4375
diff --git a/pom.xml b/pom.xml
1c4375
new file mode 100644
f9d792
index 0000000..63c6925
1c4375
--- /dev/null
1c4375
+++ b/pom.xml
f9d792
@@ -0,0 +1,27 @@
1c4375
+
1c4375
+
1c4375
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1c4375
+  <modelVersion>4.0.0</modelVersion>
1c4375
+  <groupId>org.mongodb</groupId>
1c4375
+  <artifactId>aggregator-project</artifactId>
f9d792
+  <version>@VERSION@</version>
1c4375
+  <packaging>pom</packaging>
1c4375
+  <modules>
1c4375
+    <module>mongo-java-driver</module>
1c4375
+    <module>bson</module>
1c4375
+    <module>driver-core</module>
1c4375
+    <module>driver-async</module>
1c4375
+    <module>driver</module>
1c4375
+  </modules>
f9d792
+  <build>
f9d792
+    <pluginManagement>
f9d792
+      <plugins>
f9d792
+        <plugin>
f9d792
+          <groupId>org.apache.felix</groupId>
f9d792
+          <artifactId>maven-bundle-plugin</artifactId>
f9d792
+          <version>1.4.0</version>
f9d792
+        </plugin>
f9d792
+      </plugins>
f9d792
+    </pluginManagement>
f9d792
+  </build>
1c4375
+</project>
f9d792
-- 
f9d792
2.9.4
f9d792