apache / apache/maven-javadoc-plugin

[MJAVADOC-720] sourcepath does not work with aggregate goal

Open
#1,099 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
107
Forks
116
Avg merge
1d 10h
Merged PRs (30d)
16

Description

**[Christoph Schulz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER293382)** opened **[MJAVADOC-720](https://issues.apache.org/jira/browse/MJAVADOC-720?redirect=false)** and commented

In our project we use lombok.

For the JavaDocs we delombok the sources using the Lombok plugin and add the output directory (`${project.build.directory}/generated-source/delombok`) to the `sourcepath` option.

This works fine for the non-aggregated reports, but it does not work for the aggregated report, with the sourcepath configured the report simply never executes (no `Generating "Javadoc" report --- maven-javadoc-plugin:3.3.2:aggregate-no-fork`).

Is this a know issue? Otherwise I can provide a project to reproduce this.

---

**Affects:** 3.3.2

2 votes, 3 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Investigate the aggregate goal in the Maven Javadoc Plugin 3.3.2 with a project using Lombok, the Lombok plugin, and `${project.build.directory}/generated-source/delombok` as `sourcepath`. Start by reproducing the difference between non-aggregated and aggregated reports; done means the aggregate report executes with that sourcepath configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.