Skip to content

Commit

Permalink
refactor: add NOTICE and license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Indah Juliani committed Aug 19, 2024
1 parent ade925a commit 6334e56
Show file tree
Hide file tree
Showing 20 changed files with 409 additions and 0 deletions.
118 changes: 118 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
Copyright 2023, GIP-RECIA, Inc.
This project includes software developed by GIP-RECIA.
https://www.recia.fr/

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.

This project includes:
AntLR Parser Generator under BSD License
Apache Commons Lang under Apache License, Version 2.0
Apache Log4j API under Apache License, Version 2.0
Apache Log4j to SLF4J Adapter under Apache License, Version 2.0
asm under BSD-3-Clause
ASM based accessors helper used by json-smart under The Apache Software License, Version 2.0
AspectJ Weaver under Eclipse Public License - v 2.0
AssertJ fluent assertions under Apache License, Version 2.0
Byte Buddy (without dependencies) under Apache License, Version 2.0
Byte Buddy agent under Apache License, Version 2.0
ClassMate under Apache License, Version 2.0
H2 Database Engine under MPL 2.0 or EPL 1.0
Hamcrest under BSD License 3
HdrHistogram under Public Domain, per Creative Commons CC0 or BSD-2-Clause
Hibernate Commons Annotations under GNU Library General Public License v2.1 or later
Hibernate ORM - hibernate-core under GNU Library General Public License v2.1 or later
Hibernate Validator Engine under Apache License 2.0
HikariCP under The Apache Software License, Version 2.0
istack common utility code runtime under Eclipse Distribution License - v 1.0
Jackson datatype: jdk8 under The Apache Software License, Version 2.0
Jackson datatype: JSR310 under The Apache Software License, Version 2.0
Jackson-annotations under The Apache Software License, Version 2.0
Jackson-core under The Apache Software License, Version 2.0
jackson-databind under The Apache Software License, Version 2.0
Jackson-module-parameter-names under The Apache Software License, Version 2.0
Jakarta Activation under EDL 1.0
Jakarta Activation API jar under EDL 1.0
Jakarta Annotations API under EPL 2.0 or GPL2 w/ CPE
Jakarta Bean Validation API under Apache License 2.0
Jakarta Persistence API under Eclipse Public License v. 2.0 or Eclipse Distribution License v. 1.0
Jakarta XML Binding API under Eclipse Distribution License - v 1.0
Java Annotation Indexer under Apache License, Version 2.0
javax.transaction API under EPL 2.0 or GPL2 w/ CPE
JAXB Runtime under Eclipse Distribution License - v 1.0
JBoss Logging 3 under Apache License, version 2.0
JSON library from Android SDK under Apache License 2.0
JSON Small and Fast Parser under The Apache Software License, Version 2.0
JSONassert under The Apache Software License, Version 2.0
JUL to SLF4J bridge under MIT License
JUnit Jupiter (Aggregator) under Eclipse Public License v2.0
JUnit Jupiter API under Eclipse Public License v2.0
JUnit Jupiter Engine under Eclipse Public License v2.0
JUnit Jupiter Params under Eclipse Public License v2.0
JUnit Platform Commons under Eclipse Public License v2.0
JUnit Platform Engine API under Eclipse Public License v2.0
LatencyUtils under Public Domain, per Creative Commons CC0
Logback Classic Module under Eclipse Public License - v 1.0 or GNU Lesser General Public License
Logback Core Module under Eclipse Public License - v 1.0 or GNU Lesser General Public License
mariadb-java-client under LGPL-2.1
mce-project under Apache License, Version 2.0
micrometer-core under The Apache Software License, Version 2.0
mockito-core under The MIT License
mockito-junit-jupiter under The MIT License
Objenesis under Apache License, Version 2.0
org.apiguardian:apiguardian-api under The Apache License, Version 2.0
org.opentest4j:opentest4j under The Apache License, Version 2.0
org.xmlunit:xmlunit-core under The Apache Software License, Version 2.0
project ':json-path' under The Apache Software License, Version 2.0
Project Lombok under The MIT License
SLF4J API Module under MIT License
SnakeYAML under Apache License, Version 2.0
Spring AOP under Apache License, Version 2.0
Spring Aspects under Apache License, Version 2.0
Spring Beans under Apache License, Version 2.0
Spring Commons Logging Bridge under Apache License, Version 2.0
Spring Context under Apache License, Version 2.0
Spring Core under Apache License, Version 2.0
Spring Data Core under Apache License, Version 2.0
Spring Data JPA under Apache License, Version 2.0
Spring Data LDAP under Apache License, Version 2.0
Spring Expression Language (SpEL) under Apache License, Version 2.0
Spring JDBC under Apache License, Version 2.0
Spring Object/Relational Mapping under Apache License, Version 2.0
Spring TestContext Framework under Apache License, Version 2.0
Spring Transaction under Apache License, Version 2.0
Spring Web under Apache License, Version 2.0
Spring Web MVC under Apache License, Version 2.0
spring-boot under Apache License, Version 2.0
spring-boot-actuator under Apache License, Version 2.0
spring-boot-actuator-autoconfigure under Apache License, Version 2.0
spring-boot-autoconfigure under Apache License, Version 2.0
spring-boot-starter under Apache License, Version 2.0
spring-boot-starter-actuator under Apache License, Version 2.0
spring-boot-starter-aop under Apache License, Version 2.0
spring-boot-starter-data-jpa under Apache License, Version 2.0
spring-boot-starter-data-ldap under Apache License, Version 2.0
spring-boot-starter-jdbc under Apache License, Version 2.0
spring-boot-starter-json under Apache License, Version 2.0
spring-boot-starter-logging under Apache License, Version 2.0
spring-boot-starter-test under Apache License, Version 2.0
spring-boot-starter-tomcat under Apache License, Version 2.0
spring-boot-starter-validation under Apache License, Version 2.0
spring-boot-starter-web under Apache License, Version 2.0
spring-boot-test under Apache License, Version 2.0
spring-boot-test-autoconfigure under Apache License, Version 2.0
spring-ldap-core under Apache License, Version 2.0
tomcat-embed-core under Apache License, Version 2.0
tomcat-embed-el under Apache License, Version 2.0
tomcat-embed-websocket under Apache License, Version 2.0
TXW2 Runtime under Eclipse Distribution License - v 1.0

