Hi, I would like to know if SMX users have also problems to use bundles from Springsource repository.
I have added the location of the maven repository in the file etc/org.ops4j.pax.mvn.cfg like this : org.ops4j.pax.url.mvn.repositories=http://repository.springsource.com/maven/bundles/release but when I try to download the following bundle (defined in my feature.xml file), <bundle>mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0</bundle> SMX does not find the bundle. Here is the trace : 13:13:22,132 | DEBUG | localShell | FeaturesServiceImpl | res.internal.FeaturesServiceImpl 194 | Checking mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0 13:13:22,132 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 143 | Resolving [mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0] 13:13:22,132 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [file:D:/Dvlpt/Java/workspace-ganymede/esb/apache-servicemix-kernel-1.2.0-SNAPSHOT/system/,releases=true,snapshots=true] 13:13:22,132 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,132 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 147 | Possible default download locations for [mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0] 13:13:22,132 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 150 | Version [1.3.0] from URL [file:D:/Dvlpt/Java/workspace-ganymede/esb/apache-servicemix-kernel-1.2.0-SNAPSHOT/system/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,132 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 155 | Downloading [Version [1.3.0] from URL [file:D:/Dvlpt/Java/workspace-ganymede/esb/apache-servicemix-kernel-1.2.0-SNAPSHOT/system/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,132 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 164 | Could not download [Version [1.3.0] from URL [file:D:/Dvlpt/Java/workspace-ganymede/esb/apache-servicemix-kernel-1.2.0-SNAPSHOT/system/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,148 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 165 | Reason [java.io.FileNotFoundException: D:\Dvlpt\Java\workspace-ganymede\esb\apache-servicemix-kernel-1.2.0-SNAPSHOT\system\net\sourceforge\ehcache\com.springsource.net.sf.ehcache\1.3.0\com.springsource.net.sf.ehcache-1.3.0.jar (The system cannot find the path specified)] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [file:/c:/.m2/repository/,releases=true,snapshots=true] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://repository.springsource.com/maven/bundles/release/,releases=true,snapshots=false] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://people.apache.org/repo/m2-snapshot-repository/,releases=false,snapshots=true] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 298 | Skipping repository [http://people.apache.org/repo/m2-snapshot-repository/,releases=false,snapshots=true], reason: Releases not enabled 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://repo1.maven.org/maven2/,releases=true,snapshots=false] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://repo.open.iona.com/maven2-snapshot/,releases=false,snapshots=true] 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 298 | Skipping repository [http://repo.open.iona.com/maven2-snapshot/,releases=false,snapshots=true], reason: Releases not enabled 13:13:22,148 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://repository.ops4j.org/maven2/,releases=true,snapshots=false] 13:13:22,163 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,163 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://svn.apache.org/repos/asf/servicemix/m2-repo/,releases=true,snapshots=false] 13:13:22,163 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,163 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 257 | Collecting versions from repository [http://repo.open.iona.com/maven2/,releases=true,snapshots=false] 13:13:22,163 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 375 | Resolving exact version 13:13:22,163 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 171 | Possible download locations for [mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0] 13:13:22,163 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [file:/c:/.m2/repository/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,163 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [http://repository.springsource.com/maven/bundles/release/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,163 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [http://repo1.maven.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,163 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [http://repository.ops4j.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,179 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [http://svn.apache.org/repos/asf/servicemix/m2-repo/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,179 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 174 | Version [1.3.0] from URL [http://repo.open.iona.com/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,179 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [file:/c:/.m2/repository/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,179 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [file:/c:/.m2/repository/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,179 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: c:\.m2\repository\net\sourceforge\ehcache\com.springsource.net.sf.ehcache\1.3.0\com.springsource.net.sf.ehcache-1.3.0.jar (The system cannot find the path specified)] 13:13:22,179 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [http://repository.springsource.com/maven/bundles/release/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,663 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [http://repository.springsource.com/maven/bundles/release/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,663 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: http://repository.springsource.com/maven/bundles/release/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,663 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [http://repo1.maven.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,991 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [http://repo1.maven.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:22,991 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: http://repo1.maven.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:22,991 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [http://repository.ops4j.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:23,101 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [http://repository.ops4j.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:23,101 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: http://repository.ops4j.org/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:23,101 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [http://svn.apache.org/repos/asf/servicemix/m2-repo/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:23,710 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [http://svn.apache.org/repos/asf/servicemix/m2-repo/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:23,710 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: http://svn.apache.org/repos/asf/servicemix/m2-repo/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:23,710 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 179 | Downloading [Version [1.3.0] from URL [http://repo.open.iona.com/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:24,054 | DEBUG | localShell | Connection | .pax.url.mvn.internal.Connection 188 | Could not download [Version [1.3.0] from URL [http://repo.open.iona.com/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar]] 13:13:24,054 | TRACE | localShell | Connection | .pax.url.mvn.internal.Connection 189 | Reason [java.io.FileNotFoundException: http://repo.open.iona.com/maven2/net/sourceforge/ehcache/com.springsource.net.sf.ehcache/1.3.0/com.springsource.net.sf.ehcache-1.3.0.jar] 13:13:24,054 | TRACE | localShell | StatefulCommand | ll.wisdom.command.CommandSupport 329 | Caught: java.lang.RuntimeException: URL [mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0] could not be resolved. (enable TRACE logging for details) java.lang.RuntimeException: URL [mvn:net.sourceforge.ehcache/com.springsource.net.sf.ehcache/1.3.0] could not be resolved. (enable TRACE logging for details) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:193) at java.net.URL.openStream(URL.java:1009) at org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:195) at org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:182) at org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:156) at org.apache.servicemix.kernel.gshell.features.commands.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:33) at org.apache.servicemix.kernel.gshell.features.commands.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39) at org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport.execute(OsgiCommandSupport.java:48) at org.apache.geronimo.gshell.wisdom.command.CommandSupport.executeAction(CommandSupport.java:303) at org.apache.geronimo.gshell.wisdom.command.StatefulCommand.executeAction(StatefulCommand.java:94) at org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:194) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy22.execute(Unknown Source) at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:127) at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:106) at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor$1.run(ExecutingVisitor.java:208) at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:231) at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:107) at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17) at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:61) at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:90) at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17) at org.apache.geronimo.gshell.wisdom.shell.CommandLineBuilderImpl$1.execute(CommandLineBuilderImpl.java:96) at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:71) at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.execute(ShellImpl.java:172) at org.apache.geronimo.gshell.wisdom.shell.ShellImpl$2.execute(ShellImpl.java:208) at org.apache.geronimo.gshell.console.Console.work(Console.java:187) at org.apache.geronimo.gshell.console.Console.run(Console.java:128) at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:252) at org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrapper.java:81) at org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsole.java:125) at java.lang.Thread.run(Thread.java:619) Regards ----- Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/Is-there-issue-with-Springsource-Repository-to-dowload-bundle---tp22619213p22619213.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
