Repository: netty/netty
Issue: duplicate package-info.java errors in eclipse

see below

possible work around

1) kill these files from *_/test/_ path

2) try to use package-info.html

3) try to use both package-info.html and package-info.java

```
Description Resource    Path    Location    Type
The type package-info is already defined    package-info.java   /netty-buffer/src/test/java/io/netty/buffer line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec-http/src/test/java/io/netty/handler/codec/http line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec-http/src/test/java/io/netty/handler/codec/http/multipart   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec-http/src/test/java/io/netty/handler/codec/http/websocketx  line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec-http/src/test/java/io/netty/handler/codec/spdy line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec-socks/src/test/java/io/netty/handler/codec/socks   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec/bytes line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec/compression   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec/marshalling   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec/protobuf  line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-codec/src/test/java/io/netty/handler/codec/serialization line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-common/src/test/java/io/netty/util   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-common/src/test/java/io/netty/util/internal  line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-common/src/test/java/io/netty/util/internal/logging  line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-handler/src/test/java/io/netty/handler/stream    line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-testsuite-osgi-exam/src/test/java/io/netty/verify/osgi   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-testsuite-osgi-split/src/test/java/io/netty/verify/osgi  line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-transport/src/test/java/io/netty/bootstrap   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-transport/src/test/java/io/netty/channel line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-transport/src/test/java/io/netty/channel/group   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-transport/src/test/java/io/netty/channel/local   line 1  Java Problem
The type package-info is already defined    package-info.java   /netty-transport/src/test/java/io/netty/channel/nio line 1  Java Problem

```


Issue comments:
If you kill `package-info.java` from tests, build will fail because of existing check style rule.

well, this rule was not there before. lets kill it too :-)

Or may be modify https://github.com/netty/netty-build/blob/master/src/main/resources/io/netty/checkstyle.xml#L25 to ignore `package-info.java` and remove them after that? 

one more idea: change test name space so there is no package split.

this is also required if we want run same tests in osgi.

for example: I needed to use different name space here:

https://github.com/netty/netty/tree/master/transport-udt/src/main/java/io/netty/channel/udt

https://github.com/netty/netty/tree/master/transport-udt/src/test/java/io/netty/test/udt

in order to run these tests

https://github.com/netty/netty/tree/master/testsuite-osgi/testsuite-osgi-exam

re:

```
Or may be modify https://github.com/netty/netty-build/blob/master/src/main/resources/io/netty/checkstyle.xml#L25 to ignore package-info.java and remove them after that?
```

removing is the easiest solution. do we need to keep them? 

@trustin @normanmaurer please comment.

Another solution:

Create `suppressions.xml` in netty-build with content: https://gist.github.com/infynyxx/5303333

And in parent pom.xml, under plugin `maven-checkstyle-plugin` enable:

```
<suppressionsLocation>io/netty/suppressions.xml</suppressionsLocation>
```

yes, this takes care of ckeckstyle. 

but the underlying reason is still there: eclipse does not tolerate same class name in same package.

example:

http://jira.codehaus.org/browse/SONAR-2444

Once checkstyle is ignoring package-info.java in tests directory, we can
remove them.

On Wed, Apr 3, 2013 at 1:46 PM, Andrei Pozolotin
notifications@github.comwrote:

> yes, this takes care of ckeckstyle.
> 
> but the underlying reason is still there: eclipse does not tolerate same
> class name in same package.
> 
> example:
> 
> http://jira.codehaus.org/browse/SONAR-2444
> 
> —
> Reply to this email directly or view it on GitHubhttps://github.com/netty/netty/issues/1234#issuecomment-15852145
> .

## 

-- Praj

unless @trustin really needs them to be happy :-)

That's true :)

I think remove them in test packages is a no-brainer… so go for it!

Am 03.04.2013 um 20:00 schrieb Prajwal Tuladhar notifications@github.com:

> That's true :)
> 
> —
> Reply to this email directly or view it on GitHub.

@normanmaurer please review


Pull request review comments:

Patch that resolved the issue:
diff --git a/pom.xml b/pom.xml
index b1aab0aba36..be97bb753d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -369,7 +369,7 @@
           <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>netty-build</artifactId>
-            <version>18</version>
+            <version>19-SNAPSHOT</version>
           </dependency>
         </dependencies>
       </plugin>