18 changes: 18 additions & 0 deletions etc/NOTICE.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright 2023, GIP-RECIA, Inc.
This project includes software developed by GIP-RECIA.
https://www.recia.fr/

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.

This project includes:
#GENERATED_NOTICES#
13 changes: 13 additions & 0 deletions etc/header.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (C) 2023 GIP-RECIA, 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.
5 changes: 5 additions & 0 deletions etc/license-mappings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<license-lookup xmlns="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://source.jasig.org/schemas/maven-notice-plugin/license-lookup https://source.jasig.org/schemas/maven-notice-plugin/license-lookup/license-lookup-v1.0.xsd">
</license-lookup>
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,36 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.5</version>
<configuration>
<strictCheck>true</strictCheck>
<licenseSets>
<licenseSet>
<header>etc/header.template</header>
<includes>
<include>src/**/*.java</include>
</includes>
<excludes>
<exclude>**/dist/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
<plugin>
<groupId>org.jasig.maven</groupId>
<artifactId>notice-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<noticeTemplate>etc/NOTICE.template</noticeTemplate>
<licenseMapping>
<param>etc/license-mappings.xml</param>
</licenseMapping>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi;

import org.springframework.boot.SpringApplication;
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/fr/recia/mce/api/escomceapi/ServletInitializer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi;

import org.springframework.boot.builder.SpringApplicationBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* Copyright (C) 2023 GIP-RECIA, 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.
*/
package fr.recia.mce.api.escomceapi.db.entities;

import java.io.Serializable;
Expand Down
Loading

0 comments on commit 6334e56

Please sign in to comment.