Wei-Chiu Chuang created HDDS-13498:
--------------------------------------
Summary: [Ozone 2.1] Publish javadoc
Key: HDDS-13498
URL: https://issues.apache.org/jira/browse/HDDS-13498
Project: Apache Ozone
Issue Type: Task
Reporter: Wei-Chiu Chuang
[https://ozone-site-v2.staged.apache.org/docs/developer-guide/project/release-guide/]
I followed this process when making the 2.0 release. However, it contains an
error: it skips javadoc:
Build the Project
Build the project to fetch dependencies.
{code:java}
mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar
-Dgpg.keyname="$CODESIGNINGKEY"
{code}
Create and Upload Maven Artifacts
Perform the final build and upload the release artifacts.
{code:java}
mvn deploy -DdeployAtEnd=true -Dmaven.javadoc.skip=true -DskipTests
-Psign,dist,src -Dtar -Dgpg.keyname="$CODESIGNINGKEY"
{code}
Both of them should not skip javadoc:
{noformat}
-Dmaven.javadoc.skip=false
{noformat}
Once we do it correctly, it's going to produce -javadoc.jar, and then it will
be indexed by https://javadoc.io/
cc [~wfps1210]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]