Mark specific nimbus.lang.tag.version. (#12751)

* Mark specific nimbus.lang.tag.version.

* Add ignoredUnusedDeclaredDependencies.
This commit is contained in:
Gian Merlino 2022-07-06 21:28:35 -07:00 committed by GitHub
parent 059aba781a
commit e82890fde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

View File

@ -37,6 +37,7 @@
<pac4j.version>3.8.3</pac4j.version> <pac4j.version>3.8.3</pac4j.version>
<!-- Following must be updated along with any updates to pac4j version --> <!-- Following must be updated along with any updates to pac4j version -->
<nimbus.lang.tag.version>1.7</nimbus.lang.tag.version>
<nimbus.jose.jwt.version>7.9</nimbus.jose.jwt.version> <nimbus.jose.jwt.version>7.9</nimbus.jose.jwt.version>
<oauth2.oidc.sdk.version>6.5</oauth2.oidc.sdk.version> <oauth2.oidc.sdk.version>6.5</oauth2.oidc.sdk.version>
</properties> </properties>
@ -65,6 +66,11 @@
<version>${pac4j.version}</version> <version>${pac4j.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>lang-tag</artifactId>
<version>${nimbus.lang.tag.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.nimbusds</groupId> <groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId> <artifactId>nimbus-jose-jwt</artifactId>
@ -140,4 +146,19 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredUnusedDeclaredDependencies>
<!-- Transitive dependency explicitly added to lock a specific version -->
<ignoredUnusedDeclaredDependency>com.nimbusds:lang-tag</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -803,7 +803,7 @@ name: com.nimbusds lang-tag
license_category: binary license_category: binary
module: extensions/druid-pac4j module: extensions/druid-pac4j
license_name: Apache License version 2.0 license_name: Apache License version 2.0
version: 1.6 version: 1.7
libraries: libraries:
- com.nimbusds: lang-tag - com.nimbusds: lang-tag