Skip to content

Commit 561d0f2

Browse files
gnodetclaude
andauthored
fix: add compiled groovy classes to javadoc classpath (#1972)
The javadoc plugin could not resolve org.jline.groovy classes because they are compiled from .groovy sources by gmavenplus and are not on the javadoc classpath. Add the module's own artifact as an additional dependency so the compiled Groovy classes are available during javadoc generation. Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent 733eb35 commit 561d0f2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

groovy/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@
5656
</dependencies>
5757
<build>
5858
<plugins>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-javadoc-plugin</artifactId>
62+
<configuration>
63+
<additionalDependencies>
64+
<additionalDependency>
65+
<groupId>${project.groupId}</groupId>
66+
<artifactId>${project.artifactId}</artifactId>
67+
<version>${project.version}</version>
68+
</additionalDependency>
69+
</additionalDependencies>
70+
</configuration>
71+
</plugin>
5972
<plugin>
6073
<groupId>org.apache.maven.plugins</groupId>
6174
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)