geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwengr <>
Subject DependencyManager and car-maven-plugin problem
Date Fri, 21 Feb 2014 00:51:14 GMT
Geronimo 3.0.1, car-maven-plugin 3.0.1, maven 2.2, JDK 1.6_45 (employer

The basic problem I have is that I cannot get the car-maven-plugin to
generate a CAR file for Geronimo 3.0.1.  As far as I can tell the plugin
boots the geronimo kernel to do the packaging.  I believe the root cause of
my problem is that the kernel, in this context, cannot resolve dependencies.

*The question is:  When initiated by the car-maven-plugin, how does the
dependency manager
[org.apache.geronimo.system.configuration.DependencyManager] resolve
dependencies?  How does one correct deficiencies?*

Once I solve this problem, I should be able to solve the other problem which
is the geronimo/car-maven-plugin cannot find the jar file of my module. I
now create my module as a bundle using maven-bundle plugin.


The first hint of a problem is the following:

[org.apache.geronimo.gbean.runtime.GBeanSingleReference] : Started
[org.apache.geronimo.system.configuration.DependencyManager] : did not find
geronimo-plugin.xml for bundle org.eclipse.osgi_3.7.1.R37x_v20110808-1106
[org.apache.geronimo.system.configuration.DependencyManager] : fail to
resovle artifact from the bundle location System Bundle
[org.apache.geronimo.system.configuration.DependencyManager] : did not find
geronimo-plugin.xml for bundle org.eclipse.osgi_3.7.1.R37x_v20110808-1106
[org.apache.geronimo.gbean.runtime.GBeanInstance] : Registered gbean
geronimo/packaging/fixed/car?j2eeType=GBean,name=DependencyManager as osgi
service under interfaces [org.apache.geronimo.gbean.GBeanLifecycle,
java.lang.Object, org.osgi.framework.BundleListener,
org.osgi.framework.SynchronousBundleListener, java.util.EventListener] with

But, the following in my pom.xml does not fix it. Yes, I tried it without
scope provided. If you look at the error message, there is a "_" instead of
a "-" between version and rest of the bundle name for org.osgi.eclipse.


Does the maven repository need some "bundle" work?  Does car-maven-plugin
only work under Eclipse?  

My process (maven) is:
1) Create jar file containing gbean for module.
2) Package this jar file as bundle.
3) Create car file (includes deployment plan) and install it in my local
maven repository.

Then, I should be able to deploy the module.
Thanks in advance.

View this message in context:
Sent from the Users mailing list archive at

View raw message