New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "NoClassDefFoundError" on ClassRealm during P2 resolve #8

Open
reyman opened this Issue Jul 5, 2016 · 21 comments

Comments

Projects
None yet
2 participants
@reyman

reyman commented Jul 5, 2016

Hi,
I have some problem using latest version of sbt-osgi-manager, i dont know if it's a problem with tycho or problem on the update site :/

import sbt.dependency.manager._
import sbt.osgi.manager._

DependencyManager

OSGiManagerWithDebug()

scalaVersion := "2.11.8"

resolvers in OSGiConf += typeP2("Eclipse Mars p2 update site" at "http://download.eclipse.org/releases/mars/")
resolvers in OSGiConf += typeP2("GAMA update site" at "http://vps226121.ovh.net/updates/")
resolvers in OSGiConf += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies in OSGiConf += typeP2(OSGi.ECLIPSE_PLUGIN % "msi.gama.headless" % OSGi.ANY_VERSION withSources)
libraryDependencies in OSGiConf += typeP2(OSGi.ECLIPSE_PLUGIN % "org.eclipse.ui" % OSGi.ANY_VERSION withSources)

Here the error :

➜  gama-plugin-codingcamp2016 git:(osgimanager) ✗ sbt           
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/gama-plugin-codingcamp2016/project
[info] Updating default:gama-plugin-codingcamp2016-build:0.1-SNAPSHOT
[info] Resolved default:gama-plugin-codingcamp2016-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:gama-plugin-codingcamp2016-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:gama-plugin-codingcamp2016-build:0.1-SNAPSHOT
[info] Set current project to gama-plugin-codingcamp2016 (in build file:/home/reyman/Projets/gama-plugin-codingcamp2016/)
> osgiResolve
[info] [OSGi manager:gama-plugin-codingcamp2016] Resolve P2 dependencies
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)

        ....

        [error] java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
        [error] Use 'last' for the full log.

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 5, 2016

I found the error ...

It's seem there is an incompability with coursier plugin in sbt : https://github.com/alexarchambault/coursier

Don't know if the problem is linked to coursier or osgi-manager, any idea ?

reyman commented Jul 5, 2016

I found the error ...

It's seem there is an incompability with coursier plugin in sbt : https://github.com/alexarchambault/coursier

Don't know if the problem is linked to coursier or osgi-manager, any idea ?

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 5, 2016

Contributor

First of all the latest version is 0.4.1.5?

Some jars contain copy of 3rd party libraries (part of official OSGi code or other vital parts). Like aspectjtools jar with org.osgi.framework code. I write https://github.com/digimead/sbt-osgi-manager/blob/master/src/main/scala/sbt/osgi/manager/support/PluginClassLoader.scala for such cases.

Please provide your string for coursier plugin. (addSbtPlugin(blablabla)) I'll add it to test case.

Contributor

ezh commented Jul 5, 2016

First of all the latest version is 0.4.1.5?

Some jars contain copy of 3rd party libraries (part of official OSGi code or other vital parts). Like aspectjtools jar with org.osgi.framework code. I write https://github.com/digimead/sbt-osgi-manager/blob/master/src/main/scala/sbt/osgi/manager/support/PluginClassLoader.scala for such cases.

Please provide your string for coursier plugin. (addSbtPlugin(blablabla)) I'll add it to test case.

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 5, 2016

Yes, this is the 0.4.1.5

In file ~/.sbt.0.13/plugins/plugins.sbt i have :

resolvers += Resolver.sonatypeRepo("snapshots")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-SNAPSHOT")

reyman commented Jul 5, 2016

Yes, this is the 0.4.1.5

In file ~/.sbt.0.13/plugins/plugins.sbt i have :

resolvers += Resolver.sonatypeRepo("snapshots")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-SNAPSHOT")

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

