Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 1618a74

Browse files
committed
A hack to let MITRE's copyright information to pass the license checks.
1 parent 266fdb9 commit 1618a74

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

spring/pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,46 @@
104104
</execution>
105105
</executions>
106106
</plugin>
107+
108+
<plugin>
109+
<groupId>com.mycila</groupId>
110+
<artifactId>license-maven-plugin</artifactId>
111+
<version>2.6</version>
112+
<executions>
113+
<execution>
114+
<id>default</id>
115+
<goals>
116+
<goal>check</goal>
117+
</goals>
118+
<configuration>
119+
<excludes>
120+
<exclude>**/README*</exclude>
121+
<exclude>**/LICENSE*</exclude>
122+
<exclude>**/AUTHORS*</exclude>
123+
<exclude>src/test/resources/**</exclude>
124+
<exclude>src/main/resources/**</exclude>
125+
<exclude>src/test/java/**/MissingConfigurationTest*</exclude>
126+
</excludes>
127+
</configuration>
128+
</execution>
129+
<execution>
130+
<id>mitre-license</id>
131+
<goals>
132+
<goal>check</goal>
133+
</goals>
134+
<configuration>
135+
<properties>
136+
<owner>The MITRE Corporation</owner>
137+
<project.inceptionYear>2016</project.inceptionYear>
138+
<email>[email protected]</email>
139+
</properties>
140+
<includes>
141+
<include>src/test/java/**/MissingConfigurationTest*</include>
142+
</includes>
143+
</configuration>
144+
</execution>
145+
</executions>
146+
</plugin>
107147
</plugins>
108148
</build>
109149

spring/src/test/java/ch/qos/logback/ext/spring/MissingConfigurationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2016 The MITRE Corporation
2+
* Copyright (C) 2016 The MITRE Corporation ([email protected])
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)