From 864617f198fd88feaebf5f4c515cc796207362c7 Mon Sep 17 00:00:00 2001 From: tobi5775 <50146675+tobi5775@users.noreply.github.com> Date: Thu, 9 Feb 2023 15:27:22 +0100 Subject: [PATCH] Add notice and license to jar In many other Spring and Spring Boot projects, the license and notice files are included in the jar file under META-INF. In this Spring project, the two files should also be added to the jar. * add notice and license to jar * Update NOTICE.txt --- NOTICE.txt | 5 +++++ pom.xml | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 NOTICE.txt diff --git a/NOTICE.txt b/NOTICE.txt new file mode 100644 index 0000000..cb0206f --- /dev/null +++ b/NOTICE.txt @@ -0,0 +1,5 @@ +Copyright (c) 2006-2023 the original author or authors. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. diff --git a/pom.xml b/pom.xml index 067e32f..62da2ac 100644 --- a/pom.xml +++ b/pom.xml @@ -204,6 +204,16 @@ + + + . + META-INF + + LICENSE-2.0.txt + NOTICE.txt + + +