Skip to content

Commit

Permalink
Fix license header (#245)
Browse files Browse the repository at this point in the history
Signed-off-by: Hongxin Liang <[email protected]>
  • Loading branch information
honnix authored Sep 28, 2023
1 parent 1dcb818 commit 459fa97
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 34 deletions.
2 changes: 1 addition & 1 deletion jflyte-utils/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2021 Flyte Authors.
Copyright 2023 Flyte Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
54 changes: 21 additions & 33 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
<licenseHeader>
<!-- Specify either content or file, but not both -->
<content><![CDATA[/*
* Copyright 2021 Flyte Authors
* Copyright $YEAR Flyte Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -440,40 +440,13 @@
</googleJavaFormat>
<removeUnusedImports />
</java>
<xml>
<includes>
<include>**/pom.xml</include>
<include>**/src/**/*.xml</include>
</includes>
<licenseHeader>
<content><![CDATA[<!--
Copyright 2021 Flyte Authors.
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.
-->]]></content>
</licenseHeader>
<eclipse>
<file>${maven.multiModuleProjectDirectory}/spotless.xmlformat.prefs</file>
</eclipse>
</xml>
<scala>
<scalafmt>
<file>${maven.multiModuleProjectDirectory}/.scalafmt.conf</file>
</scalafmt>
<licenseHeader>
<content><![CDATA[/*
* Copyright 2021 Flyte Authors.
* Copyright $YEAR Flyte Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -491,10 +464,25 @@
</licenseHeader>
</scala>
<pom>
<!-- These are the defaults, you can override if you want -->
<includes>
<include>pom.xml</include>
</includes>
<licenseHeader>
<content><![CDATA[<!--
Copyright $YEAR Flyte Authors.
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.
-->]]></content>
<delimiter><![CDATA[<project]]></delimiter>
</licenseHeader>

<sortPom>
<encoding>UTF-8</encoding>
Expand Down

0 comments on commit 459fa97

Please sign in to comment.