jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bala Kondepudi <bala.kondep...@gmail.com>
Subject Error when trying to build jackrabbit source
Date Mon, 13 May 2013 13:33:11 GMT
Hi Jackrabbit dev,
I am trying to build Jackrabbit source but seeing below error during this
process.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project jackrabbit-core: Compilation fa
ilure: Compilation failure:[ERROR] \Work\sources\Apache
Jackrabbit\jackrabbit\jackrabbit-core\src\test\java\org\apache\jackrabbit\api\security\user\UserManagerSearchTest.java:[786,15]
reference to addAll is ambiguous, both method addAll(java.util.Collection<?
extends E>) in java.util.Collection<capture#483 of ? super T> and method
addAll(java.util.Collection<? extends E>) in java.util.Set<capture#483 of ?
super T> match [ERROR] \Work\sources\Apache
Jackrabbit\jackrabbit\jackrabbit-core\src\test\java
\org\apache\jackrabbit\api\security\user\UserManagerSearchTest.java:[790,14]
reference to addAll is ambiguous, both method addAll(java.util.Collection<?
extends
 E>) in java.util.Collection<capture#322 of ? super T> and method
addAll(java.util.Collection<? extends E>) in java.util.Set<capture#322 of ?
super T> match
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit

Javac:
c:\Work\sources\Apache Jackrabbit\jackrabbit>javac -J-version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)

Maven:
c:\Work\sources\Apache Jackrabbit\jackrabbit>mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: C:\Softwares\maven\apache-maven-3.0.4\bin\..
Java version: 1.6.0_02, vendor: Sun Microsystems Inc.
Java home: C:\Program Files (x86)\Java\jdk1.6.0_02\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows vista", version: "6.1", arch: "x86", family: "windows"

Can anybody give some pointers on the error?

Regards,
Bala Kondepudi

Mime
View raw message