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

Commit d50597c

Browse files
committed
A hack to let MITRE's copyright information to pass the license checks.
1 parent 8ddaf73 commit d50597c

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
@@ -110,6 +110,46 @@
110110
</execution>
111111
</executions>
112112
</plugin>
113+
114+
<plugin>
115+
<groupId>com.mycila</groupId>
116+
<artifactId>license-maven-plugin</artifactId>
117+
<version>2.6</version>
118+
<executions>
119+
<execution>
120+
<id>default</id>
121+
<goals>
122+
<goal>check</goal>
123+
</goals>
124+
<configuration>
125+
<excludes>
126+
<exclude>**/README*</exclude>
127+
<exclude>**/LICENSE*</exclude>
128+
<exclude>**/AUTHORS*</exclude>
129+
<exclude>src/test/resources/**</exclude>
130+
<exclude>src/main/resources/**</exclude>
131+
<exclude>src/test/java/**/MissingConfigurationTest*</exclude>
132+
</excludes>
133+
</configuration>
134+
</execution>
135+
<execution>
136+
<id>mitre-license</id>
137+
<goals>
138+
<goal>check</goal>
139+
</goals>
140+
<configuration>
141+
<properties>
142+
<owner>The MITRE Corporation</owner>
143+
<project.inceptionYear>2016</project.inceptionYear>
144+
<email>[email protected]</email>
145+
</properties>
146+
<includes>
147+
<include>src/test/java/**/MissingConfigurationTest*</include>
148+
</includes>
149+
</configuration>
150+
</execution>
151+
</executions>
152+
</plugin>
113153
</plugins>
114154
</build>
115155

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)