Skip to content

Commit

Permalink
update license config
Browse files Browse the repository at this point in the history
  • Loading branch information
huayanYu committed Oct 23, 2023
1 parent d54f06f commit 5e1f8c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ private Class<?> getMapperInterfaceClass(Object target) {
* @param ae AnnotatedElement
* @return 数据源映射持有者
*/
@SuppressWarnings("unchecked")
private <T> BasicAttribute<T> findDataSourceAttribute(AnnotatedElement ae, Class<? extends Annotation> annotation) {
if (annotation.isAssignableFrom(DS.class)) {
//AnnotatedElementUtils.findMergedAnnotation()会委托给findMergedAnnotationAttributes()
Expand Down
23 changes: 14 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,21 @@
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version>

<configuration>
<header>license.txt</header>
<includes>
<include>src/main/java/**</include>
</includes>
<excludes>
<exclude>src/main/java/com/**/**/Base64.java</exclude>
<exclude>src/main/java/com/**/**/CryptoUtils.java</exclude>
<exclude>src/main/java/com/**/**/DruidDynamicDataSourceConfiguration.java</exclude>
</excludes>
<licenseSets>
<licenseSet>
<header>license.txt</header>
<includes>
<include>src/main/java/**</include>
</includes>
<excludes>
<exclude>src/main/java/com/**/**/Base64.java</exclude>
<exclude>src/main/java/com/**/**/CryptoUtils.java</exclude>
<exclude>src/main/java/com/**/**/DruidDynamicDataSourceConfiguration.java</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 5e1f8c0

Please sign in to comment.