mirror of https://github.com/apache/poi.git
I think this is the right maven magic to deploy a javadoc jar, but we may have to see...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb17321d3f
commit
6b34a21a35
|
@ -60,4 +60,11 @@ do
|
|||
-Dfile=$artifactId-$VERSION-sources-$DSTAMP.jar -DpomFile=$artifactId-$VERSION.pom
|
||||
scp $artifactId-$VERSION-sources-$DSTAMP.jar.asc $M2_SCP/org/apache/poi/$artifactId/$VERSION/$artifactId-$VERSION-sources.jar.asc
|
||||
fi
|
||||
|
||||
if [ -r $artifactId-$VERSION-javadocs-$DSTAMP.jar ]; then
|
||||
mvn deploy:deploy-file -DrepositoryId=apache-releases -P apache-releases \
|
||||
-Durl=$M2_REPOSITORY -DgeneratePom=false -Dpackaging=javadoc \
|
||||
-Dfile=$artifactId-$VERSION-javadocs-$DSTAMP.jar -DpomFile=$artifactId-$VERSION.pom
|
||||
scp $artifactId-$VERSION-javadocs-$DSTAMP.jar.asc $M2_SCP/org/apache/poi/$artifactId/$VERSION/$artifactId-$VERSION-javadocs.jar.asc
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue