Permalink
Browse files

Added upload of sources and javadoc for snapshot deployment

  • Loading branch information...
1 parent 5beef17 commit 3f8a9a38aca87c7880900690da4d3aff20b1c505 @jyemin jyemin committed Oct 21, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 maven/build.xml
View
@@ -199,6 +199,8 @@ limitations under the License.
<arg value="-DrepositoryId=${maven-snapshots-repository-id}"/>
<arg value="-DpomFile=${dir.build}/maven-mongo-java-driver.xml"/>
<arg value="-Dfile=${dir.build}/dist/mongo-java-driver-${build.conf.lib.version}.jar"/>
+ <arg value="-Dsources=${dir.build}/dist/mongo-java-driver-sources-${build.conf.lib.version}.jar"/>
+ <arg value="-Djavadoc=${dir.build}/dist/mongo-java-driver-javadoc-${build.conf.lib.version}.jar"/>
</artifact:mvn>
<artifact:mvn>
@@ -207,6 +209,8 @@ limitations under the License.
<arg value="-DrepositoryId=${maven-snapshots-repository-id}"/>
<arg value="-DpomFile=${dir.build}/maven-bson.xml"/>
<arg value="-Dfile=${dir.build}/dist/bson-${build.conf.lib.version}.jar"/>
+ <arg value="-Dsources=${dir.build}/dist/bson-sources-${build.conf.lib.version}.jar"/>
+ <arg value="-Djavadoc=${dir.build}/dist/bson-javadoc-${build.conf.lib.version}.jar"/>
</artifact:mvn>
</target>

0 comments on commit 3f8a9a3

Please sign in to comment.