Skip to content

Commit

Permalink
include javadocs in buildscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Wenzel committed Jan 24, 2019
1 parent 666f972 commit b17520e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions prepare-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ VERSION=$1
set -e

UPLOAD_FOLDER=./target/to_upload
MVN_FOLDER=$VERSION/maven
MVN_FOLDER=maven

ZS_CORE_PATH=$UPLOAD_FOLDER/zkspring-core/$MVN_FOLDER
ZS_SECURITY_PATH=$UPLOAD_FOLDER/zkspring-security/$MVN_FOLDER
ZS_CORE_PATH=$UPLOAD_FOLDER/zkspring-core
ZS_SECURITY_PATH=$UPLOAD_FOLDER/zkspring-security

rm -rf $UPLOAD_FOLDER

mkdir -p $ZS_CORE_PATH
mkdir -p $ZS_SECURITY_PATH
mkdir -p $ZS_CORE_PATH/$VERSION/$MVN_FOLDER
mkdir -p $ZS_SECURITY_PATH/$VERSION/$MVN_FOLDER

cp zkspring-core/target/zkspring-core-$VERSION-bundle.jar $ZS_CORE_PATH
cp zkspring-core/target/zkspring-core-$VERSION-javadoc.jar $ZS_CORE_PATH/$VERSION/
cp zkspring-core/target/zkspring-core-$VERSION-bundle.jar $ZS_CORE_PATH/$VERSION/$MVN_FOLDER

cp zkspring-security/target/zkspring-security-$VERSION-bundle.jar $ZS_SECURITY_PATH
cp zkspring-security/target/zkspring-security-$VERSION-javadoc.jar $ZS_SECURITY_PATH/$VERSION/
cp zkspring-security/target/zkspring-security-$VERSION-bundle.jar $ZS_SECURITY_PATH/$VERSION/$MVN_FOLDER
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -e
bash ./upVer $ver-SNAPSHOT $pver

mvn clean install -pl zkspring-security -am
mvn source:jar repository:bundle-create --batch-mode -DskipTests -pl zkspring-security -am
mvn source:jar javadoc:jar repository:bundle-create --batch-mode -DskipTests -pl zkspring-security -am

cd $maindir
bash ./prepare-upload.sh $pver

0 comments on commit b17520e

Please sign in to comment.