Skip to content

Commit

Permalink
Add NOTICE file and include it and LICENSE in assembled JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev committed Aug 30, 2024
1 parent 6e251e3 commit 7dade91
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,35 @@
<version>3.6.0</version>
<configuration>
<filters>
<filter>
<artifact>com.gradle:develocity-maven-extension-adapters</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
<filter>
<artifact>org.codehaus.groovy:groovy</artifact>
<excludes>
<exclude>META-INF/LICENSE</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/NOTICE</exclude>
</excludes>
</filter>
<filter>
<artifact>org.apache.ivy:ivy</artifact>
<excludes>
<exclude>META-INF/LICENSE</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/NOTICE</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
<resource>LICENSE</resource>
<file>${project.basedir}/LICENSE</file>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
Expand All @@ -166,6 +188,11 @@
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.basedir}/release/distribution</directory>
</resource>
</resources>
</build>

<profiles>
Expand Down
74 changes: 74 additions & 0 deletions release/distribution/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
The following copyright statements and licenses apply to various third party open
source software packages (or portions thereof) that are distributed with
this content.

TABLE OF CONTENTS
=================

The following is a listing of the open source components detailed in this
document. This list is provided for your convenience; please read further if
you wish to review the copyright notice(s) and the full text of the license
associated with each component.


**SECTION 1: Apache License, V2.0**
* Develocity Maven Extension Adapters
* com.gradle:develocity-maven-extension-adapters
* Groovy
* org.codehaus.groovy:groovy
* Ivy
* org.apache.ivy:ivy

SECTION 1: Apache License, V2.0
================================

Develocity Maven Extension Adapters
-----------------------------------

Copyright 2024 Gradle, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Groovy
------

Copyright 2023 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Ivy
---

Copyright 2023 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

0 comments on commit 7dade91

Please sign in to comment.