Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit d6da8d3

Browse files
committed
Update license plugin
1 parent 9091edc commit d6da8d3

8 files changed

Lines changed: 247 additions & 123 deletions

File tree

‎AndroidAnnotations/androidannotations-api/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
219
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
320
<modelVersion>4.0.0</modelVersion>
421

‎AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/api/roboguice/RoboGuiceHelper.java‎

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

318
import java.lang.reflect.InvocationTargetException;

‎AndroidAnnotations/androidannotations-bundle/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
219
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
320
<modelVersion>4.0.0</modelVersion>
421

‎AndroidAnnotations/androidannotations-with-codemodel/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
219
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
320
<modelVersion>4.0.0</modelVersion>
421

‎AndroidAnnotations/androidannotations/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
219
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
320
<modelVersion>4.0.0</modelVersion>
421

Lines changed: 127 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,134 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
3-
4-
<!--
5-
This configuration file was written by the eclipse-cs plugin configuration editor
6-
-->
72
<!--
8-
Checkstyle-Configuration: AA
9-
Description: none
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
1018
-->
19+
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
20+
1121
<module name="Checker">
12-
<property name="severity" value="error"/>
13-
<module name="TreeWalker">
14-
<property name="tabWidth" value="4"/>
15-
<module name="FileContentsHolder"/>
16-
<module name="AnnotationUseStyle"/>
17-
<module name="ClassTypeParameterName"/>
18-
<module name="ConstantName"/>
19-
<module name="LocalVariableName"/>
20-
<module name="MemberName"/>
21-
<module name="MethodName"/>
22-
<module name="MethodTypeParameterName"/>
23-
<module name="PackageName"/>
24-
<module name="ParameterName"/>
25-
<module name="StaticVariableName"/>
26-
<module name="TypeName"/>
27-
<module name="MissingDeprecated"/>
28-
<module name="MissingOverride"/>
29-
<module name="AvoidStarImport"/>
30-
<module name="IllegalImport"/>
31-
<!-- unfortunetaly could not synchronize with eclipse -->
32-
<!-- <module name="ImportOrder">
33-
<property name="separated" value="true"/>
34-
<property name="groups" value="java,javax,/com\..*/,/org\..*/,android"/>
35-
<property name="option" value="top"/>
36-
</module>-->
37-
<module name="RedundantImport"/>
38-
<module name="UnusedImports"/>
39-
40-
<module name="MethodLength"/>
41-
<module name="ParameterNumber"/>
42-
<module name="OuterTypeNumber"/>
43-
<module name="MethodCount"/>
44-
<module name="EmptyForInitializerPad"/>
45-
<module name="EmptyForIteratorPad"/>
46-
<module name="NoWhitespaceAfter">
47-
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
48-
</module>
49-
<module name="NoWhitespaceBefore"/>
50-
<module name="OperatorWrap"/>
51-
<module name="MethodParamPad"/>
52-
<module name="ParenPad"/>
53-
<module name="TypecastParenPad" />
54-
<module name="WhitespaceAfter"/>
55-
<module name="WhitespaceAround" >
56-
<property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, DO_WHILE, EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/>
57-
</module>
58-
<module name="RedundantModifier"/>
59-
<module name="AvoidNestedBlocks">
60-
<property name="allowInSwitchCase" value="true"/>
61-
</module>
62-
<module name="LeftCurly">
63-
<property name="maxLineLength" value="130"/>
64-
</module>
65-
<module name="NeedBraces"/>
66-
<module name="RightCurly"/>
67-
<module name="CovariantEquals"/>
68-
<module name="DefaultComesLast"/>
69-
<module name="EmptyStatement"/>
70-
<module name="EqualsHashCode"/>
71-
<module name="FallThrough"/>
72-
<module name="IllegalThrows"/>
73-
<module name="IllegalType">
74-
<property name="illegalClassNames " value="java.util.GregorianCalendar, java.util.Hashtable, java.util.HashSet, java.util.HashMap, java.util.LinkedList, java.util.LinkedHashMap, java.util.LinkedHashSet, java.util.TreeSet, java.util.TreeMap, java.util.Vector"/>
75-
</module>
76-
<module name="InnerAssignment"/>
77-
<module name="JUnitTestCase"/>
78-
<module name="ModifiedControlVariable"/>
79-
<module name="MultipleVariableDeclarations"/>
80-
<module name="NestedForDepth" >
81-
<property name="max" value="2"/>
82-
</module>
83-
<module name="NestedIfDepth" > <!-- this is too high, we should refactor those parts -->
84-
<property name="max" value="5"/>
85-
</module>
86-
<module name="NestedTryDepth"/>
87-
<module name="NoClone"/>
88-
<module name="NoFinalizer"/>
89-
<module name="PackageDeclaration"/>
90-
<module name="SimplifyBooleanExpression"/>
91-
<module name="SimplifyBooleanReturn"/>
92-
<module name="StringLiteralEquality"/>
93-
<module name="ArrayTrailingComma" />
94-
<module name="UnnecessaryParentheses"/>
95-
<module name="OneStatementPerLine"/>
96-
<module name="HideUtilityClassConstructor"/>
97-
<module name="InterfaceIsType"/>
98-
<module name="MutableException"/>
99-
<module name="ThrowsCount">
100-
<property name="max" value="2"/>
101-
</module>
102-
<!-- we should really enable the following -->
103-
<!-- <module name="VisibilityModifier">
104-
<property name="packageAllowed" value="true"/>
105-
<property name="protectedAllowed" value="true"/>
106-
</module>
107-
-->
108-
<module name="ArrayTypeStyle"/>
109-
<module name="Indentation">
110-
<property name="caseIndent" value="0"/>
22+
<property name="severity" value="error" />
23+
<module name="TreeWalker">
24+
<property name="tabWidth" value="4" />
25+
<module name="FileContentsHolder" />
26+
<module name="AnnotationUseStyle" />
27+
<module name="ClassTypeParameterName" />
28+
<module name="ConstantName" />
29+
<module name="LocalVariableName" />
30+
<module name="MemberName" />
31+
<module name="MethodName" />
32+
<module name="MethodTypeParameterName" />
33+
<module name="PackageName" />
34+
<module name="ParameterName" />
35+
<module name="StaticVariableName" />
36+
<module name="TypeName" />
37+
<module name="MissingDeprecated" />
38+
<module name="MissingOverride" />
39+
<module name="AvoidStarImport" />
40+
<module name="IllegalImport" />
41+
<!-- unfortunetaly could not synchronize with eclipse -->
42+
<!-- <module name="ImportOrder"> <property name="separated" value="true"/>
43+
<property name="groups" value="java,javax,/com\..*/,/org\..*/,android"/>
44+
<property name="option" value="top"/> </module> -->
45+
<module name="RedundantImport" />
46+
<module name="UnusedImports" />
47+
48+
<module name="MethodLength" />
49+
<module name="ParameterNumber" />
50+
<module name="OuterTypeNumber" />
51+
<module name="MethodCount" />
52+
<module name="EmptyForInitializerPad" />
53+
<module name="EmptyForIteratorPad" />
54+
<module name="NoWhitespaceAfter">
55+
<property name="tokens"
56+
value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS" />
57+
</module>
58+
<module name="NoWhitespaceBefore" />
59+
<module name="OperatorWrap" />
60+
<module name="MethodParamPad" />
61+
<module name="ParenPad" />
62+
<module name="TypecastParenPad" />
63+
<module name="WhitespaceAfter" />
64+
<module name="WhitespaceAround">
65+
<property name="tokens"
66+
value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, DO_WHILE, EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND" />
67+
</module>
68+
<module name="RedundantModifier" />
69+
<module name="AvoidNestedBlocks">
70+
<property name="allowInSwitchCase" value="true" />
71+
</module>
72+
<module name="LeftCurly">
73+
<property name="maxLineLength" value="130" />
74+
</module>
75+
<module name="NeedBraces" />
76+
<module name="RightCurly" />
77+
<module name="CovariantEquals" />
78+
<module name="DefaultComesLast" />
79+
<module name="EmptyStatement" />
80+
<module name="EqualsHashCode" />
81+
<module name="FallThrough" />
82+
<module name="IllegalThrows" />
83+
<module name="IllegalType">
84+
<property name="illegalClassNames "
85+
value="java.util.GregorianCalendar, java.util.Hashtable, java.util.HashSet, java.util.HashMap, java.util.LinkedList, java.util.LinkedHashMap, java.util.LinkedHashSet, java.util.TreeSet, java.util.TreeMap, java.util.Vector" />
86+
</module>
87+
<module name="InnerAssignment" />
88+
<module name="JUnitTestCase" />
89+
<module name="ModifiedControlVariable" />
90+
<module name="MultipleVariableDeclarations" />
91+
<module name="NestedForDepth">
92+
<property name="max" value="2" />
93+
</module>
94+
<module name="NestedIfDepth"> <!-- this is too high, we should refactor those parts -->
95+
<property name="max" value="5" />
96+
</module>
97+
<module name="NestedTryDepth" />
98+
<module name="NoClone" />
99+
<module name="NoFinalizer" />
100+
<module name="PackageDeclaration" />
101+
<module name="SimplifyBooleanExpression" />
102+
<module name="SimplifyBooleanReturn" />
103+
<module name="StringLiteralEquality" />
104+
<module name="ArrayTrailingComma" />
105+
<module name="UnnecessaryParentheses" />
106+
<module name="OneStatementPerLine" />
107+
<module name="HideUtilityClassConstructor" />
108+
<module name="InterfaceIsType" />
109+
<module name="MutableException" />
110+
<module name="ThrowsCount">
111+
<property name="max" value="2" />
112+
</module>
113+
<!-- we should really enable the following -->
114+
<!-- <module name="VisibilityModifier"> <property name="packageAllowed"
115+
value="true"/> <property name="protectedAllowed" value="true"/> </module> -->
116+
<module name="ArrayTypeStyle" />
117+
<module name="Indentation">
118+
<property name="caseIndent" value="0" />
119+
</module>
120+
121+
<module name="RegexpSinglelineJava">
122+
<property name="format" value="^\t* +\t*\S" />
123+
<property name="message"
124+
value="Line has leading space characters; indentation should be performed with tabs only." />
125+
<property name="ignoreComments" value="true" />
126+
</module>
127+
<module name="UpperEll" />
128+
<module name="OuterTypeFilename" />
129+
<module name="OuterTypeNumber" />
111130
</module>
112-
113-
<module name="RegexpSinglelineJava">
114-
<property name="format" value="^\t* +\t*\S"/>
115-
<property name="message" value="Line has leading space characters; indentation should be performed with tabs only."/>
116-
<property name="ignoreComments" value="true"/>
131+
<module name="FileLength" />
132+
<module name="SuppressionCommentFilter">
117133
</module>
118-
<module name="UpperEll"/>
119-
<module name="OuterTypeFilename"/>
120-
<module name="OuterTypeNumber"/>
121-
</module>
122-
<module name="FileLength"/>
123-
<module name="SuppressionCommentFilter">
124-
125-
126-
</module>
127134
</module>

‎AndroidAnnotations/functional-test-1-5/pom.xml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2014 eBusiness Information, Excilys Group
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
219
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
320
<modelVersion>4.0.0</modelVersion>
421

0 commit comments

Comments
 (0)