Error during mvn clean install pax:provision

37 views
Skip to first unread message

Andrew Tereskin

unread,
May 12, 2013, 9:40:15 AM5/12/13
to elasti...@googlegroups.com
Hello!

When I'm trying to run fresh cloned project from repository: 

mvn clean install pax:provision -DskipITs 

I get errors in runner/equinox/<>.log:

------------------------------------------------------------------------------------------------------------------------
!SESSION 2013-05-12 17:16:31.435 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_45
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Command-line arguments:  -console -configuration equinox

!ENTRY org.eclipse.osgi 4 0 2013-05-12 17:16:32.796
!MESSAGE Error starting bundle: initial@reference:file:../bundles/com.google.inject.assistedinject_3.0.0.jar/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started: com.google.inject.assistedinject_3.0.0 [51]
at org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:228)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundle(EclipseStarter.java:1133)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1126)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:646)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:301)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

!ENTRY org.eclipse.osgi 4 0 2013-05-12 17:16:32.797
!MESSAGE Error starting bundle: initial@reference:file:../bundles/rocoto_6.1.0.jar/
!STACK 0
org.osgi.framework.BundleException: A fragment bundle cannot be started: rocoto_6.1.0 [52]
at org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:228)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundle(EclipseStarter.java:1133)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startBundles(EclipseStarter.java:1126)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:646)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:301)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:150)

!ENTRY org.hectorclient.hector 4 0 2013-05-12 17:16:33.538
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.hectorclient.hector_1.1.0.3 [31]" could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.cassandra.thrift; version="0.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2013-05-12 17:16:34.008
!MESSAGE Bundle initial@reference:file:../bundles/org.hectorclient.hector_1.1.0.3.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2013-05-12 17:16:34.009
!MESSAGE Bundle com.google.inject.assistedinject_3.0.0 [51] is not active.

!ENTRY org.eclipse.osgi 4 0 2013-05-12 17:16:34.010
!MESSAGE Bundle rocoto_6.1.0 [52] is not active.
------------------------------------------------------------------------------------------------------------------------

Can you help me set up my environment correctly?

mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 12:44:56+0400)
Maven home: /usr/share/maven
Java version: 1.6.0_45, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"

-- 
Andrey Tereskin

Rustam Aliyev

unread,
May 12, 2013, 8:25:11 PM5/12/13
to elasti...@googlegroups.com
You can ignore those errors. Those are OSGi fragment bundles which cannot be started.


--
You received this message because you are subscribed to the Google Groups "ElasticInbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticinbox...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages