Ray Milkey

Enable checkstyle rule to enforce package-info.java files

Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * IGMP implementation.
19 + */
20 +package org.onosproject.igmp.impl;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * REST API for multicase forwarding.
19 + */
20 +package org.onosproject.mfwd.rest;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Mastership load balancer.
19 + */
20 +package org.onosproject.mlb;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * OpenStack switch interface.
19 + */
20 +package org.onosproject.openstackswitching;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * OpenStack switching REST API.
19 + */
20 +package org.onosproject.openstackswitching.web;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Persistence service and builders.
19 + */
20 +package org.onosproject.persistence;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Implementations of core persistence classes.
19 + */
20 +package org.onosproject.persistence.impl;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Interface Service.
19 + */
20 +package org.onosproject.incubator.net.intf;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Created by ray on 10/30/15.
19 + */
20 +package org.onosproject.netconf;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Created by ray on 10/30/15.
19 + */
20 +package org.onosproject.netconf.ctl;
1 +/*
2 + * Copyright 2015 Open Networking Laboratory
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License");
5 + * you may not use this file except in compliance with the License.
6 + * You may obtain a copy of 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,
12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 + * See the License for the specific language governing permissions and
14 + * limitations under the License.
15 + */
16 +
17 +/**
18 + * Created by ray on 10/30/15.
19 + */
20 +package org.onosproject.netconf.rfc;
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
58 58
59 <module>tools/package/archetypes</module> 59 <module>tools/package/archetypes</module>
60 <module>tools/package/branding</module> 60 <module>tools/package/branding</module>
61 + <module>tools/build/conf</module>
61 <module>bgp</module> 62 <module>bgp</module>
62 </modules> 63 </modules>
63 64
...@@ -79,7 +80,7 @@ ...@@ -79,7 +80,7 @@
79 80
80 <properties> 81 <properties>
81 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 82 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
82 - <onos-build-conf.version>1.0</onos-build-conf.version> 83 + <onos-build-conf.version>1.1-SNAPSHOT</onos-build-conf.version>
83 <netty4.version>4.0.23.Final</netty4.version> 84 <netty4.version>4.0.23.Final</netty4.version>
84 <copycat.version>0.5.0.onos</copycat.version> 85 <copycat.version>0.5.0.onos</copycat.version>
85 <openflowj.version>0.9.0.onos</openflowj.version> 86 <openflowj.version>0.9.0.onos</openflowj.version>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 27
28 <groupId>org.onosproject</groupId> 28 <groupId>org.onosproject</groupId>
29 <artifactId>onos-build-conf</artifactId> 29 <artifactId>onos-build-conf</artifactId>
30 - <version>1.1</version> 30 + <version>1.1-SNAPSHOT</version>
31 <description>Various ONOS build settings</description> 31 <description>Various ONOS build settings</description>
32 32
33 <properties> 33 <properties>
......
...@@ -67,9 +67,7 @@ ...@@ -67,9 +67,7 @@
67 --> 67 -->
68 <!-- Checks that a package-info.java file exists for each package. --> 68 <!-- Checks that a package-info.java file exists for each package. -->
69 <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage --> 69 <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage -->
70 - <!-- ONOS does not currently supply package level Javadoc information 70 + <module name="JavadocPackage"/>
71 - in package-info files -->
72 - <!-- <module name="JavadocPackage"/> -->
73 71
74 <!-- Checks whether files end with a new line. --> 72 <!-- Checks whether files end with a new line. -->
75 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> 73 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
......
...@@ -29,4 +29,12 @@ ...@@ -29,4 +29,12 @@
29 <suppress files=".*" checks="HiddenField"/> 29 <suppress files=".*" checks="HiddenField"/>
30 <suppress files=".java" checks="NewlineAtEndOfFile"/> 30 <suppress files=".java" checks="NewlineAtEndOfFile"/>
31 31
32 + <!-- Suppressions for unit testing code -->
33 + <suppress checks="JavadocPackage"
34 + files=".*/src/test/.*.java"
35 + />
36 +
37 + <suppress checks="JavadocPackage"
38 + files=".*/thirdparty/.*.java"/>
39 +
32 </suppressions> 40 </suppressions>
......