Skip to content

Commit

Permalink
Adding pom.xml for driver developers who prefer working with Maven to…
Browse files Browse the repository at this point in the history
… Ant. It is NOT used for release builds. For that, Ant is still used (see build.xml).
  • Loading branch information
jyemin committed May 26, 2012
1 parent afbd692 commit f9b5301
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions pom.xml
@@ -0,0 +1,66 @@
<!--
IMPORTANT: This POM is NOT used for release builds. Ant is used for that (see build.xml). Rather, it's provided for
driver developers who would rather use Maven than Ant as their build tool.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<packaging>bundle</packaging>
<name>MongoDB Java Driver</name>
<version>2.8.0</version>
<description>The MongoDB Java driver</description>
<url>http://www.mongodb.org</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>https://github.com/mongodb/mongo-java-driver</url>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<sourceDirectory>src/main</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.mongodb.*</Export-Package>
<Export-Package>org.bson.*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<developers>
<developer>
<name>Various</name>
<organization>10gen</organization>
</developer>
</developers>

</project>

0 comments on commit f9b5301

Please sign in to comment.