[
https://issues.apache.org/jira/browse/RATIS-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated RATIS-2125:
------------------------------------
Description:
Ratis build generates javadoc when using {{-Prelease}}. The javadoc jars have
unexpected content, e.g. other jars, {{classes}} dir (with all {{.class}}
files), etc.
Example:
{code:title=ratis-server-api-3.2.0-SNAPSHOT-javadoc.jar}
16K allclasses-frame.html
16K allclasses-noframe.html
4.0K classes
76K constant-values.html
12K deprecated-list.html
4.0K generated-sources
12K help-doc.html
324K index-all.html
4.0K index.html
4.0K javadoc-bundle-options
4.0K maven-archiver
8.0K maven-javadoc-plugin-stale-data.txt
4.0K maven-shared-archive-resources
4.0K META-INF
4.0K org
4.0K overview-frame.html
8.0K overview-summary.html
56K overview-tree.html
4.0K package-list
104K ratis-server-api-3.2.0-SNAPSHOT.jar
72K ratis-server-api-3.2.0-SNAPSHOT-sources.jar
8.0K ratis-server-api-3.2.0-SNAPSHOT-tests.jar
8.0K rat.txt
4.0K script.js
8.0K serialized-form.html
16K stylesheet.css
4.0K test-classes
{code}
was:
Ratis build generates javadoc when using {{-Prelease}}. The javadoc jars have
unexpected content, e.g. other jars, {{classes}} dir (with all {{.class}}
files), etc.
Example:
{code}
16K allclasses-frame.html
16K allclasses-noframe.html
4.0K classes
76K constant-values.html
12K deprecated-list.html
4.0K generated-sources
12K help-doc.html
324K index-all.html
4.0K index.html
4.0K javadoc-bundle-options
4.0K maven-archiver
8.0K maven-javadoc-plugin-stale-data.txt
4.0K maven-shared-archive-resources
4.0K META-INF
4.0K org
4.0K overview-frame.html
8.0K overview-summary.html
56K overview-tree.html
4.0K package-list
104K ratis-server-api-3.2.0-SNAPSHOT.jar
72K ratis-server-api-3.2.0-SNAPSHOT-sources.jar
8.0K ratis-server-api-3.2.0-SNAPSHOT-tests.jar
8.0K rat.txt
4.0K script.js
8.0K serialized-form.html
16K stylesheet.css
4.0K test-classes
{code}
> javadoc jars should not include non-doc items
> ---------------------------------------------
>
> Key: RATIS-2125
> URL: https://issues.apache.org/jira/browse/RATIS-2125
> Project: Ratis
> Issue Type: Bug
> Components: build
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> Ratis build generates javadoc when using {{-Prelease}}. The javadoc jars
> have unexpected content, e.g. other jars, {{classes}} dir (with all
> {{.class}} files), etc.
> Example:
> {code:title=ratis-server-api-3.2.0-SNAPSHOT-javadoc.jar}
> 16K allclasses-frame.html
> 16K allclasses-noframe.html
> 4.0K classes
> 76K constant-values.html
> 12K deprecated-list.html
> 4.0K generated-sources
> 12K help-doc.html
> 324K index-all.html
> 4.0K index.html
> 4.0K javadoc-bundle-options
> 4.0K maven-archiver
> 8.0K maven-javadoc-plugin-stale-data.txt
> 4.0K maven-shared-archive-resources
> 4.0K META-INF
> 4.0K org
> 4.0K overview-frame.html
> 8.0K overview-summary.html
> 56K overview-tree.html
> 4.0K package-list
> 104K ratis-server-api-3.2.0-SNAPSHOT.jar
> 72K ratis-server-api-3.2.0-SNAPSHOT-sources.jar
> 8.0K ratis-server-api-3.2.0-SNAPSHOT-tests.jar
> 8.0K rat.txt
> 4.0K script.js
> 8.0K serialized-form.html
> 16K stylesheet.css
> 4.0K test-classes
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)