Skip to content

Commit 144d1d4

Browse files
committed
Removing external file dependency from license formatter
Signed-off-by: Marvin Froeder <[email protected]>
1 parent 0f759bf commit 144d1d4

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

pom.xml

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2012-2024 The Feign Authors
4+
Copyright © 2012 The Feign Authors ([email protected])
55
6-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7-
in compliance with the License. You may obtain a copy of the License at
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
89
9-
http://www.apache.org/licenses/LICENSE-2.0
10+
http://www.apache.org/licenses/LICENSE-2.0
1011
11-
Unless required by applicable law or agreed to in writing, software distributed under the License
12-
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13-
or implied. See the License for the specific language governing permissions and limitations under
14-
the License.
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
1517
1618
-->
1719
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -652,10 +654,14 @@
652654
<artifactId>license-maven-plugin</artifactId>
653655
<version>${license-maven-plugin.version}</version>
654656
<configuration>
657+
<properties>
658+
<owner>The Feign Authors</owner>
659+
<email>[email protected]</email>
660+
</properties>
655661
<licenseSets>
656662
<licenseSet>
657-
<!-- session.executionRootDirectory resolves properly even with nested modules -->
658-
<header>${main.basedir}/src/etc/header.txt</header>
663+
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
664+
659665
<excludes>
660666
<exclude>.travis.yml</exclude>
661667
<exclude>.editorconfig</exclude>

src/etc/header.txt

-11
This file was deleted.

0 commit comments

Comments
 (0)