Skip to content

Commit

Permalink
Use mycila license-maven-plugin to apply license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercamp committed Jan 10, 2023
1 parent 3790d32 commit 613d8e6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pom.xml
Expand Up @@ -30,6 +30,46 @@
</compilerArgs>
</configuration>
</plugin>
<plugin>
<!-- update header files with the command: mvn license:format -->
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.1</version>
<configuration>
<licenseSets>
<licenseSet>
<inlineHeader>
© 2023 Synopsys, Inc. All rights reserved worldwide.

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
</inlineHeader>
<keywords>
<keyword>©</keyword>
</keywords>
<excludes>
<exclude>pom.xml</exclude>
<exclude>*.md</exclude>

<exclude>Jenkinsfile</exclude>
<exclude>Jenkinsfile.Internal</exclude>
<exclude>src/spotbugs/**</exclude>

<exclude>src/main/resources/**</exclude>
<exclude>src/main/webapp/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 613d8e6

Please sign in to comment.