Blame SOURCES/0001-Maven-support.patch

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