for me it is a +1

I've tested it both with the application we are developing at work, and
with https://github.com/cristcost/sensormix


however, FYI, I have some feedback to report:

1. I have a problem with "Apache ServiceMix :: Examples :: Akka :: Akka
Camel" both on Windows and on Mac, both with
https://repository.apache.org/content/repositories/orgapacheservicemix-1005/
and
also the previous
https://repository.apache.org/content/repositories/orgapacheservicemix-1004/
 anyway the assembly succeeds and I don't care of akka, so for me it is
still a +1 (I was for removing akka from servicemix at all)

2. some of the Spring's artifact (and probably many others) is not
available from Maven Central Repo and this cause me issues when I create a
repo spring features using
org.apache.karaf.tooling:features-maven-plugin:2.3.4:add-features-to-repo
(I'm behind a Artifact Repo Proxy)

The artifacts I don't find are:
org.springframework/org.springframework.aop/3.2.4.RELEASE
org.springframework/org.springframework.beans/3.2.4.RELEASE
org.springframework/org.springframework.context/3.2.4.RELEASE
org.springframework/org.springframework.context.support/3.2.4.RELEASE
org.springframework/org.springframework.core/3.2.4.RELEASE
org.springframework/org.springframework.expression/3.2.4.RELEASE
org.springframework/org.springframework.jdbc/3.2.4.RELEASE
org.springframework/org.springframework.jms/3.2.4.RELEASE
org.springframework/org.springframework.orm/3.2.4.RELEASE
org.springframework/org.springframework.transaction/3.2.4.RELEASE
org.springframework/org.springframework.web/3.2.4.RELEASE
org.springframework/org.springframework.web.servlet/3.2.4.RELEASE

while builiding servicemix, these artifact are resolved
into NameSpringSource Enterprise Bundle Repository - SpringSource Bundle
Releases (id: com.springsource.repository.bundles.release, URL:
http://repository.springsource.com/maven/bundles/release)

it sound weird to me that in maven central repo  it exists a
org.springframework/spring-core/3.2.4.RELEASE artifacts (and any other have
a similar artifact) and I ask myself what is the difference and why those
are required in the spring features....

3. when I build Servicemix 5, it downloads 4 times spring artifacts, for
example spring-core:
Downloaded:
https://maven.alfresco.com/nexus/content/groups/public/org/springframework/spring-core/3.2.5.RELEASE/spring-core-3.2.5.RELEASE.jar(851
KB at 436.2 KB/sec)
Downloaded:
http://repo.maven.apache.org/maven2/org/springframework/spring-core/3.2.5.RELEASE/spring-core-3.2.5.RELEASE.jar(0
B at 0.0 KB/sec)
Downloaded:
http://repo.maven.apache.org/maven2/org/springframework/spring-core/3.0.6.RELEASE/spring-core-3.0.6.RELEASE.jar(374
KB at 615.9 KB/sec)
Downloaded:
http://repository.springsource.com/maven/bundles/release/org/springframework/org.springframework.core/3.2.4.RELEASE/org.springframework.core-3.2.4.RELEASE.jar(861
KB at 258.2 KB/sec)

4. with ServiceMix 5 (but probably it is more due to Karaf 2.3.4), shell
commands are broken and I get the following ClassNotFoundException:
java.lang.ClassNotFoundException:
org.apache.karaf.shell.console.CompletableFunction not found by
id2014-esbdeploy-bundle [229]
        at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)[org.apache.felix.framework-4.0.3.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_51]
        at
org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1723)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:926)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:432)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe.convertStringsToClasses(ServiceRecipe.java:421)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe.getClassesForProxying(ServiceRecipe.java:411)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:292)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:251)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe.getService(ServiceRecipe.java:354)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:507)[8:org.apache.aries.blueprint.core:1.4.0]
        at
org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:219)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:310)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.Felix.getService(Felix.java:3420)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)[org.apache.felix.framework-4.0.3.jar:]
        at
org.apache.karaf.shell.console.completer.CommandsCompleter.unProxy(CommandsCompleter.java:126)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.completer.CommandsCompleter.checkData(CommandsCompleter.java:87)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.completer.CommandsCompleter.complete(CommandsCompleter.java:66)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.jline.CompleterAsCompletor.complete(CompleterAsCompletor.java:32)[15:org.apache.karaf.shell.console:2.3.4]
        at
jline.console.ConsoleReader.complete(ConsoleReader.java:3077)[15:org.apache.karaf.shell.console:2.3.4]
        at
jline.console.ConsoleReader.readLine(ConsoleReader.java:2501)[15:org.apache.karaf.shell.console:2.3.4]
        at
jline.console.ConsoleReader.readLine(ConsoleReader.java:2162)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.jline.Console.readAndParseCommand(Console.java:248)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.jline.Console.run(Console.java:179)[15:org.apache.karaf.shell.console:2.3.4]
        at
org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[15:org.apache.karaf.shell.console:2.3.4]



I hope this could help addressing next efforts :-)

Cristiano

Reply via email to