I am unable to reproduce error :-(
Please checkout coursier branch and run test.
There is only one https://github.com/digimead/sbt-osgi-manager/tree/coursier/src/sbt-test/osgi-manager/workWithPluginCoursier

Contributor

ezh commented Jul 6, 2016

I am unable to reproduce error :-(
Please checkout coursier branch and run test.
There is only one https://github.com/digimead/sbt-osgi-manager/tree/coursier/src/sbt-test/osgi-manager/workWithPluginCoursier

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Hi, here the result :(

[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Updating {file:/home/reyman/.sbt/0.13/plugins/}global-plugins...
[info] Resolving io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17:36:11 
CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT
[info] Resolving io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17:35:56
 CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT
[info] Resolving io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17
:36:09 CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCou
rsier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/work
WithPluginCoursier/)
> test
[info] Updating simple:simple_2.10:1.0.0.0-SNAPSHOT
https://repo1.maven.org/maven2/biz/aQute/bndlib/2.0.0.20130123-133441/bndlib-2.0.0.20130123-133441.pom
  100,0% [##########] 1,9 KiB (7,4 KiB / s)
https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.pom
  100,0% [##########] 1,4 KiB (4,9 KiB / s)
https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.pom
  100,0% [##########] 747 B (5,0 KiB / s)
https://repo1.maven.org/maven2/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.pom
  100,0% [##########] 1,4 KiB (10,5 KiB / s)
[info] Resolved simple:simple_2.10:1.0.0.0-SNAPSHOT dependencies
[info] Fetching artifacts of simple:simple_2.10:1.0.0.0-SNAPSHOT
https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.jar
  100,0% [##########] 32,3 KiB (83,8 KiB / s)
https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar
  100,0% [##########] 117,8 KiB (51,7 KiB / s)
https://repo1.maven.org/maven2/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.jar
  100,0% [##########] 420,3 KiB (79,1 KiB / s)
https://repo1.maven.org/maven2/biz/aQute/bndlib/2.0.0.20130123-133441/bndlib-2.0.0.20130123-133441.jar
  100,0% [##########] 1,2 MiB (109,3 KiB / s)
[info] Fetched artifacts of simple:simple_2.10:1.0.0.0-SNAPSHOT
[info] Compiling 1 Scala source to /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursie
r/target/scala-2.10/classes...
[error] /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/src/main/scala/Hello.scal
a:3: object eclipse is not a member of package org
[error]      assert(org.eclipse.core.runtime.adaptor.EclipseStarter.PROP_BUNDLES != null)
[error]                 ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 13 s, completed 6 juil. 2016 10:29:01

reyman commented Jul 6, 2016

Hi, here the result :(

[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Updating {file:/home/reyman/.sbt/0.13/plugins/}global-plugins...
[info] Resolving io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17:36:11 
CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#sbt-coursier;1.0.0-SNAPSHOT
[info] Resolving io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17:35:56
 CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#coursier_2.10;1.0.0-SNAPSHOT
[info] Resolving io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT ...
[warn] Unable to reparse io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT from sonatype-snapshots, using Sat Jul 02 17
:36:09 CEST 2016
[warn] Choosing sonatype-snapshots for io.get-coursier#coursier-cache_2.10;1.0.0-SNAPSHOT
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCou
rsier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/work
WithPluginCoursier/)
> test
[info] Updating simple:simple_2.10:1.0.0.0-SNAPSHOT
https://repo1.maven.org/maven2/biz/aQute/bndlib/2.0.0.20130123-133441/bndlib-2.0.0.20130123-133441.pom
  100,0% [##########] 1,9 KiB (7,4 KiB / s)
https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.pom
  100,0% [##########] 1,4 KiB (4,9 KiB / s)
https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.pom
  100,0% [##########] 747 B (5,0 KiB / s)
https://repo1.maven.org/maven2/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.pom
  100,0% [##########] 1,4 KiB (10,5 KiB / s)
[info] Resolved simple:simple_2.10:1.0.0.0-SNAPSHOT dependencies
[info] Fetching artifacts of simple:simple_2.10:1.0.0.0-SNAPSHOT
https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.3/jsr305-2.0.3.jar
  100,0% [##########] 32,3 KiB (83,8 KiB / s)
https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar
  100,0% [##########] 117,8 KiB (51,7 KiB / s)
https://repo1.maven.org/maven2/org/osgi/org.osgi.core/5.0.0/org.osgi.core-5.0.0.jar
  100,0% [##########] 420,3 KiB (79,1 KiB / s)
https://repo1.maven.org/maven2/biz/aQute/bndlib/2.0.0.20130123-133441/bndlib-2.0.0.20130123-133441.jar
  100,0% [##########] 1,2 MiB (109,3 KiB / s)
[info] Fetched artifacts of simple:simple_2.10:1.0.0.0-SNAPSHOT
[info] Compiling 1 Scala source to /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursie
r/target/scala-2.10/classes...
[error] /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/src/main/scala/Hello.scal
a:3: object eclipse is not a member of package org
[error]      assert(org.eclipse.core.runtime.adaptor.EclipseStarter.PROP_BUNDLES != null)
[error]                 ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 13 s, completed 6 juil. 2016 10:29:01

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

1 as you may see this branch was compiled on Travis and the test was successfully passed.
2 no no no. You try to compile without osgiResolve. It is fine.
3 look at .travis.yml
You must test osgiResolve - there was NoClassDefFoundError
Run test with scripted like

    sbt 'set scriptedLaunchOpts := Seq("-Xms384m", "-Xmx384m", "-XX:MaxPermSize=128m")' scripted
Contributor

ezh commented Jul 6, 2016

1 as you may see this branch was compiled on Travis and the test was successfully passed.
2 no no no. You try to compile without osgiResolve. It is fine.
3 look at .travis.yml
You must test osgiResolve - there was NoClassDefFoundError
Run test with scripted like

    sbt 'set scriptedLaunchOpts := Seq("-Xms384m", "-Xmx384m", "-XX:MaxPermSize=128m")' scripted
@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

Or run osgiResolve yourself. There must be an exception with NoClassDefFoundError.
I need the test case to catch this error.

Contributor

ezh commented Jul 6, 2016

Or run osgiResolve yourself. There must be an exception with NoClassDefFoundError.
I need the test case to catch this error.

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Ok sorry, i misunderstand, i run the test correctly with your command and i post result here

reyman commented Jul 6, 2016

Ok sorry, i misunderstand, i run the test correctly with your command and i post result here

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Using scripted i have :

Running osgi-manager / workWithPluginCoursier
[error] x osgi-manager / workWithPluginCoursier
[error]    {line 2}  Command succeeded but failure was expected
java.lang.RuntimeException: Failed tests:
        osgi-manager / workWithPluginCoursier

        at scala.sys.package$.error(package.scala:27)
        at sbt.test.ScriptedRunner.runAll(ScriptedTests.scala:156)
        at sbt.test.ScriptedRunner.run(ScriptedTests.scala:151)
        at sbt.test.ScriptedRunner.run(ScriptedTests.scala:125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:61)
        at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:57)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (*:scripted) Failed tests:
[error]         osgi-manager / workWithPluginCoursier
[error] Total time: 86 s, completed 6 juil. 2016 10:57:28

Using directly osgiResolve on src/sbt-test/osgi-manager/workWithPluginCoursier :

> osgiResolve
[info] [OSGi manager:Simple] Resolve P2 dependencies
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)                                                                                 [56/814]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at sbt.osgi.manager.support.PluginClassLoader$$anonfun$6.apply(PluginClassLoader.scala:65)
        at sbt.osgi.manager.support.PluginClassLoader$$anonfun$6.apply(PluginClassLoader.scala:56)
        at scala.Option.getOrElse(Option.scala:120)
        at sbt.osgi.manager.support.PluginClassLoader.loadClass(PluginClassLoader.scala:55)
        at sbt.osgi.manager.support.PluginClassLoader.loadClass(PluginClassLoader.scala:34)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)

       at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)                                                            [0/814]
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm

reyman commented Jul 6, 2016

Using scripted i have :

Running osgi-manager / workWithPluginCoursier
[error] x osgi-manager / workWithPluginCoursier
[error]    {line 2}  Command succeeded but failure was expected
java.lang.RuntimeException: Failed tests:
        osgi-manager / workWithPluginCoursier

        at scala.sys.package$.error(package.scala:27)
        at sbt.test.ScriptedRunner.runAll(ScriptedTests.scala:156)
        at sbt.test.ScriptedRunner.run(ScriptedTests.scala:151)
        at sbt.test.ScriptedRunner.run(ScriptedTests.scala:125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:61)
        at sbt.ScriptedPlugin$$anonfun$scriptedTask$1$$anonfun$apply$3$$anonfun$apply$4.apply(ScriptedPlugin.scala:57)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (*:scripted) Failed tests:
[error]         osgi-manager / workWithPluginCoursier
[error] Total time: 86 s, completed 6 juil. 2016 10:57:28

Using directly osgiResolve on src/sbt-test/osgi-manager/workWithPluginCoursier :

> osgiResolve
[info] [OSGi manager:Simple] Resolve P2 dependencies
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)                                                                                 [56/814]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at sbt.osgi.manager.support.PluginClassLoader$$anonfun$6.apply(PluginClassLoader.scala:65)
        at sbt.osgi.manager.support.PluginClassLoader$$anonfun$6.apply(PluginClassLoader.scala:56)
        at scala.Option.getOrElse(Option.scala:120)
        at sbt.osgi.manager.support.PluginClassLoader.loadClass(PluginClassLoader.scala:55)
        at sbt.osgi.manager.support.PluginClassLoader.loadClass(PluginClassLoader.scala:34)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:126)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:151)

       at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:149)                                                            [0/814]
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:149)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

[error] {line 2} Command succeeded but failure was expected
There is target/osgi directory exists(it was created when you run osgiResolve manualy).
Line 2 of test file. Delete it before launch sbt test.

Plugin lost plexus-classworlds-2.5.2.jar in your environment.

I add

  val cl = getClass.getClassLoader.asInstanceOf[PluginClassLoader]
  print("\n\nINTERNAL:\n\n")
  print(cl.internal.mkString("\n"))
  print("\n\nEXTERNAL:\n\n")
  print(cl.external.mkString("\n"))
  val plex = cl.internal.find(_.toString().contains("plexus-classworlds")).get
  val testCL = new URLClassLoader(Array(plex))
  println("\n\nLOADED WITH TEST LOADER " + testCL.loadClass("org.codehaus.plexus.classworlds.realm.ClassRealm"))

to sbt.osgi.manager.tycho.Resolve.resolveP2

What is your output?

My output is

[info]
[info] INTERNAL:
[info]
[info] file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
[info] file:/home/ezh/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar
[info]
[info] EXTERNAL:
[info]
[info] file:/home/ezh/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
[info] file:/home/ezh/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
[info] file:/home/ezh/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
[info] file:/home/ezh/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
[info] file:/home/ezh/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
[info] file:/home/ezh/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
[info] file:/home/ezh/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
[info] file:/home/ezh/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
[info]
[info] LOADED WITH TEST LOADER class org.codehaus.plexus.classworlds.realm.ClassRealm

Contributor

ezh commented Jul 6, 2016

[error] {line 2} Command succeeded but failure was expected
There is target/osgi directory exists(it was created when you run osgiResolve manualy).
Line 2 of test file. Delete it before launch sbt test.

Plugin lost plexus-classworlds-2.5.2.jar in your environment.

I add

  val cl = getClass.getClassLoader.asInstanceOf[PluginClassLoader]
  print("\n\nINTERNAL:\n\n")
  print(cl.internal.mkString("\n"))
  print("\n\nEXTERNAL:\n\n")
  print(cl.external.mkString("\n"))
  val plex = cl.internal.find(_.toString().contains("plexus-classworlds")).get
  val testCL = new URLClassLoader(Array(plex))
  println("\n\nLOADED WITH TEST LOADER " + testCL.loadClass("org.codehaus.plexus.classworlds.realm.ClassRealm"))

to sbt.osgi.manager.tycho.Resolve.resolveP2

What is your output?

My output is

[info]
[info] INTERNAL:
[info]
[info] file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
[info] file:/home/ezh/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
[info] file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
[info] file:/home/ezh/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar
[info]
[info] EXTERNAL:
[info]
[info] file:/home/ezh/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
[info] file:/home/ezh/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
[info] file:/home/ezh/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
[info] file:/home/ezh/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
[info] file:/home/ezh/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
[info] file:/home/ezh/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
[info] file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
[info] file:/home/ezh/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
[info] file:/home/ezh/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
[info] file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
[info] file:/home/ezh/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
[info]
[info] LOADED WITH TEST LOADER class org.codehaus.plexus.classworlds.realm.ClassRealm

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Manual osgiResolve failed :

➜  workWithPluginCoursier git:(coursier) sbt 
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
       at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get
[error] Use 'last' for the full log.

But scripted test success

[info] INTERNAL:
[info] 
[info] file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
[info] file:/home/reyman/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar

[info] 
[info] EXTERNAL:
[info] 
[info] file:/home/reyman/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
[info] file:/home/reyman/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
[info] file:/home/reyman/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
[info] file:/home/reyman/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
[info] file:/home/reyman/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
[info] file:/home/reyman/.ivy2/cache/org.digimead/digi-sbt-util_2.10/jars/digi-sbt-util_2.10-0.2.0.0.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
[info] file:/home/reyman/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
[info] file:/home/reyman/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
[info] file:/home/reyman/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
[info] 
[info] LOADED WITH TEST LOADER class org.codehaus.plexus.classworlds.realm.ClassRealm


reyman commented Jul 6, 2016

Manual osgiResolve failed :

➜  workWithPluginCoursier git:(coursier) sbt 
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
       at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get
[error] Use 'last' for the full log.

But scripted test success

[info] INTERNAL:
[info] 
[info] file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
[info] file:/home/reyman/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
[info] file:/home/reyman/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
[info] file:/home/reyman/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar

[info] 
[info] EXTERNAL:
[info] 
[info] file:/home/reyman/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
[info] file:/home/reyman/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
[info] file:/home/reyman/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
[info] file:/home/reyman/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
[info] file:/home/reyman/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
[info] file:/home/reyman/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
[info] file:/home/reyman/.ivy2/cache/org.digimead/digi-sbt-util_2.10/jars/digi-sbt-util_2.10-0.2.0.0.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
[info] file:/home/reyman/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
[info] file:/home/reyman/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
[info] file:/home/reyman/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
[info] file:/home/reyman/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
[info] file:/home/reyman/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
[info] 
[info] LOADED WITH TEST LOADER class org.codehaus.plexus.classworlds.realm.ClassRealm


@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

Absolutely mystical situation.
You lost dependencies at the specific condition.
I get list of project dependencies from here
Then I simply drop redundant jars.
You output looks like SBT lost most of the plugin dependencies.

My output of all jars from sbt.PluginManagement$PluginClassLoader classloader:
I mark with bold one that will be filtered.
Please update branch and show you class dependencies from sbt.PluginManagement$PluginClassLoader

osgiResolve

class sbt.PluginManagement$PluginClassLoader

file:/home/ezh/projects/my.maven.mirror/mavenmirror/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SNAPSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/scala_2.10/sbt_0.13/io.get-coursier/sbt-coursier/jars/sbt-coursier-1.0.0-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/io.get-coursier/coursier_2.10/jars/coursier_2.10-1.0.0-SNAPSHOT.jar
file:/home/ezh/.sbt/boot/scala-2.10.6/lib/scala-library.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-core_2.10/bundles/scalaz-core_2.10-7.1.2.jar
file:/home/ezh/.ivy2/cache/org.jsoup/jsoup/jars/jsoup-1.9.2.jar
file:/home/ezh/.ivy2/cache/io.get-coursier/coursier-cache_2.10/jars/coursier-cache_2.10-1.0.0-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-concurrent_2.10/bundles/scalaz-concurrent_2.10-7.1.2.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-effect_2.10/bundles/scalaz-effect_2.10-7.1.2.jar
file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/ezh/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.core/jars/org.osgi.core-6.0.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
file:/home/ezh/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
file:/home/ezh/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/ezh/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
file:/home/ezh/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
file:/home/ezh/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
file:/home/ezh/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
file:/home/ezh/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
file:/home/ezh/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
file:/home/ezh/projects/my.maven.mirror/mavenmirror/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.10-0.2.0.0.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
file:/home/ezh/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
file:/home/ezh/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
file:/home/ezh/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
file:/home/ezh/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.enterprise/jars/org.osgi.enterprise-5.0.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.annotation/jars/org.osgi.annotation-6.0.0.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
file:/home/ezh/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
file:/home/ezh/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar

Contributor

ezh commented Jul 6, 2016

Absolutely mystical situation.
You lost dependencies at the specific condition.
I get list of project dependencies from here
Then I simply drop redundant jars.
You output looks like SBT lost most of the plugin dependencies.

My output of all jars from sbt.PluginManagement$PluginClassLoader classloader:
I mark with bold one that will be filtered.
Please update branch and show you class dependencies from sbt.PluginManagement$PluginClassLoader

osgiResolve

class sbt.PluginManagement$PluginClassLoader

file:/home/ezh/projects/my.maven.mirror/mavenmirror/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SNAPSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/scala_2.10/sbt_0.13/io.get-coursier/sbt-coursier/jars/sbt-coursier-1.0.0-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/io.get-coursier/coursier_2.10/jars/coursier_2.10-1.0.0-SNAPSHOT.jar
file:/home/ezh/.sbt/boot/scala-2.10.6/lib/scala-library.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-core_2.10/bundles/scalaz-core_2.10-7.1.2.jar
file:/home/ezh/.ivy2/cache/org.jsoup/jsoup/jars/jsoup-1.9.2.jar
file:/home/ezh/.ivy2/cache/io.get-coursier/coursier-cache_2.10/jars/coursier-cache_2.10-1.0.0-SNAPSHOT.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-concurrent_2.10/bundles/scalaz-concurrent_2.10-7.1.2.jar
file:/home/ezh/.ivy2/cache/org.scalaz/scalaz-effect_2.10/bundles/scalaz-effect_2.10-7.1.2.jar
file:/home/ezh/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/ezh/.ivy2/cache/biz.aQute.bnd/bndlib/jars/bndlib-2.3.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.core/jars/org.osgi.core-6.0.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-aether-provider/jars/maven-aether-provider-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.22.jar
file:/home/ezh/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.4.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-model-builder/jars/maven-model-builder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-interpolation/jars/plexus-interpolation-1.21.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.6.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-builder-support/jars/maven-builder-support-3.3.9.jar
file:/home/ezh/.ivy2/cache/com.google.guava/guava/bundles/guava-18.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-repository-metadata/jars/maven-repository-metadata-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-impl/jars/aether-impl-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-api/jars/aether-api-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-spi/jars/aether-spi-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-util/jars/aether-util-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-compat/jars/maven-compat-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings/jars/maven-settings-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-core/jars/maven-core-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-settings-builder/jars/maven-settings-builder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-sec-dispatcher/jars/plexus-sec-dispatcher-1.3.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/ezh/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar
file:/home/ezh/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar
file:/home/ezh/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar
file:/home/ezh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.2.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar
file:/home/ezh/.ivy2/cache/com.google.inject/guice/jars/guice-4.0-no_aop.jar
file:/home/ezh/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.maven.wagon/wagon-provider-api/jars/wagon-provider-api-2.10.jar
file:/home/ezh/.ivy2/cache/org.apache.maven/maven-embedder/jars/maven-embedder-3.3.9.jar
file:/home/ezh/.ivy2/cache/org.sonatype.plexus/plexus-cipher/jars/plexus-cipher-1.7.jar
file:/home/ezh/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar
file:/home/ezh/projects/my.maven.mirror/mavenmirror/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.10-0.2.0.0.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.1.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.1.jar
file:/home/ezh/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.1.jar
file:/home/ezh/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.21.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-core/jars/tycho-core-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-archiver/jars/plexus-archiver-2.9.1.jar
file:/home/ezh/.ivy2/cache/org.codehaus.plexus/plexus-io/jars/plexus-io-2.4.1.jar
file:/home/ezh/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar
file:/home/ezh/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.9.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi.compatibility.state/jars/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-embedder/jars/sisu-equinox-embedder-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.osgi/jars/org.eclipse.osgi-3.10.101.v20150820-1432.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/sisu-equinox-api/jars/sisu-equinox-api-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-metadata-model/jars/tycho-metadata-model-0.25.0.jar
file:/home/ezh/.ivy2/cache/de.pdark/decentxml/jars/decentxml-1.3.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-embedder-api/jars/tycho-embedder-api-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.embedder.shared/eclipse-plugins/org.eclipse.tycho.embedder.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.core.shared/eclipse-plugins/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/tycho-p2-facade/jars/tycho-p2-facade-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.resolver.shared/eclipse-plugins/org.eclipse.tycho.p2.resolver.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.tycho/org.eclipse.tycho.p2.tools.shared/eclipse-plugins/org.eclipse.tycho.p2.tools.shared-0.25.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.enterprise/jars/org.osgi.enterprise-5.0.0.jar
file:/home/ezh/.ivy2/cache/org.osgi/org.osgi.annotation/jars/org.osgi.annotation-6.0.0.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-impl/jars/aether-impl-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-api/jars/aether-api-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-spi/jars/aether-spi-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.sonatype.aether/aether-util/jars/aether-util-1.13.1.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-wagon/jars/aether-transport-wagon-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-connector-basic/jars/aether-connector-basic-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-file/jars/aether-transport-file-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.eclipse.aether/aether-transport-http/jars/aether-transport-http-1.1.0.jar
file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.3.5.jar
file:/home/ezh/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.3.2.jar
file:/home/ezh/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.6.jar
file:/home/ezh/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.2.jar

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

I pull and rerun osgiResolve, but i have the same error on :

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)

I rerun the scripted test

reyman commented Jul 6, 2016

I pull and rerun osgiResolve, but i have the same error on :

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)

I rerun the scripted test

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

And what text is above file:/home/reyman/.coursier/cache/v1/https/rep line?

osgiResolve

class sbt.PluginManagement$PluginClassLoader

Do you have some crazy class loader?? Why SBT show only one jar????

Contributor

ezh commented Jul 6, 2016

And what text is above file:/home/reyman/.coursier/cache/v1/https/rep line?

osgiResolve

class sbt.PluginManagement$PluginClassLoader

Do you have some crazy class loader?? Why SBT show only one jar????

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

class sbt.PluginManagement$PluginClassLoader this line is important for me. Do you have different class loader?

Contributor

ezh commented Jul 6, 2016

class sbt.PluginManagement$PluginClassLoader this line is important for me. Do you have different class loader?

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Here the result :

➜  workWithPluginCoursier git:(coursier) sbt
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve


class sbt.PluginManagement$PluginClassLoader

file:/home/reyman/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm/5.1/asm-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.10/7.1.2/scalaz-concurrent_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/7.1.2/scalaz-core_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.
compatibility.state-1.0.100.v20150402-1551.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/3.3.9/maven-plugin-api-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/biz/aQute/bnd/bndlib/2.3.0/bndlib-2.3.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.tools.shared/0.25.0/org.eclipse.tycho.p2.tools.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SN
APSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-
1432.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-file/1.1.0/aether-transport-file-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.10/7.1.2/scalaz-effect_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-connector-basic/1.1.0/aether-connector-basic-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/sbt-coursier_2.10_0.13/1.0.0-SNAPSHOT/sbt-coursier-1.0
.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-wagon/1.1.0/aether-transport-wagon-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier-cache_2.10/1.0.0-SNAPSHOT/coursier-cache_2.10
-1.0.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.25.0/org.eclipse.tycho.p2.resolver.sha
red-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier_2.10/1.0.0-SNAPSHOT/coursier_2.10-1.0.0-SNAPS
HOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.annotation/6.0.0/org.osgi.annotation-6.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.
10-0.2.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-p2-facade/0.25.0/tycho-p2-facade-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-embedder/3.3.9/maven-embedder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-http/1.1.0/aether-transport-http-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.2/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/de/pdark/decentxml/1.3/decentxml-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
       at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get

reyman commented Jul 6, 2016

Here the result :

➜  workWithPluginCoursier git:(coursier) sbt
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve


class sbt.PluginManagement$PluginClassLoader

file:/home/reyman/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm/5.1/asm-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.10/7.1.2/scalaz-concurrent_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/7.1.2/scalaz-core_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.
compatibility.state-1.0.100.v20150402-1551.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/3.3.9/maven-plugin-api-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/biz/aQute/bnd/bndlib/2.3.0/bndlib-2.3.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.tools.shared/0.25.0/org.eclipse.tycho.p2.tools.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SN
APSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-
1432.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-file/1.1.0/aether-transport-file-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.10/7.1.2/scalaz-effect_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-connector-basic/1.1.0/aether-connector-basic-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/sbt-coursier_2.10_0.13/1.0.0-SNAPSHOT/sbt-coursier-1.0
.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-wagon/1.1.0/aether-transport-wagon-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier-cache_2.10/1.0.0-SNAPSHOT/coursier-cache_2.10
-1.0.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.25.0/org.eclipse.tycho.p2.resolver.sha
red-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier_2.10/1.0.0-SNAPSHOT/coursier_2.10-1.0.0-SNAPS
HOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.annotation/6.0.0/org.osgi.annotation-6.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.
10-0.2.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-p2-facade/0.25.0/tycho-p2-facade-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-embedder/3.3.9/maven-embedder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-http/1.1.0/aether-transport-http-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.2/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/de/pdark/decentxml/1.3/decentxml-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
       at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

Coursier use a different repository (.coursier) it seems, so it's probably that the problem no ?

reyman commented Jul 6, 2016

Coursier use a different repository (.coursier) it seems, so it's probably that the problem no ?

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

I catch it!!!
You have different path

org/codehaus/plexus/plexus-classworlds

vs my

org.codehaus.plexus/plexus-classworlds

now I'll try to fix it

Contributor

ezh commented Jul 6, 2016

I catch it!!!
You have different path

org/codehaus/plexus/plexus-classworlds

vs my

org.codehaus.plexus/plexus-classworlds

now I'll try to fix it

@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 6, 2016

Contributor

Please test last commit.

Contributor

ezh commented Jul 6, 2016

Please test last commit.

@reyman

This comment has been minimized.

Show comment
Hide comment
@reyman

reyman Jul 6, 2016

➜  workWithPluginCoursier git:(coursier) sbt 
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve

class sbt.PluginManagement$PluginClassLoader

file:/home/reyman/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm/5.1/asm-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.10/7.1.2/scalaz-concurrent_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/7.1.2/scalaz-core_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.
compatibility.state-1.0.100.v20150402-1551.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/3.3.9/maven-plugin-api-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/biz/aQute/bnd/bndlib/2.3.0/bndlib-2.3.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.tools.shared/0.25.0/org.eclipse.tycho.p2.tools.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SN
APSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-
1432.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-file/1.1.0/aether-transport-file-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.10/7.1.2/scalaz-effect_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-connector-basic/1.1.0/aether-connector-basic-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/sbt-coursier_2.10_0.13/1.0.0-SNAPSHOT/sbt-coursier-1.0
.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-wagon/1.1.0/aether-transport-wagon-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier-cache_2.10/1.0.0-SNAPSHOT/coursier-cache_2.10
-1.0.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.25.0/org.eclipse.tycho.p2.resolver.sha
red-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier_2.10/1.0.0-SNAPSHOT/coursier_2.10-1.0.0-SNAPS
HOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.annotation/6.0.0/org.osgi.annotation-6.0.0.jar
          [55/2894]
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.
10-0.2.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-p2-facade/0.25.0/tycho-p2-facade-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-embedder/3.3.9/maven-embedder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-http/1.1.0/aether-transport-http-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.2/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/de/pdark/decentxml/1.3/decentxml-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
       at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get
[error] Use 'last' for the full log.

reyman commented Jul 6, 2016

➜  workWithPluginCoursier git:(coursier) sbt 
Picked up _JAVA_OPTIONS: -Xms1024m -Xmx2G -Xss256m
[info] Loading global plugins from /home/reyman/.sbt/0.13/plugins
[info] Loading project definition from /home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/project
[info] Updating default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Resolved default:workwithplugincoursier-build:0.1-SNAPSHOT dependencies
[info] Fetching artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Fetched artifacts of default:workwithplugincoursier-build:0.1-SNAPSHOT
[info] Set current project to Simple (in build file:/home/reyman/Projets/sbt-osgi-manager/src/sbt-test/osgi-manager/workWithPluginCoursier/)
> osgiResolve

class sbt.PluginManagement$PluginClassLoader

file:/home/reyman/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm/5.1/asm-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.10/7.1.2/scalaz-concurrent_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/7.1.2/scalaz-core_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.
compatibility.state-1.0.100.v20150402-1551.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-metadata-model/0.25.0/tycho-metadata-model-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.10/wagon-provider-api-2.10.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-core/0.25.0/tycho-core-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/3.3.9/maven-plugin-api-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/biz/aQute/bnd/bndlib/2.3.0/bndlib-2.3.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/inject/javax.inject/1/javax.inject-1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.tools.shared/0.25.0/org.eclipse.tycho.p2.tools.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/sbt-dependency-manager_2.10_0.13/0.8.0.2-SN
APSHOT/sbt-dependency-manager-0.8.0.2-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.core/6.0.0/org.osgi.core-6.0.0.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-embedder-api/0.25.0/tycho-embedder-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.6.2/jcl-over-slf4j-1.6.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-embedder/0.25.0/sisu-equinox-embedder-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.osgi/3.10.101.v20150820-1432/org.eclipse.osgi-3.10.101.v20150820-
1432.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-impl/1.1.0/aether-impl-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-file/1.1.0/aether-transport-file-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings-builder/3.3.9/maven-settings-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.10/7.1.2/scalaz-effect_2.10-7.1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-connector-basic/1.1.0/aether-connector-basic-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/sbt-coursier_2.10_0.13/1.0.0-SNAPSHOT/sbt-coursier-1.0
.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-wagon/1.1.0/aether-transport-wagon-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier-cache_2.10/1.0.0-SNAPSHOT/coursier-cache_2.10
-1.0.0-SNAPSHOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-cipher/1.7/plexus-cipher-1.7.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.25.0/org.eclipse.tycho.p2.resolver.sha
red-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/2.5.2/plexus-classworlds-2.5.2.jar
file:/home/reyman/.coursier/cache/v1/https/oss.sonatype.org/content/repositories/snapshots/io/get-coursier/coursier_2.10/1.0.0-SNAPSHOT/coursier_2.10-1.0.0-SNAPS
HOT.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/osgi/org.osgi.annotation/6.0.0/org.osgi.annotation-6.0.0.jar
          [55/2894]
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
file:/home/reyman/.coursier/cache/v1/http/commondatastorage.googleapis.com/maven.repository.digimead.org/org/digimead/digi-sbt-util_2.10/0.2.0.0/digi-sbt-util_2.
10-0.2.0.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/tycho-p2-facade/0.25.0/tycho-p2-facade-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.3.9/maven-artifact-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-spi/1.13.1/aether-spi-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/sisu-equinox-api/0.25.0/sisu-equinox-api-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-api/1.1.0/aether-api-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-model-builder/3.3.9/maven-model-builder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-settings/3.3.9/maven-settings-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-embedder/3.3.9/maven-embedder-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-api/1.13.1/aether-api-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-aether-provider/3.3.9/maven-aether-provider-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.25.0/org.eclipse.tycho.core.shared-0.25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-transport-http/1.1.0/aether-transport-http-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-impl/1.13.1/aether-impl-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-util/1.1.0/aether-util-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.2/org.eclipse.sisu.plexus-0.3.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.25.0/org.eclipse.tycho.embedder.shared-0.
25.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/3.3.9/maven-repository-metadata-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/de/pdark/decentxml/1.3/decentxml-1.3.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/eclipse/aether/aether-spi/1.1.0/aether-spi-1.1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar
[info] [OSGi manager:Simple] Resolve P2 dependencies


INTERNAL:

file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar
file:/home/reyman/.ivy2/local/org.digimead/sbt-osgi-manager/scala_2.10/sbt_0.13/0.4.1.6-SNAPSHOT/jars/sbt-osgi-manager.jar

EXTERNAL:

file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-io/commons-io/2.2/commons-io-2.2.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
file:/home/reyman/.coursier/cache/v1/https/repo1.maven.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jarjava.util.NoSuchElementException: None.get
        at scala.None$.get(Option.scala:313)
        at scala.None$.get(Option.scala:311)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2(Resolve.scala:134)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:163)
        at sbt.osgi.manager.tycho.Resolve$$anonfun$resolveP2Command$1.apply(Resolve.scala:161)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
       at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
        at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
        at scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
        at scala.collection.SetLike$class.map(SetLike.scala:93)
        at scala.collection.AbstractSet.map(Set.scala:47)
        at sbt.osgi.manager.tycho.Resolve$.resolveP2Command(Resolve.scala:161)
        at sbt.osgi.manager.tycho.action.Resolve.apply(Resolve.scala:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at org.digimead.sbt.util.Util$$anonfun$applyWithClassLoader$2.apply(Util.scala:24)
        at scala.Option.map(Option.scala:145)
        at org.digimead.sbt.util.Util.applyWithClassLoader(Util.scala:24)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at sbt.osgi.manager.Plugin$$anonfun$osgiResolveCommand$1.apply(Plugin.scala:153)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
        at org.digimead.sbt.util.SLF4JBridge.withLogFactory(SLF4JBridge.scala:24)
        at sbt.osgi.manager.Plugin$.osgiResolveCommand(Plugin.scala:152)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.osgi.manager.Plugin$$anonfun$defaultSettings$5$$anonfun$apply$1.apply(Plugin.scala:65)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
        at sbt.Command$.process(Command.scala:93)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
        at sbt.State$$anon$1.process(State.scala:184)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.MainLoop$.next(MainLoop.scala:96)
        at sbt.MainLoop$.run(MainLoop.scala:89)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63)
        at sbt.Using.apply(Using.scala:24)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30)
        at sbt.MainLoop$.runLogged(MainLoop.scala:22)
        at sbt.StandardMain$.runManaged(Main.scala:54)
        at sbt.xMain.run(Main.scala:29)
        at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
        at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
        at xsbt.boot.Launch$.run(Launch.scala:109)
        at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
        at xsbt.boot.Launch$.launch(Launch.scala:117)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
[error] java.util.NoSuchElementException: None.get
[error] Use 'last' for the full log.
@ezh

This comment has been minimized.

Show comment
Hide comment
@ezh

ezh Jul 7, 2016

Contributor

Please test the latest commit from coursier branch.

Please note log lines with

PluginClassLoader, push to internal
PluginClassLoader, push to external
PluginClassLoader, skip

like https://travis-ci.org/digimead/sbt-osgi-manager#L1639

If you fail to run the latest version please post those lines.

Contributor

ezh commented Jul 7, 2016

Please test the latest commit from coursier branch.

Please note log lines with

PluginClassLoader, push to internal
PluginClassLoader, push to external
PluginClassLoader, skip

like https://travis-ci.org/digimead/sbt-osgi-manager#L1639

If you fail to run the latest version please post those lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment