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
0b4db82a91
commit
ed10e06492
@ -60,4 +60,11 @@ do
|
|||||||
-Dfile=$artifactId-$VERSION-sources-$DSTAMP.jar -DpomFile=$artifactId-$VERSION.pom
|
-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
|
scp $artifactId-$VERSION-sources-$DSTAMP.jar.asc $M2_SCP/org/apache/poi/$artifactId/$VERSION/$artifactId-$VERSION-sources.jar.asc
|
||||||
fi
|
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
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user