Skip to content

Commit b04afa7

Browse files
committed
Added a license checker. Fixes issue 79
1 parent 7964498 commit b04afa7

5 files changed

Lines changed: 88 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
4+
use this file except in compliance with the License. You may obtain a copy of
5+
the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed To in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
License for the specific language governing permissions and limitations under
13+
the License.
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
4+
use this file except in compliance with the License. You may obtain a copy of
5+
the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed To in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
License for the specific language governing permissions and limitations under
13+
the License.
14+
15+

‎AndroidAnnotations/pom.xml‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,34 @@
112112
</plugin>
113113
</plugins>
114114
</pluginManagement>
115+
<plugins>
116+
<plugin>
117+
<!-- Checks for license headers. Use "mvn license:format" to update files. -->
118+
<groupId>com.mycila.maven-license-plugin</groupId>
119+
<artifactId>maven-license-plugin</artifactId>
120+
<version>1.9.0</version>
121+
<configuration>
122+
<header>src/etc/header.txt</header>
123+
<excludes>
124+
<exclude>.idea/**</exclude>
125+
<exclude>HOW-TO.txt</exclude>
126+
<exclude>LICENSE.txt</exclude>
127+
<exclude>.gitignore</exclude>
128+
<exclude>R.java</exclude>
129+
<exclude>**/*_.java</exclude>
130+
</excludes>
131+
<strictCheck>true</strictCheck>
132+
</configuration>
133+
<executions>
134+
<execution>
135+
<phase>compile</phase>
136+
<goals>
137+
<goal>check</goal>
138+
</goals>
139+
</execution>
140+
</executions>
141+
</plugin>
142+
</plugins>
115143
<extensions>
116144

117145
<extension>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
4+
use this file except in compliance with the License. You may obtain a copy of
5+
the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed To in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
License for the specific language governing permissions and limitations under
13+
the License.
14+
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
4+
use this file except in compliance with the License. You may obtain a copy of
5+
the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed To in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12+
License for the specific language governing permissions and limitations under
13+
the License.
14+
15+

0 commit comments

Comments
 (0)