Hi Glen! At present, Camel is not running with Java 7. I opened a ticket for this today, because it's a MUST for Camel 2.10.0 in my opinion... https://issues.apache.org/jira/browse/CAMEL-4955
Best, Christian On Mon, Jan 30, 2012 at 6:33 PM, Glen Mazza <gma...@talend.com> wrote: > Hi, mvn install -Pfastinstall on Camel trunk (just checked out an hour or > two ago) is failing with this project: [INFO] Camel :: Test Blueprint > ........................... FAILURE [2.697s] > > This is the source file & class (org.osgi.framework.**ServiceReference) > it's unhappy about: > http://svn.apache.or4g/viewvc/**camel/trunk/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java?view=markup#l227<http://svn.apache.org/viewvc/camel/trunk/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java?view=markup#l227> > > Error message: > [ERROR] Failed to execute goal org.apache.maven.plugins:** > maven-compiler-plugin:2.3.2:**compile (default-compile) on project > camel-test-blueprint: Compilation failure: Compilation failure: > [ERROR] /media/Ext4Data/opensource/**CAMEL-TRNK/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java:[227,80] error: type ServiceReference > does not take parameters > [ERROR] /media/Ext4Data/opensource/**CAMEL-TRNK/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java:[227,46] error: type ServiceReference > does not take parameters > [ERROR] /media/Ext4Data/opensource/**CAMEL-TRNK/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java:[190,37] error: type ServiceReference > does not take parameters > [ERROR] /media/Ext4Data/opensource/**CAMEL-TRNK/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java:[194,37] error: type ServiceReference > does not take parameters > [ERROR] /media/Ext4Data/opensource/**CAMEL-TRNK/components/camel-** > test-blueprint/src/main/java/**org/apache/camel/test/**blueprint/** > CamelBlueprintTestSupport.**java:[228,67] error: type ServiceReference > does not take parameters > > I'm using JDK 7 to build. Could that be the problem? > > Regards, > Glen > > -- > Glen Mazza > Talend Community Coders - coders.talend.com > blog: www.jroller.com/gmazza > >