diff --git a/.licenses/MIT.template.txt b/.licenses/MIT.template.txt new file mode 100644 index 0000000..c62064a --- /dev/null +++ b/.licenses/MIT.template.txt @@ -0,0 +1,20 @@ +The MIT License +Copyright © ${year} ${owner} + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/pom.xml b/pom.xml index e249786..a05e88b 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ 3.8.0 0.8.12 2.23 - 4.4 + 4.5 1.2.0 @@ -200,7 +200,7 @@ src/test/resources/** src/main/resources/** -
com/mycila/maven/plugin/license/templates/MIT.txt
+
${stylesniffer.root}/.licenses/MIT.template.txt
@@ -209,6 +209,7 @@ JAVAPKG_STYLE Sebastien Vermeille + 2024 diff --git a/scripts/build.sh b/scripts/build.sh index 70b64cf..10cf269 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,14 +2,17 @@ # # The MIT License # Copyright © 2024 Sebastien Vermeille +# # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: +# # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/scripts/codestyle.sh b/scripts/codestyle.sh index 3b6c6db..3695a3e 100644 --- a/scripts/codestyle.sh +++ b/scripts/codestyle.sh @@ -2,14 +2,17 @@ # # The MIT License # Copyright © 2024 Sebastien Vermeille +# # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: +# # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/scripts/test.sh b/scripts/test.sh index 4dd1de3..93034cf 100644 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -2,14 +2,17 @@ # # The MIT License # Copyright © 2024 Sebastien Vermeille +# # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: +# # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. +# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE