Skip to content

Commit 3f8a9a3

Browse files
committed
Added upload of sources and javadoc for snapshot deployment
1 parent 5beef17 commit 3f8a9a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

maven/build.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ limitations under the License.
199199
<arg value="-DrepositoryId=${maven-snapshots-repository-id}"/>
200200
<arg value="-DpomFile=${dir.build}/maven-mongo-java-driver.xml"/>
201201
<arg value="-Dfile=${dir.build}/dist/mongo-java-driver-${build.conf.lib.version}.jar"/>
202+
<arg value="-Dsources=${dir.build}/dist/mongo-java-driver-sources-${build.conf.lib.version}.jar"/>
203+
<arg value="-Djavadoc=${dir.build}/dist/mongo-java-driver-javadoc-${build.conf.lib.version}.jar"/>
202204
</artifact:mvn>
203205

204206
<artifact:mvn>
@@ -207,6 +209,8 @@ limitations under the License.
207209
<arg value="-DrepositoryId=${maven-snapshots-repository-id}"/>
208210
<arg value="-DpomFile=${dir.build}/maven-bson.xml"/>
209211
<arg value="-Dfile=${dir.build}/dist/bson-${build.conf.lib.version}.jar"/>
212+
<arg value="-Dsources=${dir.build}/dist/bson-sources-${build.conf.lib.version}.jar"/>
213+
<arg value="-Djavadoc=${dir.build}/dist/bson-javadoc-${build.conf.lib.version}.jar"/>
210214
</artifact:mvn>
211215

212216
</target>

0 commit comments

Comments
 (0)