Hi Okay got a bit further. For some strange reason osgi 4.1.0 is downloaded
E:\workspace\camel\components\camel-core-osgi>mvn clean install -Dtest=false [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.pom Downloaded: http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.pom (193 B at 0.6 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar Downloaded: http://repo.maven.apache.org/maven2/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar (160 KB at 511.6 KB/sec) [INFO] Instead of using 4.3.0 which is what we got in pom.xml. On Tue, Jan 22, 2013 at 10:47 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > I get the same error with a fresh m2 repo. > > > On Tue, Jan 22, 2013 at 10:32 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: >> Hi >> >> Just got this compilation error on my windows box, with latest code >> from trunk, using java 1.7.0_11 >> >> I will trash my m2 repo and try again. Just wanted to share this as a >> concern. >> >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile >> (default-compile) on project camel-core-osgi: Compilation failure: >> Compilation failure: >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[38,40] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[38,111] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[51,28] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[53,32] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[76,28] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[93,28] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[95,37] >> error: type ServiceReference does not take parameters >> [ERROR] >> E:\workspace\camel\components\camel-core-osgi\src\main\java\org\apache\camel\core\osgi\OsgiServiceRegistry.java:[117,24] >> error: type ServiceReference does not take parameters >> >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Email: cib...@redhat.com >> Web: http://fusesource.com >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cib...@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen