Repository: gora Updated Branches: refs/heads/master 58df5a4b6 -> 1b20b1072
Excluding package-info.java from test compile because m2e in Eclipse does not support duplicated package-info.java both in main and test. Project: http://git-wip-us.apache.org/repos/asf/gora/repo Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/6e001393 Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/6e001393 Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/6e001393 Branch: refs/heads/master Commit: 6e00139362d75c755f311ffffc2236998aaf237f Parents: 1242a61 Author: Alfonso Nishikawa Muñumer <alfonso.nishik...@gmail.com> Authored: Sun May 28 10:35:48 2017 -0100 Committer: Alfonso Nishikawa Muñumer <alfonso.nishik...@gmail.com> Committed: Sun May 28 10:35:48 2017 -0100 ---------------------------------------------------------------------- pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/gora/blob/6e001393/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f1c1133..f3f3058 100644 --- a/pom.xml +++ b/pom.xml @@ -470,6 +470,22 @@ <!-- executable>{JAVA_HOME_1_7}/bin/javac</executable --> <fork>true</fork> </configuration> + <executions> + <!-- Eclipse do not support duplicated package-info.java, in both main and test. --> + <!-- https://stackoverflow.com/questions/11246223/eclipse-javadoc-the-type-package-info-is-already-defined/35101574#35101574 --> + <execution> + <id>default-testCompile</id> + <phase>test-compile</phase> + <configuration> + <testExcludes> + <exclude>**/package-info.java</exclude> + </testExcludes> + </configuration> + <goals> + <goal>testCompile</goal> + </goals> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>