mirror of https://github.com/alibaba/druid.git
增加module-info.java规避自动生成的不规范的模块名 #5979
增加module-info.java规避自动生成的不规范的模块名 #5979
This commit is contained in:
parent
a522d9daae
commit
68041f1bda
|
@ -119,6 +119,8 @@
|
|||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>9</source>
|
||||
<target>9</target>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
open module druid.spring.boot3.starter {
|
||||
exports com.alibaba.druid.spring.boot3.autoconfigure;
|
||||
exports com.alibaba.druid.spring.boot3.autoconfigure.stat;
|
||||
exports com.alibaba.druid.spring.boot3.autoconfigure.properties;
|
||||
requires spring.boot;
|
||||
requires spring.boot.autoconfigure;
|
||||
requires spring.context;
|
||||
requires spring.core;
|
||||
requires spring.aop;
|
||||
requires spring.beans;
|
||||
requires druid;
|
||||
requires org.slf4j;
|
||||
requires java.sql;
|
||||
requires java.naming;
|
||||
requires java.management;
|
||||
}
|
4
pom.xml
4
pom.xml
|
@ -150,12 +150,12 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<version>3.4.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.puppycrawl.tools</groupId>
|
||||
<artifactId>checkstyle</artifactId>
|
||||
<version>9.2</version>
|
||||
<version>10.17.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<executions>
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
||||
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd">
|
||||
<module name="Checker">
|
||||
<module name="BeforeExecutionExclusionFileFilter">
|
||||
<property name="fileNamePattern" value="module\-info\.java$"/>
|
||||
</module>
|
||||
<module name="FileTabCharacter"/>
|
||||
<module name="NewlineAtEndOfFile"/>
|
||||
<module name="RegexpMultiline">
|
||||
|
|
Loading…
Reference in New Issue