Test patch:
diff --git a/buffer/src/test/java/io/netty/buffer/package-info.java b/buffer/src/test/java/io/netty/buffer/package-info.java
deleted file mode 100644
index 4271c3f5c91..00000000000
--- a/buffer/src/test/java/io/netty/buffer/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Byte Buffer test classes
- **/
-
-package io.netty.buffer;
diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/multipart/package-info.java b/codec-http/src/test/java/io/netty/handler/codec/http/multipart/package-info.java
deleted file mode 100644
index ef01b481477..00000000000
--- a/codec-http/src/test/java/io/netty/handler/codec/http/multipart/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for HTTP multipart codec.
- */
-package io.netty.handler.codec.http.multipart;
diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/package-info.java b/codec-http/src/test/java/io/netty/handler/codec/http/package-info.java
deleted file mode 100644
index f3545575a77..00000000000
--- a/codec-http/src/test/java/io/netty/handler/codec/http/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder, decoder and their related message types for HTTP.
- */
-package io.netty.handler.codec.http;
diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/package-info.java b/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/package-info.java
deleted file mode 100644
index 9fc5800a678..00000000000
--- a/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder, decoder, handshakers and their related message types for
- * <a href="http://en.wikipedia.org/wiki/Web_Sockets">Web Socket</a> data frames.
- */
-package io.netty.handler.codec.http.websocketx;
diff --git a/codec-http/src/test/java/io/netty/handler/codec/spdy/package-info.java b/codec-http/src/test/java/io/netty/handler/codec/spdy/package-info.java
deleted file mode 100644
index 966486d3f2a..00000000000
--- a/codec-http/src/test/java/io/netty/handler/codec/spdy/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder, decoder, session handler and their related message types for the SPDY protocol.
- */
-package io.netty.handler.codec.spdy;
diff --git a/codec-socks/src/test/java/io/netty/handler/codec/socks/package-info.java b/codec-socks/src/test/java/io/netty/handler/codec/socks/package-info.java
deleted file mode 100644
index df685f46f31..00000000000
--- a/codec-socks/src/test/java/io/netty/handler/codec/socks/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder, decoder and their related message types for Socks.
- */
-package io.netty.handler.codec.socks;
diff --git a/codec/src/test/java/io/netty/handler/codec/bytes/package-info.java b/codec/src/test/java/io/netty/handler/codec/bytes/package-info.java
deleted file mode 100644
index ca530361259..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/bytes/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder and decoder which transform an array of bytes into a
- * {@link io.netty.buffer.ByteBuf} and vice versa.
- */
-package io.netty.handler.codec.bytes;
diff --git a/codec/src/test/java/io/netty/handler/codec/compression/package-info.java b/codec/src/test/java/io/netty/handler/codec/compression/package-info.java
deleted file mode 100644
index af11948b60a..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/compression/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes encoder and decoder which compresses and decompresses {@link io.netty.buffer.ByteBuf}s
- * in a compression format
- */
-package io.netty.handler.codec.compression;
diff --git a/codec/src/test/java/io/netty/handler/codec/marshalling/package-info.java b/codec/src/test/java/io/netty/handler/codec/marshalling/package-info.java
deleted file mode 100644
index e7e08938cc1..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/marshalling/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for decoder and encoder which uses
- * <a href="http://www.jboss.org/jbossmarshalling">JBoss Marshalling</a>.
- */
-package io.netty.handler.codec.marshalling;
diff --git a/codec/src/test/java/io/netty/handler/codec/package-info.java b/codec/src/test/java/io/netty/handler/codec/package-info.java
deleted file mode 100644
index f7cf92edaf7..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for extensible decoder and its common implementations
- */
-package io.netty.handler.codec;
diff --git a/codec/src/test/java/io/netty/handler/codec/protobuf/package-info.java b/codec/src/test/java/io/netty/handler/codec/protobuf/package-info.java
deleted file mode 100644
index b561895216e..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/protobuf/package-info.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder and decoder which transform a
- * <a href="http://code.google.com/p/protobuf/">Google Protocol Buffers</a>
- * {@link com.google.protobuf.Message} into a {@link io.netty.buffer.ByteBuf}
- * and vice versa.
- */
-package io.netty.handler.codec.protobuf;
diff --git a/codec/src/test/java/io/netty/handler/codec/serialization/package-info.java b/codec/src/test/java/io/netty/handler/codec/serialization/package-info.java
deleted file mode 100644
index 389f6dbebb3..00000000000
--- a/codec/src/test/java/io/netty/handler/codec/serialization/package-info.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for encoder, decoder and their compatibility stream implementations which
- * transform a {@link java.io.Serializable} object into a byte buffer and
- * vice versa.
- */
-package io.netty.handler.codec.serialization;
diff --git a/common/src/test/java/io/netty/util/internal/logging/package-info.java b/common/src/test/java/io/netty/util/internal/logging/package-info.java
deleted file mode 100644
index 3538aad14a0..00000000000
--- a/common/src/test/java/io/netty/util/internal/logging/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Internal logging utility test classes
- */
-package io.netty.util.internal.logging;
diff --git a/common/src/test/java/io/netty/util/internal/package-info.java b/common/src/test/java/io/netty/util/internal/package-info.java
deleted file mode 100644
index 1a63153f416..00000000000
--- a/common/src/test/java/io/netty/util/internal/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Utility internal test classes
- */
-package io.netty.util.internal;
diff --git a/common/src/test/java/io/netty/util/package-info.java b/common/src/test/java/io/netty/util/package-info.java
deleted file mode 100644
index 371ab4c4c01..00000000000
--- a/common/src/test/java/io/netty/util/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Utility test classes
- */
-package io.netty.util;
diff --git a/handler/src/test/java/io/netty/handler/stream/package-info.java b/handler/src/test/java/io/netty/handler/stream/package-info.java
deleted file mode 100644
index 72c2f2a4109..00000000000
--- a/handler/src/test/java/io/netty/handler/stream/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for stream package
- */
-package io.netty.handler.stream;
diff --git a/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/package-info.java b/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/package-info.java
deleted file mode 100644
index 6ef91550a4c..00000000000
--- a/testsuite-osgi/testsuite-osgi-exam/src/test/java/io/netty/verify/osgi/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * OSGI verify compliance tests
- */
-package io.netty.verify.osgi;
diff --git a/testsuite-osgi/testsuite-osgi-split/src/test/java/io/netty/verify/osgi/package-info.java b/testsuite-osgi/testsuite-osgi-split/src/test/java/io/netty/verify/osgi/package-info.java
deleted file mode 100644
index 57b701f6001..00000000000
--- a/testsuite-osgi/testsuite-osgi-split/src/test/java/io/netty/verify/osgi/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * OSGI placeholder
- */
-package io.netty.verify.osgi;
diff --git a/transport/src/test/java/io/netty/bootstrap/package-info.java b/transport/src/test/java/io/netty/bootstrap/package-info.java
deleted file mode 100644
index 670d2ac62dd..00000000000
--- a/transport/src/test/java/io/netty/bootstrap/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for transport bootstrap
- */
-package io.netty.bootstrap;
diff --git a/transport/src/test/java/io/netty/channel/group/package-info.java b/transport/src/test/java/io/netty/channel/group/package-info.java
deleted file mode 100644
index 84818504716..00000000000
--- a/transport/src/test/java/io/netty/channel/group/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for transport channel group
- */
-package io.netty.channel.group;
diff --git a/transport/src/test/java/io/netty/channel/local/package-info.java b/transport/src/test/java/io/netty/channel/local/package-info.java
deleted file mode 100644
index 9cd900034b3..00000000000
--- a/transport/src/test/java/io/netty/channel/local/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for local transport channel
- */
-package io.netty.channel.local;
diff --git a/transport/src/test/java/io/netty/channel/nio/package-info.java b/transport/src/test/java/io/netty/channel/nio/package-info.java
deleted file mode 100644
index cf80654c3e1..00000000000
--- a/transport/src/test/java/io/netty/channel/nio/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for NIO transport channel
- */
-package io.netty.channel.nio;
diff --git a/transport/src/test/java/io/netty/channel/package-info.java b/transport/src/test/java/io/netty/channel/package-info.java
deleted file mode 100644
index ea5aea35bb7..00000000000
--- a/transport/src/test/java/io/netty/channel/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2013 The Netty Project
- *
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Test classes for transport channel
- */
-package io.netty.channel;