Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x] - Add generated source folder #7921

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@
<version>${version.plugin.javadoc}</version>
<configuration>
<source>${version.java}</source>
<sourcepath>src/main/java;target/generated-sources</sourcepath>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change the aggregated javadocs do not build at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, builds on my machine!

Copy link
Member

@barchetta barchetta Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I run mvn site I do not see javadocs being generated:

$ rm -rf target
$ mvn site
$ du -sh target/site/apidocs
du: target/site/apidocs: No such file or directory

If I remove the change in this PR then javadocs are generated.

<failOnError>true</failOnError>
<!-- we are not interested in each file that is generated -->
<quiet>true</quiet>
Expand Down