From ce1fc6cd336f623101a72b6d3de3d95d42998316 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Fri, 23 Jun 2017 18:21:43 +0200 Subject: [PATCH] Maven support --- bson/pom.xml | 90 ++++++++++++++ driver-async/pom.xml | 106 +++++++++++++++++ driver-core/pom.xml | 120 +++++++++++++++++++ .../unit/com/mongodb/ConnectionStringTest.java | 2 +- driver/pom.xml | 77 ++++++++++++ mongo-java-driver/pom.xml | 130 +++++++++++++++++++++ pom.xml | 27 +++++ 7 files changed, 551 insertions(+), 1 deletion(-) create mode 100644 bson/pom.xml create mode 100644 driver-async/pom.xml create mode 100644 driver-core/pom.xml create mode 100644 driver/pom.xml create mode 100644 mongo-java-driver/pom.xml create mode 100644 pom.xml diff --git a/bson/pom.xml b/bson/pom.xml new file mode 100644 index 0000000..4076687 --- /dev/null +++ b/bson/pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + org.mongodb + aggregator-project + @VERSION@ + + org.mongodb + bson + @VERSION@ + BSON + The BSON library + http://bsonspec.org + bundle + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Various + MongoDB + + + + scm:https://github.com/mongodb/mongo-java-driver.git + scm:git@github.com:mongodb/mongo-java-driver.git + https://github.com/mongodb/mongo-java-driver + + + + org.slf4j + slf4j-api + 1.7.6 + true + + + junit + junit + 4.12 + test + + + + src/main + src/test/unit + + + maven-compiler-plugin + + 1.7 + 1.7 + + + + maven-jar-plugin + + + + test-jar + + + + + + org.apache.felix + maven-bundle-plugin + true + + + Red Hat, Inc. + org.mongodb.bson + org.bson,org.bson.* + + javax.xml.bind.*, + org.slf4j;resolution:=optional, + + + <_nouses>true + + + + + + diff --git a/driver-async/pom.xml b/driver-async/pom.xml new file mode 100644 index 0000000..7771e1b --- /dev/null +++ b/driver-async/pom.xml @@ -0,0 +1,106 @@ + + + 4.0.0 + + org.mongodb + aggregator-project + @VERSION@ + + + org.mongodb + mongodb-driver-async + @VERSION@ + MongoDB Asynchronous Driver + The MongoDB Asynchronous Driver + http://www.mongodb.org + bundle + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Various + MongoDB + + + + scm:https://github.com/mongodb/mongo-java-driver.git + scm:git@github.com:mongodb/mongo-java-driver.git + https://github.com/mongodb/mongo-java-driver + + + + org.mongodb + bson + @VERSION@ + + + org.mongodb + mongodb-driver-core + @VERSION@ + + + io.netty + netty-transport + 4.0.26.Final + true + + + org.slf4j + slf4j-api + 1.7.6 + true + + + junit + junit + 4.12 + test + + + + src/main + src/test/unit + + + maven-compiler-plugin + + 1.7 + 1.7 + + + + org.apache.felix + maven-bundle-plugin + true + + + Red Hat, Inc. + org.mongodb.driver-async + com.mongodb.* + + org.bson.*, + javax.crypto.*, + javax.crypto.spec.*, + javax.management.*, + javax.net.*, + javax.net.ssl.*, + javax.security.sasl.*, + javax.security.auth.callback.*, + org.ietf.jgss.*, + io.netty.*;resolution:=optional, + org.slf4j;resolution:=optional, + + + <_nouses>true + + + + + + diff --git a/driver-core/pom.xml b/driver-core/pom.xml new file mode 100644 index 0000000..3f6804b --- /dev/null +++ b/driver-core/pom.xml @@ -0,0 +1,126 @@ + + + 4.0.0 + + org.mongodb + aggregator-project + @VERSION@ + + org.mongodb + mongodb-driver-core + @VERSION@ + MongoDB Java Driver Core + The Java operations layer for the MongoDB Java Driver. Third parties can ' + + 'wrap this layer to provide custom higher-level APIs + http://www.mongodb.org + bundle + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Various + MongoDB + + + + scm:https://github.com/mongodb/mongo-java-driver.git + scm:git@github.com:mongodb/mongo-java-driver.git + https://github.com/mongodb/mongo-java-driver + + + + org.mongodb + bson + @VERSION@ + + + org.xerial.snappy + snappy-java + 1.1.4 + true + + + io.netty + netty-buffer + 4.0.26.Final + true + + + io.netty + netty-transport + 4.0.26.Final + true + + + io.netty + netty-handler + 4.0.26.Final + true + + + org.slf4j + slf4j-api + 1.7.6 + true + + + org.mongodb + bson + test-jar + @VERSION@ + test + + + junit + junit + 4.12 + test + + + + src/main + src/test/unit + + + maven-compiler-plugin + + 1.7 + 1.7 + + + + org.apache.felix + maven-bundle-plugin + true + + + Red Hat, Inc. + org.mongodb.driver-core + com.mongodb.* + + org.bson.*, + javax.crypto.*, + javax.crypto.spec.*, + javax.management.*, + javax.net.*, + javax.net.ssl.*, + javax.security.sasl.*, + javax.security.auth.callback.*, + org.ietf.jgss.*, + io.netty.*;resolution:=optional, + org.slf4j;resolution:=optional, + + + <_nouses>true + + + + + + diff --git a/driver/pom.xml b/driver/pom.xml new file mode 100644 index 0000000..c2b9606 --- /dev/null +++ b/driver/pom.xml @@ -0,0 +1,77 @@ + + + 4.0.0 + + org.mongodb + aggregator-project + @VERSION@ + + org.mongodb + mongodb-driver + @VERSION@ + MongoDB Driver + The MongoDB Driver + http://www.mongodb.org + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Various + MongoDB + + + + scm:https://github.com/mongodb/mongo-java-driver.git + scm:git@github.com:mongodb/mongo-java-driver.git + https://github.com/mongodb/mongo-java-driver + + + + org.mongodb + bson + @VERSION@ + + + org.mongodb + mongodb-driver-core + @VERSION@ + + + org.slf4j + slf4j-api + 1.7.6 + true + + + junit + junit + 4.12 + test + + + org.hamcrest + hamcrest-library + 1.3 + test + + + + src/main + src/test/unit + + + maven-compiler-plugin + + 1.7 + 1.7 + + + + + diff --git a/mongo-java-driver/pom.xml b/mongo-java-driver/pom.xml new file mode 100644 index 0000000..14092e0 --- /dev/null +++ b/mongo-java-driver/pom.xml @@ -0,0 +1,130 @@ + + + 4.0.0 + + org.mongodb + aggregator-project + @VERSION@ + + org.mongodb + mongo-java-driver + @VERSION@ + MongoDB Java Driver + The MongoDB Java Driver uber-artifact, containing mongodb-driver, mongodb-driver-core, and bson + http://www.mongodb.org + bundle + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + Various + MongoDB + + + + scm:https://github.com/mongodb/mongo-java-driver.git + scm:git@github.com:mongodb/mongo-java-driver.git + https://github.com/mongodb/mongo-java-driver + + + + io.netty + netty-buffer + 4.0.26.Final + true + + + io.netty + netty-transport + 4.0.26.Final + true + + + io.netty + netty-handler + 4.0.26.Final + true + + + org.slf4j + slf4j-api + 1.7.6 + true + + + org.mongodb + mongodb-driver + @VERSION@ + true + + + org.mongodb + mongodb-driver-core + @VERSION@ + true + + + org.mongodb + bson + @VERSION@ + true + + + + + + maven-shade-plugin + 2.4.3 + + + package + + shade + + + + + + + org.mongodb:* + + + + + + org.apache.felix + maven-bundle-plugin + true + + + Red Hat, Inc. + org.mongodb.mongo-java-driver + + com.mongodb.*, + org.bson.*, + + + javax.xml.bind.*, + javax.crypto.*, + javax.management.*, + javax.net.*, + javax.security.sasl.*, + javax.security.auth.callback.*, + org.ietf.jgss.*, + io.netty.*;resolution:=optional, + org.slf4j;resolution:=optional, + + + <_nouses>true + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..63c6925 --- /dev/null +++ b/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + org.mongodb + aggregator-project + @VERSION@ + pom + + mongo-java-driver + bson + driver-core + driver-async + driver + + + + + + org.apache.felix + maven-bundle-plugin + 1.4.0 + + + + + -- 2.9.4