Comments (16)
This is actually something I've seen before. You should try adding these plug-ins to auto-start (and perhaps with a lower start-level).
- org.glassfish.hk2.osgi-resource-locator
- org.glassfish.jersey.inject.jersey-hk2
When I ran into this I think I only added one of these to the config, but I can't remember which one. Let me know if this is the issue. If not, I'll get the app running locally and look into it more.
from jaxrsproviders.
I tried adding the bundles to auto start but nothing changed: sometimes it will work, sometimes not.
But what I found out ist that org.glassfish.jersey.internal.ServiceFinder<T>
has this static block:
static {
final OsgiRegistry osgiRegistry = ReflectionHelper.getOsgiRegistryInstance();
if (osgiRegistry != null) {
LOGGER.log(Level.CONFIG, "Running in an OSGi environment");
osgiRegistry.hookUp();
} else {
LOGGER.log(Level.CONFIG, "Running in a non-OSGi environment");
}
}
I found that everything would work when the classloader loaded the class after the OSGI registry was available, but not when the class was loaded before (I could verify this via the logs, every time I got the "Running in an OSGi environment"
message it would work). I could solve this by setting a lower startLevel (3) for the org.glassfish.jersey.core.jersey-common
bundle.
Unfortunately this only solved our issues when starting the application directly via our WebStartWrapper
, when we try to start the app with JNLP (and the WebStartWrapper
) we still get errors
ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2021-03-17 11:50:52.355
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ecf.osgi.services.remoteserviceadmin [137]
Unresolved requirement: Import-Package: org.eclipse.ecf.core.provider; version="[3.2.0,4.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.
(full log eclipselog_jnlp.log)
In the osgi console I can see that the bundle is active:
osgi> ss org.eclipse.ecf
"Framework is launched."
id State Bundle
124 INSTALLED org.eclipse.ecf.osgi.services.distribution_2.1.500.v20200611-2014
126 ACTIVE org.eclipse.ecf.provider.jersey.client_1.8.0.202101171410
127 ACTIVE org.eclipse.ecf.remoteservice_8.13.101.v20201023-1142
137 INSTALLED org.eclipse.ecf.osgi.services.remoteserviceadmin_4.8.0.v20210101-2158
138 ACTIVE org.eclipse.ecf.identity_3.9.401.v20201027-0550
151 RESOLVED org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.101.v20191012-1926
161 ACTIVE org.eclipse.ecf_3.9.101.v20201027-0547
179 INSTALLED org.eclipse.ecf.osgi.services.remoteserviceadmin.console_1.2.100.v20201027-0549
204 STARTING org.eclipse.ecf.remoteservice.asyncproxy_1.1.200.v20200611-2220
205 STARTING org.eclipse.ecf.remoteservice.asyncproxy_2.1.100.v20200611-2220
220 ACTIVE org.eclipse.ecf.provider.jaxrs.client_1.8.0.202101171410
225 ACTIVE org.eclipse.ecf.provider.jaxrs_1.7.0.202101171410
228 ACTIVE org.eclipse.ecf.discovery_5.0.400.v20200611-2220
231 ACTIVE org.eclipse.ecf.console_1.3.100.v20200611-2220
and that the bundle exports the correct package
osgi> b org.eclipse.ecf
org.eclipse.ecf_3.9.101.v20201027-0547 [161]
Id=161, Status=ACTIVE Data Root=C:\Users\svogel\Anwendungsdaten\EVOLIT\Minimal\config\org.eclipse.osgi\161\data
"Registered Services"
{org.eclipse.ecf.core.IContainerFactory}={service.id=78, service.bundleid=161, service.scope=bundle}
{org.eclipse.ecf.core.IContainerManager}={service.id=79, service.bundleid=161, service.scope=bundle}
No services in use.
Exported packages
org.eclipse.ecf.core; version="3.0.0"[exported]
org.eclipse.ecf.core.events; version="3.1.0"[exported]
org.eclipse.ecf.core.jobs; version="1.1.0"[exported]
org.eclipse.ecf.core.provider; version="3.2.0"[exported]
org.eclipse.ecf.core.security; version="3.1.0"[exported]
There is also a Circular reference detected
-exception in the logs.
!ENTRY org.apache.felix.scr 4 0 2021-03-17 13:11:08.759
!MESSAGE bundle org.apache.felix.scr:2.1.16.v20200110-1820 (122)Circular reference detected trying to get service {org.eclipse.ecf.remoteservice.provider.IRemoteServiceDistributionProvider}={service.id=74, service.bundleid=128, service.scope=bundle, component.name=org.eclipse.ecf.provider.jersey.client.JerseyClientDistributionProvider, component.id=25}
stack of references: ServiceReference: {org.eclipse.ecf.remoteservice.provider.IRemoteServiceDistributionProvider}={service.id=74, service.bundleid=128, service.scope=bundle, component.name=org.eclipse.ecf.provider.jersey.client.JerseyClientDistributionProvider, component.id=25}
But I can get rid of this exception by bringing the startLevels of the ECF bundles in the order they are started by org.eclipse.ecf.core.util.BundleStarter#startDependents()
in the Activator
classes in the ECF bundles. (so that all dependent bundles are active befor the org.eclipse.ecf.osgi.services.distribution
is started). Unfortunately the Exception Unresolved requirement: Import-Package: org.eclipse.ecf.core.provider
is still present.
I also made a new version of our application which you can download here https://drive.evolit.com/seahub/f/7a525e80a98f4318a791/ (the upload was to big for github)
from jaxrsproviders.
So the Jersey DI issue is probably separate from the unresolved dependency. @scottslewis do you have any idea why this particular package wouldn't resolve.
@elbird I still think it may be worth scaling the demo back again to just the core ECF feature. Then you could add a specific dependency from one of your klv bundles to the org.eclipse.core.provider package. You could start with the specific version range that remote services is looking for, then remove the version range or change it to see if you can get things working. Basically I'm wondering if it's an inherent problem with ECF Core or whether ECF Remote Services is involved.
I'll try to get the application installed tomorrow and take a deeper look.
from jaxrsproviders.
So the Jersey DI issue is probably separate from the unresolved dependency. @scottslewis do you have any idea why this particular package wouldn't resolve.
In a word, no. (Unfortunately). org.eclipse.ecf.core.provider is in the org.eclipse.ecf bundle and exported with version 3.2.0 in latest version of org.eclipse.ecf manifest:
org.eclipse.ecf.core.provider;version="3.2.0",
I haven't experienced any similar problems in other environments (bndtools, karaf, felix, equinox, eclipse, other rcp apps).
Given the occasional behavior you describe my current guess is something about the startup sequence problem wrt webstart, and this is at least partially confirmed by something from your log:
!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2021-03-17 13:11:08.041
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ecf.osgi.services.remoteserviceadmin [138]
Unresolved requirement: Import-Package: org.eclipse.ecf.core.provider; version="[3.2.0,4.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
One possibility...org.eclipse.ecf depends upon just one other non-framework bundle...namely org.eclipse.equinox.common. If common is not autostarted, but rather started lazily then maybe it's not available when trying to start org.eclipse.ecf...as ecf uses the IAdapterManager service (started and exported by equinox.common...which contains a split package or org.eclipse.core.runtime package).
Are you sure the start levels for the eclipse rcp infrastructure...i.e, simple configurator, equinox.common,, scr, are set for early auth-start as they are in eclipse:
org.eclipse.osgi: -1 (framework)
simpleconfigurator bundle: 1
common and scr: 2
default start level 4
@elbird I still think it may be worth scaling the demo back again to just the core ECF feature. Then you could add a specific dependency from one of your klv bundles to the org.eclipse.core.provider package. You could start with the specific version range that remote services is looking for, then remove the version range or change it to see if you can get things working. Basically I'm wondering if it's an inherent problem with ECF Core or whether ECF Remote Services is involved.
I think this is more fundamental (something weird about classloading in webstart world) as ECF core.provider is used all over the place...it should be available for load and wiring (from org.eclipse.ecf bundle) as soon as nearl any ECF class is loaded because almost all of ECF depends upon org.eclipse.ecf bundle being started and available. This sort of seems like some weirdness with the bundle wiring in resolver and/or classloader.
I'll try to get the application installed tomorrow and take a deeper look.
I will also.
from jaxrsproviders.
Thanks you for your help and the quick replys!
@scottslewis Are you sure the start levels for the eclipse rcp infrastructure...i.e, simple configurator, equinox.common,, scr, are set for early auth-start as they are in eclipse:
org.eclipse.osgi: -1 (framework)
simpleconfigurator bundle: 1
common and scr: 2
We tried running many different combinations of the startLevels, this one was definitive one of them. Just to be sure I tried the following config again today, but unfortunately no changes
osgi.bundles=org.eclipse.osgi@-1:start,org.eclipse.equinox.simpleconfigurator@1:start,org.apache.felix.scr@2:start,org.eclipse.equinox.event@2:start,org.eclipse.equinox.common@2:start,org.glassfish.jersey.core.jersey-common@3:start,org.eclipse.ecf.osgi.services.distribution@start,org.eclipse.core.runtime@start,org.eclipse.ecf.provider.jersey.client@start
osgi.bundles.defaultStartLevel=4
We will try reducing our app to just the core feature and a bundle with the dependency and maybe we can see what breaks the dependency resolution
from jaxrsproviders.
My experience with Tycho is that you need to at least add these configurations:
org.apache.felix.scr - auto start
org.eclipse.core.runtime - auto start
from jaxrsproviders.
Need to start org.eclipse.equinox.common quite early (1 in eclipse). o.e.e.common provides most of org.eclipse.core.runtime as a split package.
from jaxrsproviders.
We tried many different Start-Level combinations starting different plugins earlier or later and I also tried the levels you suggested. If we start org.eclipse.equinox.common with level 1 (and before org.apache.felix.scr) we cannot even start the App in Eclipse (without JNLP).
The configuration that works best so far was using the levels recommended by eclipse for the following plugins:
- org.eclipse.equinox.simpleconfigurator - Level 1 (Auto-Start)
- org.apache.felix.scr - Level 2 (Auto-Start)
- org.eclipse.equinox.event - Level 2 (Auto-Start)
- org.eclipse.equinox.common - Level 2 (Auto-Start)
- org.eclipse.core.runtime - default (Auto-Start)
And this levels for the ecf plugins:
- org.glassfish.jersey.core.jersey-common - Level 3 (Auto-Start)
- org.eclipse.ecf.osgi.services.distribution - default (Auto-Start)
- org.eclipse.ecf.provider.jersey.client - default (Auto-Start)
Have you managed to get our Test-Package running and take a deeper look at out application?
from jaxrsproviders.
Have you managed to get our Test-Package running and take a deeper look at out application?
Unfortunately, no. Sadly I've been occupied with my main work. I will try to do this tomorrow (Friday) or weekend. Is there some update that I should look at?
Question about your observations:
The configuration that works best so far was using the levels recommended by eclipse for the following plugins..
...
With these start levels are you able to run things successfully in webstart environment? Or are you still getting the ECF classnotfoundexception?
Thanks.
from jaxrsproviders.
In trying to build klv_minimal as per your instructions above...with maven...I'm getting the following error:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] KLV Client Parent 1.0-SNAPSHOT ..................... SUCCESS [ 0.318 s]
[INFO] klv-service 1.0.0-SNAPSHOT ......................... FAILURE [ 5.321 s]
[INFO] klv-ui 1.0.0-SNAPSHOT .............................. SKIPPED
[INFO] klv.feature 1.0.0-SNAPSHOT ......................... SKIPPED
[INFO] klv-target-platform 1.0.0-SNAPSHOT ................. SKIPPED
[INFO] klv-product 1.0.0-SNAPSHOT ......................... SKIPPED
[INFO] KLV Client 1.0-SNAPSHOT ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.941 s
[INFO] Finished at: 2021-03-25T17:59:11-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default (default-p2-metadata-default) on project klv-service: Execution default-p2-metadata-default of goal org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default failed: Unable to load the mojo 'p2-metadata-default' (or one of its required components) from the plugin 'org.eclipse.tycho:tycho-p2-plugin:2.2.0': com.google.inject.ProvisionException: Unable to provision, see the following errors:
[ERROR]
[ERROR] 1) No implementation for org.eclipse.tycho.plugins.p2.BaselineValidator was bound.
[ERROR] while locating org.eclipse.tycho.plugins.p2.P2MetadataDefaultMojo
[ERROR] at ClassRealm[plugin>org.eclipse.tycho:tycho-p2-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value="org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default")
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default (default-p2-metadata-default) on project klv-service: Execution default-p2-metadata-default of goal org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default failed: Unable to load the mojo 'p2-metadata-default' (or one of its required components) from the plugin 'org.eclipse.tycho:tycho-p2-plugin:2.2.0'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-p2-metadata-default of goal org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default failed: Unable to load the mojo 'p2-metadata-default' (or one of its required components) from the plugin 'org.eclipse.tycho:tycho-p2-plugin:2.2.0'
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginContainerException: Unable to load the mojo 'p2-metadata-default' (or one of its required components) from the plugin 'org.eclipse.tycho:tycho-p2-plugin:2.2.0'
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:557)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Unable to provision, see the following errors:
- No implementation for org.eclipse.tycho.plugins.p2.BaselineValidator was bound.
while locating org.eclipse.tycho.plugins.p2.P2MetadataDefaultMojo
at ClassRealm[plugin>org.eclipse.tycho:tycho-p2-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value="org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default")
1 error
role: org.apache.maven.plugin.Mojo
roleHint: org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default
at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:267)
at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.google.inject.ProvisionException: Unable to provision, see the following errors:
- No implementation for org.eclipse.tycho.plugins.p2.BaselineValidator was bound.
while locating org.eclipse.tycho.plugins.p2.P2MetadataDefaultMojo
at ClassRealm[plugin>org.eclipse.tycho:tycho-p2-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value="org.eclipse.tycho:tycho-p2-plugin:2.2.0:p2-metadata-default")
1 error
at com.google.inject.internal.InternalProvisionException.toProvisionException (InternalProvisionException.java:226)
at com.google.inject.internal.InjectorImpl$1.get (InjectorImpl.java:1053)
at org.eclipse.sisu.inject.Guice4$1.get (Guice4.java:162)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:263)
at org.codehaus.plexus.DefaultPlexusContainer.lookup (DefaultPlexusContainer.java:255)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo (DefaultMavenPluginManager.java:520)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:124)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :klv-service
This doesn't make much sense to me...seems to be something about Tycho. FWIW I am able to (in Eclipse 2020-12) able to build and start the rcp app (and export the SimpleService) without problems. Thanks.
from jaxrsproviders.
@scottslewis which Maven goals and Java version do you use for the Tycho builds? You need at least Java 11 for Tycho to work and use mvn clean verify
(or install
) as goals. We use Java 11 and Maven 3.6 for our builds.
from jaxrsproviders.
Here's the debug output from the maven run. Seems to be using mvn 3.6.3 and Java 14
C:\Users\slewis\klv_minimal\klv_minimal\klv-client>mvn -X clean verify
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: c:\apache-maven-3.6.3\bin..
Java version: 14.0.1, vendor: Oracle Corporation, runtime: c:\Program Files\Java\jdk-14.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.fusesource.jansi.* < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.event.* < plexus.core
[DEBUG] Imported: org.slf4j.helpers.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from c:\apache-maven-3.6.3\bin..\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\slewis.m2\settings.xml
[DEBUG] Reading global toolchains from c:\apache-maven-3.6.3\bin..\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\slewis.m2\toolchains.xml
[DEBUG] Using local repository at C:\Users\slewis.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\slewis.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.evolit.klv:klv-client:pom:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1083700, ConflictMarker.markTime=271000, ConflictMarker.nodeCount=132, ConflictIdSorter.graphTime=667900, ConflictIdSorter.topsortTime=409200, ConflictIdSorter.conflictIdCount=58, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=7203700, ConflictResolver.conflictItemCount=130, DefaultDependencyCollector.collectTime=526744100, DefaultDependencyCollector.transformTime=11688300}
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:2.2.0
[DEBUG] org.eclipse.tycho:tycho-core:jar:2.2.0:compile
[DEBUG] org.apache.maven:maven-core:jar:3.6.3:compile (version managed from default)
[DEBUG] org.apache.maven:maven-model:jar:3.6.3:compile (version managed from default)
[DEBUG] org.apache.maven:maven-settings:jar:3.6.3:compile (version managed from default)
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.6.3:compile
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from default)
[DEBUG] org.apache.maven:maven-builder-support:jar:3.6.3:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.6.3:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.6.3:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.6.3:compile
[DEBUG] org.apache.maven:maven-resolver-provider:jar:3.6.3:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.7.29:compile
[DEBUG] org.apache.maven.resolver:maven-resolver-impl:jar:1.4.1:compile
[DEBUG] org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:compile
[DEBUG] org.apache.maven.resolver:maven-resolver-spi:jar:1.4.1:compile
[DEBUG] org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:compile
[DEBUG] org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG] commons-io:commons-io:jar:2.5:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:provided (scope managed from default) (version managed from default)
[DEBUG] javax.enterprise:cdi-api:jar:1.0:provided
[DEBUG] javax.annotation:jsr250-api:jar:1.0:provided
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:compile
[DEBUG] com.google.inject:guice:jar:no_aop:4.2.1:compile
[DEBUG] aopalliance:aopalliance:jar:1.0:compile
[DEBUG] com.google.guava:guava:jar:25.1-android:compile
[DEBUG] com.google.code.findbugs:jsr305:jar:3.0.2:compile
[DEBUG] org.checkerframework:checker-compat-qual:jar:2.0.0:compile
[DEBUG] com.google.errorprone:error_prone_annotations:jar:2.1.3:compile
[DEBUG] com.google.j2objc:j2objc-annotations:jar:1.1:compile
[DEBUG] org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.3.0:compile (version managed from default)
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.6.0:compile
[DEBUG] org.apache.commons:commons-lang3:jar:3.8.1:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.6.3:compile (version managed from default)
[DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:2.2.0:compile
[DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:2.2.0:compile
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:4.2.2:compile (version managed from default)
[DEBUG] org.codehaus.plexus:plexus-io:jar:3.2.0:compile (version managed from default)
[DEBUG] org.apache.commons:commons-compress:jar:1.20:compile (version managed from default)
[DEBUG] org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG] org.tukaani:xz:jar:1.8:runtime
[DEBUG] org.eclipse.platform:org.eclipse.osgi.compatibility.state:jar:1.2.200:compile (version managed from default)
[DEBUG] org.eclipse.platform:org.eclipse.osgi:jar:3.16.100:compile (version managed from default)
[DEBUG] org.eclipse.tycho:sisu-equinox-embedder:jar:2.2.0:compile
[DEBUG] org.eclipse.tycho:sisu-equinox-api:jar:2.2.0:compile
[DEBUG] org.eclipse.tycho:tycho-metadata-model:jar:2.2.0:compile
[DEBUG] de.pdark:decentxml:jar:1.4:compile (version managed from default)
[DEBUG] org.eclipse.tycho:tycho-embedder-api:jar:2.2.0:compile
[DEBUG] org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:2.2.0:compile
[DEBUG] org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:2.2.0:compile
[DEBUG] org.apache.maven:maven-compat:jar:3.6.3:compile (version managed from default)
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.25:compile
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:3.3.4:compile
[DEBUG] org.eclipse.tycho:tycho-p2-facade:jar:2.2.0:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:compile (version managed from default)
[DEBUG] Created new class realm extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0
[DEBUG] Importing foreign packages into class realm extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0
[DEBUG] Included: org.eclipse.tycho:tycho-maven-plugin:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:tycho-core:jar:2.2.0
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.7
[DEBUG] Included: org.apache.maven:maven-builder-support:jar:3.6.3
[DEBUG] Included: org.apache.maven.resolver:maven-resolver-util:jar:1.4.1
[DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG] Included: commons-io:commons-io:jar:2.5
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4
[DEBUG] Included: com.google.inject:guice:jar:no_aop:4.2.1
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: com.google.guava:guava:jar:25.1-android
[DEBUG] Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG] Included: org.checkerframework:checker-compat-qual:jar:2.0.0
[DEBUG] Included: com.google.errorprone:error_prone_annotations:jar:2.1.3
[DEBUG] Included: com.google.j2objc:j2objc-annotations:jar:1.1
[DEBUG] Included: org.codehaus.mojo:animal-sniffer-annotations:jar:1.14
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.3.0
[DEBUG] Included: org.apache.commons:commons-lang3:jar:3.8.1
[DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:2.2.0
[DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:4.2.2
[DEBUG] Included: org.codehaus.plexus:plexus-io:jar:3.2.0
[DEBUG] Included: org.apache.commons:commons-compress:jar:1.20
[DEBUG] Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG] Included: org.tukaani:xz:jar:1.8
[DEBUG] Included: org.eclipse.platform:org.eclipse.osgi.compatibility.state:jar:1.2.200
[DEBUG] Included: org.eclipse.platform:org.eclipse.osgi:jar:3.16.100
[DEBUG] Included: org.eclipse.tycho:sisu-equinox-embedder:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:sisu-equinox-api:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:tycho-metadata-model:jar:2.2.0
[DEBUG] Included: de.pdark:decentxml:jar:1.4
[DEBUG] Included: org.eclipse.tycho:tycho-embedder-api:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:2.2.0
[DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:2.2.0
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.25
[DEBUG] Included: org.eclipse.tycho:tycho-p2-facade:jar:2.2.0
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:2.1.0
[DEBUG] Extension realms for project com.evolit.klv:klv-client-parent:pom:1.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Created new class realm project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT
[DEBUG] Populating class realm project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.evolit.klv:klv-ui:eclipse-plugin:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Looking up lifecycle mappings for packaging eclipse-plugin from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.evolit.klv:klv.feature:eclipse-feature:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Looking up lifecycle mappings for packaging eclipse-feature from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.evolit.klv:klv-target-platform:eclipse-target-definition:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Looking up lifecycle mappings for packaging eclipse-target-definition from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.evolit.klv:klv2:eclipse-application:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Looking up lifecycle mappings for packaging eclipse-application from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.evolit.klv:klv-service:eclipse-plugin:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:2.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]]
[DEBUG] Looking up lifecycle mappings for packaging eclipse-plugin from ClassRealm[project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-client-parent:1.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-client-parent:1.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-client-parent:1.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] org.eclipse.tycho:tycho-compiler-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-target-platform:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-target-platform:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-target-platform:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] org.eclipse.tycho:tycho-surefire-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] org.eclipse.tycho:tycho-compiler-plugin:2.2.0 configured in MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] target-platform-configuration for MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml:
!ENTRY org.eclipse.equinox.p2.repository 2 0 2021-03-27 10:56:48.795
!MESSAGE Server returned lastModified <= 0 for https://raw.githubusercontent.com/ECF/JaxRSProviders/1.14.4/build/content.jar
[DEBUG] Target definition file contains 354 units
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts@C%253A%255CUsers%255Cslewis%255Cklv_minimal%255Cklv_minimal%255Cklv-client%255Cklv-ui)
[INFO] Fetching p2.index from https://download.eclipse.org/releases/2020-06/ (122B)
[INFO] Adding repository https://download.eclipse.org/releases/2020-06
[INFO] Fetching p2.index from https://download.eclipse.org/technology/epp/packages/2020-06/ (142B)
[INFO] Fetching p2.index from https://download.eclipse.org/releases/2020-06/202006171000/ (142B)
[DEBUG] Added 786 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[INFO] Resolving class path of MavenProject: com.evolit.klv:klv-ui:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-ui\pom.xml
[DEBUG] Using TargetEnvironment (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=x86_64) ) to create resolver properties
[INFO] Computing target platform for MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[DEBUG] Added p2 repository eclipse-latest (https://download.eclipse.org/releases/2020-06)
[DEBUG] Using execution environment 'JavaSE-1.8' configured in target-platform-configuration
[DEBUG] Adding target definition file "C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\klv.target"
[DEBUG] Target definition file contains 354 units
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts@C%253A%255CUsers%255Cslewis%255Cklv_minimal%255Cklv_minimal%255Cklv-client%255Cklv-feature)
[DEBUG] Added 786 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING] org.eclipse.ecf.discovery.feature.feature.group/1.0.200.v20200611-2220
[WARNING] org.eclipse.ecf.osgi.services.remoteserviceadmin.console/1.2.100.v20201027-0549
[WARNING] org.eclipse.ecf.remoteservice.asyncproxy/1.1.200.v20200611-2220
[WARNING] org.eclipse.ecf.console/1.3.100.v20200611-2220
[WARNING] org.eclipse.ecf.remoteservice.asyncproxy/2.1.100.v20200611-2220
[WARNING] org.eclipse.ecf.remoteservice/8.13.101.v20201023-1142
[WARNING] org.eclipse.ecf.remoteservice.feature.feature.jar/2.5.201.v20201024-0045
[WARNING] org.eclipse.ecf.core.feature.feature.group/1.5.701.v20201027-0550
[WARNING] org.eclipse.osgi.services.remoteserviceadmin/1.6.300.v20200611-2014
[WARNING] org.eclipse.ecf.core.feature.feature.jar/1.5.701.v20201027-0550
[WARNING] org.eclipse.ecf.remoteservice.feature.feature.group/2.5.201.v20201024-0045
[WARNING] org.eclipse.ecf.discovery.feature.feature.jar/1.0.200.v20200611-2220
[WARNING] org.eclipse.ecf/3.9.101.v20201027-0547
[WARNING] org.eclipse.ecf.identity/3.9.401.v20201027-0550
[WARNING] org.eclipse.ecf.osgi.services.distribution/2.1.500.v20200611-2014
[WARNING] org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy/1.0.101.v20191012-1926
[WARNING] org.eclipse.ecf.discovery/5.0.400.v20200611-2220
[INFO] Resolving class path of MavenProject: com.evolit.klv:klv.feature:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-feature\pom.xml
[INFO] Computing target platform for MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[DEBUG] Added p2 repository eclipse-latest (https://download.eclipse.org/releases/2020-06)
[DEBUG] Using execution environment 'JavaSE-1.8' configured in target-platform-configuration
[DEBUG] Adding target definition file "C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\klv.target"
[DEBUG] Target definition file contains 354 units
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts@C%253A%255CUsers%255Cslewis%255Cklv_minimal%255Cklv_minimal%255Cklv-client%255Cklv-product)
[DEBUG] Added 786 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[WARNING] The following locally built units have been used to resolve project dependencies:
[WARNING] org.eclipse.ecf.discovery.feature.feature.group/1.0.200.v20200611-2220
[WARNING] org.eclipse.ecf.osgi.services.remoteserviceadmin.console/1.2.100.v20201027-0549
[WARNING] org.eclipse.ecf.remoteservice.asyncproxy/1.1.200.v20200611-2220
[WARNING] org.eclipse.ecf.console/1.3.100.v20200611-2220
[WARNING] org.eclipse.ecf.remoteservice.asyncproxy/2.1.100.v20200611-2220
[WARNING] org.eclipse.ecf.remoteservice/8.13.101.v20201023-1142
[WARNING] org.eclipse.ecf.remoteservice.feature.feature.jar/2.5.201.v20201024-0045
[WARNING] org.eclipse.ecf.core.feature.feature.group/1.5.701.v20201027-0550
[WARNING] org.eclipse.osgi.services.remoteserviceadmin/1.6.300.v20200611-2014
[WARNING] org.eclipse.ecf.core.feature.feature.jar/1.5.701.v20201027-0550
[WARNING] org.eclipse.ecf.remoteservice.feature.feature.group/2.5.201.v20201024-0045
[WARNING] org.eclipse.ecf.discovery.feature.feature.jar/1.0.200.v20200611-2220
[WARNING] org.eclipse.ecf/3.9.101.v20201027-0547
[WARNING] org.eclipse.ecf.identity/3.9.401.v20201027-0550
[WARNING] org.eclipse.ecf.osgi.services.distribution/2.1.500.v20200611-2014
[WARNING] org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy/1.0.101.v20191012-1926
[WARNING] org.eclipse.ecf.discovery/5.0.400.v20200611-2220
[INFO] Resolving class path of MavenProject: com.evolit.klv:klv2:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-product\pom.xml
[INFO] Computing target platform for MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] Added p2 repository eclipse-latest (https://download.eclipse.org/releases/2020-06)
[DEBUG] Using execution environment 'JavaSE-1.8' configured in target-platform-configuration
[DEBUG] Adding target definition file "C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-target\klv.target"
[DEBUG] Target definition file contains 354 units
[DEBUG] Registered artifact repository org.eclipse.tycho.repository.registry.facade.RepositoryBlackboardKey(uri=file:/resolution-context-artifacts@C%253A%255CUsers%255Cslewis%255Cklv_minimal%255Cklv_minimal%255Cklv-client%255Cklv-service)
[DEBUG] Added 786 locally built units to the target platform
[INFO] Resolving dependencies of MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[INFO] Resolving class path of MavenProject: com.evolit.klv:klv-service:1.0.0-SNAPSHOT @ C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-service\pom.xml
[DEBUG] Using TargetEnvironment (& (osgi.os=win32) (osgi.ws=win32) (osgi.arch=x86_64) ) to create resolver properties
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] KLV Client Parent [pom]
[INFO] klv-service [eclipse-plugin]
[INFO] klv-ui [eclipse-plugin]
[INFO] klv.feature [eclipse-feature]
[INFO] klv-target-platform [eclipse-target-definition]
[INFO] klv-product [eclipse-application]
[INFO] KLV Client [pom]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.evolit.klv:klv-client-parent:pom:1.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv-service:eclipse-plugin:1.0.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv-ui:eclipse-plugin:1.0.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv.feature:eclipse-feature:1.0.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv-target-platform:eclipse-target-definition:1.0.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv2:eclipse-application:1.0.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Project: com.evolit.klv:klv-client:pom:1.0-SNAPSHOT
[DEBUG] Tasks: [clean, verify]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------< com.evolit.klv:klv-client-parent >------------------
[INFO] Building KLV Client Parent 1.0-SNAPSHOT [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.evolit.klv:klv-client-parent:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [eclipse-latest (https://download.eclipse.org/releases/2020-06, p2, disabled), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${clean.excludeDefaultDirectories}
${maven.clean.failOnError}
${clean.followSymLinks}
${maven.clean.retryOnError}
${clean.skip}
${clean.verbose}
[DEBUG] =======================================================================
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ klv-client-parent ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=60300, ConflictMarker.markTime=20600, ConflictMarker.nodeCount=3, ConflictIdSorter.graphTime=19400, ConflictIdSorter.topsortTime=9500, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=114200, ConflictResolver.conflictItemCount=3, DefaultDependencyCollector.collectTime=20028400, DefaultDependencyCollector.transformTime=241000}
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG] Imported: < project>com.evolit.klv:klv-client-parent:1.0-SNAPSHOT
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.5:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.5, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@4e0e2f2a]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.5:clean' with basic configurator -->
[DEBUG] (f) directory = C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target
[DEBUG] (f) excludeDefaultDirectories = false
[DEBUG] (f) failOnError = true
[DEBUG] (f) followSymLinks = false
[DEBUG] (f) outputDirectory = C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\classes
[DEBUG] (f) reportDirectory = C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\site
[DEBUG] (f) retryOnError = true
[DEBUG] (f) skip = false
[DEBUG] (f) testOutputDirectory = C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\test-classes
[DEBUG] -- end configuration --
[DEBUG] Skipping non-existing directory C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target
[DEBUG] Skipping non-existing directory C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\classes
[DEBUG] Skipping non-existing directory C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\test-classes
[DEBUG] Skipping non-existing directory C:\Users\slewis\klv_minimal\klv_minimal\klv-client\klv-client-parent\target\site
[INFO]
[INFO] ---------------------< com.evolit.klv:klv-service >---------------------
[INFO] Building klv-service 1.0.0-SNAPSHOT [2/7]
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: com.evolit.klv:klv-service:1.0.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile]
[DEBUG] Repositories (dependencies): [eclipse-latest (https://download.eclipse.org/releases/2020-06, p2, disabled), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${clean.excludeDefaultDirectories}
${maven.clean.failOnError}
${clean.followSymLinks}
${maven.clean.retryOnError}
${clean.skip}
${clean.verbose}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.eclipse.tycho:tycho-packaging-plugin:2.2.0:build-qualifier (default-build-qualifier)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${project.basedir}
${mojoExecution}
${forceContextQualifier}
${project.packaging}
${project}
${session}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.eclipse.tycho:tycho-packaging-plugin:2.2.0:validate-id (default-validate-id)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${project.packaging}
${project}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.eclipse.tycho:tycho-packaging-plugin:2.2.0:validate-version (default-validate-version)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${project.packaging}
${project}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${encoding}
${maven.resources.escapeWindowsPaths}
${maven.resources.includeEmptyDirs}
${maven.resources.overwrite}
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.eclipse.tycho:tycho-compiler-plugin:2.2.0:compile (default-compile)
[DEBUG] Style: Regular
[DEBUG] Configuration:
${basedir}
${project.build.directory}
${maven.compiler.compilerId}
${maven.compiler.compilerVersion}
${maven.compiler.debug}
${project.build.sourceEncoding}
${maven.compiler.executable}
${maven.compiler.failOnWarning}
${maven.compiler.encoding}
${maven.compiler.maxmem}
${maven.compiler.meminitial}
${maven.compiler.optimize}
${project.build.finalName}
${project}
${maven.compiler.release}
${session}
${maven.compiler.showDeprecation}
${maven.compiler.showWarnings}
Sorry for the long delay, I got sidetracked on other issues and I couldn't get to the bottom of this until I had time to revisit the issue. It could be that this is happening due to corrupt pom or jar files in your local repository. Could you check if you could resolve the issue if you delete everything in your .m2 directory and have everything redownloaded again?
Also you need to issue two build commands, first a
clean install -pl ../klv-shared/pom.xml -am
only then a clean verify
(using klv-client/pom.xml)
from jaxrsproviders.
For what it's worth I just tried to run the application using OpenWebStart and managed to do so with the following osgi.bundles:
<property name="jnlp.osgi.bundles"
value="org.eclipse.core.runtime@start,org.eclipse.equinox.simpleconfigurator@:start,org.apache.felix.scr@2:start,org.eclipse.ecf.osgi.services.distribution@start,org.eclipse.core.runtime@start,org.eclipse.ecf.provider.jersey.client@3:start,org.glassfish.jersey.core.jersey-common@start" />
There is still one error in the logs but the application starts and does the request correctly.
Log showing the error
!SESSION 2021-06-16 18:10:40.311 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_282
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
!ENTRY org.apache.felix.scr 4 0 2021-06-16 18:10:41.754
!MESSAGE bundle org.apache.felix.scr:2.1.16.v20200110-1820 (3)Circular reference detected trying to get service {org.eclipse.ecf.remoteservice.provider.IRemoteServiceDistributionProvider}={service.id=46, service.bundleid=5, service.scope=bundle, component.name=org.eclipse.ecf.provider.jersey.client.JerseyClientDistributionProvider, component.id=0}
stack of references: ServiceReference: {org.eclipse.ecf.remoteservice.provider.IRemoteServiceDistributionProvider}={service.id=46, service.bundleid=5, service.scope=bundle, component.name=org.eclipse.ecf.provider.jersey.client.JerseyClientDistributionProvider, component.id=0}
!STACK 0
java.lang.Exception: stack trace
at org.apache.felix.scr.impl.ComponentRegistry.enterCreate(ComponentRegistry.java:485)
at org.apache.felix.scr.impl.BundleComponentActivator.enterCreate(BundleComponentActivator.java:734)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:881)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:216)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:213)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:114)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:554)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:529)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:685)
at org.eclipse.ecf.internal.remoteservice.Activator$1.addingService(Activator.java:103)
at org.eclipse.ecf.internal.remoteservice.Activator$1.addingService(Activator.java:1)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:321)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:264)
at org.eclipse.ecf.internal.remoteservice.Activator.start(Activator.java:190)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:843)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:835)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:493)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:477)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:620)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:999)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1026)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:935)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:756)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:666)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:432)
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665)
at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:338)
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:382)
at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49)
at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:264)
at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196)
at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169)
at org.apache.felix.scr.impl.AbstractExtender.addingBundle(AbstractExtender.java:139)
at org.apache.felix.scr.impl.AbstractExtender.addingBundle(AbstractExtender.java:49)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:159)
at org.apache.felix.scr.impl.AbstractExtender.startTracking(AbstractExtender.java:100)
at org.apache.felix.scr.impl.AbstractExtender.doStart(AbstractExtender.java:92)
at org.apache.felix.scr.impl.Activator.doStart(Activator.java:172)
at org.apache.felix.scr.impl.AbstractExtender.start(AbstractExtender.java:72)
at org.apache.felix.scr.impl.Activator.restart(Activator.java:139)
at org.apache.felix.scr.impl.config.ScrConfigurationImpl.configure(ScrConfigurationImpl.java:217)
at org.apache.felix.scr.impl.config.ScrConfigurationImpl.start(ScrConfigurationImpl.java:120)
at org.apache.felix.scr.impl.Activator.start(Activator.java:100)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:843)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:835)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:792)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
!ENTRY org.eclipse.osgi 4 0 2021-06-16 18:10:42.291
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.3.500.v20200211-1505 [2] is not active.
!ENTRY klv-ui 1 0 2021-06-16 18:10:44.278
!MESSAGE Create controls for HelloWorldPart
!ENTRY klv-ui 1 0 2021-06-16 18:10:46.691
!MESSAGE Controls for HelloWorldPart created
I used moongoose webserver sharing the webstart_minimal directory as root and setting
<jnlp codebase="http://myip/client-starter/jnlp/" href="minimal.jnlp" >
in minimal.jnlp. This tells me there is nothing inherentely wrong with my jnlp or build process but in the way Oracle Webstart handles things in comparison to how OpenWebstart handles things (classloading etc).
from jaxrsproviders.
To not have this hanging around forever some feedback: after messing around with this for far too long we have decided not to use Webstart as there was absolutely no way we could get this work in combination with the ECF JaxRSProvider, sucks for us as we have to go a different deployment and update route but this seems to be such a niche issue that not too many people want to take a look into it.
from jaxrsproviders.
I'm sorry that you/we/I could not solve this. OSGi's (and JaxRS/Jersey/ECF's) classloading is complicated...and highly dependent upon the both the individual pieces (Jersey/JaxRS) but on the environment provided by the launcher (i.e. jnlp implementations). For what it's worth I don't see many OSGi environments using jnlp/webstart launchers...probably for reasons like this. So although I understand it complicates deployment for you it might make some sense in the long run (other than just this issue).
But thanks for the report anyway...and thanks for using JaxRS provider/ECF/OSGi in any event.
from jaxrsproviders.
Related Issues (20)
- Replace service id in URL with a value of my choice? HOT 7
- new isssue HOT 3
- Could we make these features available on Eclipse update site? HOT 2
- Clean up metadata for features HOT 1
- Adding needed plug-ins to features HOT 1
- Remove example plugins from features HOT 1
- Update feature dependencies for Jersey JAX-RS Client feature HOT 3
- Custom ObjectMapper not used because of Jackson priority value HOT 6
- Cannot get asynchronous JAX-RS calls working as expected HOT 8
- Create simpler and more flexible endpoint descriptions HOT 21
- Provide JAX-RS and Jersey defaults so they don't have to be duplicated in EDEF files HOT 20
- Clean clone of repo will not build HOT 9
- cxf repository should be absolute HOT 1
- warning when com.mycorp.examples.student.client is executed in karaf HOT 1
- Consume Jersey and all dependencies using Maven repositories HOT 6
- Blank default uuid causes issues with multiple bundles providing services HOT 2
- Possible racecondition on Service creation and injection? HOT 27
- Wrong Character enconding on % in parameter HOT 3
- Problem running the example com.mycorp.examples.student.remoteservice.host HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaxrsproviders.