Skip to content

Commit 480c400

Browse files
edburnsCopilot
andcommitted
Add generated source path to javadoc configuration
The monorepo has sources in both src/main/java and src/generated/java. Javadoc needs both paths to resolve imports from generated packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7e4aa34 commit 480c400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
<artifactId>maven-javadoc-plugin</artifactId>
190190
<version>3.11.2</version>
191191
<configuration>
192-
<sourcepath>${monorepo.java.dir}/src/main/java</sourcepath>
192+
<sourcepath>${monorepo.java.dir}/src/main/java:${monorepo.java.dir}/src/generated/java</sourcepath>
193193
<subpackages>com.github.copilot</subpackages>
194194
</configuration>
195195
<reportSets>

0 commit comments

Comments
 (0)