-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
RFC: Fix some javadoc issues #3509
Conversation
* Controls if Ebean should ignore <code>&x64;javax.validation.contstraints.NotNull</code> or | ||
* <code>&x64;jakarta.validation.contstraints.NotNull</code> | ||
* Controls if Ebean should ignore <code>@javax.validation.contstraints.NotNull</code> or | ||
* <code>@jakarta.validation.contstraints.NotNull</code> | ||
* with respect to generating a <code>NOT NULL</code> column. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is obviously wrong
@@ -239,7 +239,7 @@ | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
<configuration> | |||
<doctitle>Ebean 12</doctitle> | |||
<doctitle>Ebean 14</doctitle> | |||
<overview>src/main/java/io/ebean/overview.html</overview> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This configuration is not used, when javadoc is called for other modules (javadoc' has not been previously called for the module: 'io.ebean:ebean-api:jar
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this can be removed really. Good catch.
@@ -56,6 +56,7 @@ | |||
<ebean-agent.version>14.8.0</ebean-agent.version> | |||
<ebean-maven-plugin.version>14.8.0</ebean-maven-plugin.version> | |||
<surefire.useModulePath>false</surefire.useModulePath> | |||
<maven-javadoc-plugin.version>3.10.1</maven-javadoc-plugin.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java11-oss defines 3.7.0 (but both versions have the same problem)
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<configuration> | ||
<additionalOptions>-Xdoclint:none</additionalOptions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is, that there are many javadocs, that uses non-HTML4-compliant tags.
I don't know, what's the best here. Change the HTML5 tags (that obviously work in the browser) to HTML4 tags or disable linting in ebean-paren (or only in specific module)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. disable linting seems reasonable for now.
@@ -239,7 +239,7 @@ | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-javadoc-plugin</artifactId> | |||
<configuration> | |||
<doctitle>Ebean 12</doctitle> | |||
<doctitle>Ebean 14</doctitle> | |||
<overview>src/main/java/io/ebean/overview.html</overview> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this can be removed really. Good catch.
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<configuration> | ||
<additionalOptions>-Xdoclint:none</additionalOptions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. disable linting seems reasonable for now.
When running a maven build, I get
Then I get
In the invoker log, there I find