[ci] let the compliance check run on all modules (#75)

Some leftovers from an earlier (and now incorrect) CI configuration.

Modules that don't need to comply with the licenses need to deactivate
the relevant plugin on a case-by-case basis.
This commit is contained in:
Julien Perrochet 2023-08-06 21:22:26 +02:00 committed by GitHub
parent 5659e8e2ba
commit 5cb371d7bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -28,7 +28,7 @@ jobs:
distribution: 'temurin'
# Check we only rely on permissive licenses in the main parts of the library:
- name: License Compliance
run: mvn -P compliance -pl langchain4j,langchain4j-core,langchain4j-spring-boot-starter org.honton.chas:license-maven-plugin:compliance
run: mvn -P compliance org.honton.chas:license-maven-plugin:compliance
# TODO's
# - setup integration tests

View File

@ -36,6 +36,19 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.honton.chas</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<!-- The weaviate client has a BSD-3 license, see https://github.com/weaviate/java-client/blob/main/LICENSE -->
<skipCompliance>true</skipCompliance>
</configuration>
</plugin>
</plugins>
</build>
<licenses>
<license>
<name>Apache-2.0</name>