Skip to content

Commit f9b5301

Browse files
committed
Adding pom.xml for driver developers who prefer working with Maven to Ant. It is NOT used for release builds. For that, Ant is still used (see build.xml).
1 parent afbd692 commit f9b5301

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

pom.xml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!--
2+
IMPORTANT: This POM is NOT used for release builds. Ant is used for that (see build.xml). Rather, it's provided for
3+
driver developers who would rather use Maven than Ant as their build tool.
4+
-->
5+
<project>
6+
<modelVersion>4.0.0</modelVersion>
7+
<groupId>org.mongodb</groupId>
8+
<artifactId>mongo-java-driver</artifactId>
9+
<packaging>bundle</packaging>
10+
<name>MongoDB Java Driver</name>
11+
<version>2.8.0</version>
12+
<description>The MongoDB Java driver</description>
13+
<url>http://www.mongodb.org</url>
14+
15+
<licenses>
16+
<license>
17+
<name>The Apache Software License, Version 2.0</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
23+
<scm>
24+
<url>https://github.com/mongodb/mongo-java-driver</url>
25+
</scm>
26+
27+
<properties>
28+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29+
</properties>
30+
31+
<build>
32+
<sourceDirectory>src/main</sourceDirectory>
33+
<testSourceDirectory>src/test</testSourceDirectory>
34+
<plugins>
35+
<plugin>
36+
<groupId>org.apache.felix</groupId>
37+
<artifactId>maven-bundle-plugin</artifactId>
38+
<version>2.3.7</version>
39+
<extensions>true</extensions>
40+
<configuration>
41+
<instructions>
42+
<Export-Package>com.mongodb.*</Export-Package>
43+
<Export-Package>org.bson.*</Export-Package>
44+
</instructions>
45+
</configuration>
46+
</plugin>
47+
</plugins>
48+
</build>
49+
50+
<dependencies>
51+
<dependency>
52+
<groupId>org.testng</groupId>
53+
<artifactId>testng</artifactId>
54+
<version>6.3.1</version>
55+
<scope>test</scope>
56+
</dependency>
57+
</dependencies>
58+
59+
<developers>
60+
<developer>
61+
<name>Various</name>
62+
<organization>10gen</organization>
63+
</developer>
64+
</developers>
65+
66+
</project>

0 commit comments

Comments
 (0)