Fail Gradle build for Javadoc warnings
In order to catch Javadoc errors in the build, we now enable the `Xwerror` flag for the `javadoc` tool. In addition, we now use `Xdoclint:syntax` instead of `Xdoclint:none` in order to validate syntax within our Javadoc. This commit fixes all resulting Javadoc errors and warnings. This commit also upgrades to Undertow 2.2.12.Final and fixes the artifact names for exclusions for the Servlet and annotations APIs. The incorrect exclusion of the Servlet API resulted in the Servlet API being on the classpath twice for the javadoc task, which resulted in the following warnings in previous builds. javadoc: warning - Multiple sources of package comments found for package "javax.servlet" javadoc: warning - Multiple sources of package comments found for package "javax.servlet.http" javadoc: warning - Multiple sources of package comments found for package "javax.servlet.descriptor" javadoc: warning - Multiple sources of package comments found for package "javax.servlet.annotation" Closes gh-27480
This commit is contained in:
@@ -111,7 +111,7 @@ public class LazyConnectionDataSourceProxy extends DelegatingDataSource {
|
||||
|
||||
/**
|
||||
* Set the default auto-commit mode to expose when no target Connection
|
||||
* has been fetched yet (-> actual JDBC Connection default not known yet).
|
||||
* has been fetched yet (when the actual JDBC Connection default is not known yet).
|
||||
* <p>If not specified, the default gets determined by checking a target
|
||||
* Connection on startup. If that check fails, the default will be determined
|
||||
* lazily on first access of a Connection.
|
||||
@@ -123,7 +123,7 @@ public class LazyConnectionDataSourceProxy extends DelegatingDataSource {
|
||||
|
||||
/**
|
||||
* Set the default transaction isolation level to expose when no target Connection
|
||||
* has been fetched yet (-> actual JDBC Connection default not known yet).
|
||||
* has been fetched yet (when the actual JDBC Connection default is not known yet).
|
||||
* <p>This property accepts the int constant value (e.g. 8) as defined in the
|
||||
* {@link java.sql.Connection} interface; it is mainly intended for programmatic
|
||||
* use. Consider using the "defaultTransactionIsolationName" property for setting
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.util.StringUtils;
|
||||
* <property name="targetDataSource" ref="myTargetDataSource"/>
|
||||
* <property name="username" value="myusername"/>
|
||||
* <property name="password" value="mypassword"/>
|
||||
* </bean></pre>
|
||||
* </bean></pre>
|
||||
*
|
||||
* <p>If the "username" is empty, this proxy will simply delegate to the
|
||||
* standard {@code getConnection()} method of the target DataSource.
|
||||
|
||||
Reference in New Issue
Block a user