diff --git a/buildspecs/release-javadoc.yml b/buildspecs/release-javadoc.yml index 8e63ea0a06b0..a5dc4b3157d4 100644 --- a/buildspecs/release-javadoc.yml +++ b/buildspecs/release-javadoc.yml @@ -21,8 +21,8 @@ phases: - mvn clean install javadoc:aggregate -B -Ppublic-javadoc -Dcheckstyle.skip -Dspotbugs.skip -DskipTests -Ddoclint=none -pl '!:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:s3-benchmarks,!:module-path-tests,!:test-utils,!:http-client-tests,!:tests-coverage-reporting,!:sdk-native-image-test,!:ruleset-testing-core,!:old-client-version-compatibility-test' - RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec` - - - aws s3 sync target/site/apidocs/ $DOC_PATH/$RELEASE_VERSION/ + - aws s3 sync target/site/apidocs/ $DOC_PATH/$RELEASE_VERSION/ --acl="public-read" + - aws s3 cp ./scripts/crosslink_redirect.html $DOC_PATH/$RELEASE_VERSION/ --acl="public-read" - aws s3 sync $DOC_PATH/$RELEASE_VERSION/ $DOC_PATH/latest/ --acl=public-read --delete - jar cf aws-java-sdk-v2-docs.jar -C target/site/apidocs . - - aws s3 cp aws-java-sdk-v2-docs.jar $DOC_PATH/ --acl="public-read" - - aws s3 cp ./scripts/crosslink_redirect.html $DOC_PATH/latest/ --acl="public-read" \ No newline at end of file + - aws s3 cp aws-java-sdk-v2-docs.jar $DOC_PATH/ --acl="public-read" \ No newline at end of file