Skip to content

Commit

Permalink
build: Check upstream dependencies during build at all times.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Oct 30, 2024
1 parent c7ca644 commit 46b1507
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,56 @@
</excludes>
</licenseSet>
</licenseSets>
<dependencyEnforce>true</dependencyEnforce>
<dependencyExceptionMessage>One or more dependencies are licensed under a non-approved license.</dependencyExceptionMessage>
<dependencyPolicies>
<dependencyPolicy>
<type>LICENSE_URL</type>
<rule>APPROVE</rule>
<value>https://www.apache.org/licenses/LICENSE-2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>Apache License, Version 2</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>Apache License, Version 2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>The Apache Software License, Version 2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>The Apache Software License, version 2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>Apache-2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>Apache License 2.0</value>
</dependencyPolicy>
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>Apache 2</value>
</dependencyPolicy>
<!-- Mainly due to Slf4j simple, which is used by ArchUnit in tests, and langchain4j in the text2cypher module -->
<dependencyPolicy>
<type>LICENSE_NAME</type>
<rule>APPROVE</rule>
<value>MIT License</value>
</dependencyPolicy>
</dependencyPolicies>
<mapping>
<factories>SCRIPT_STYLE</factories>
</mapping>
Expand Down

0 comments on commit 46b1507

Please sign in to comment.