I am having an issue building with karaf-maven-plugin 4.0.4. I never had
it working with a previous version and I am just trying to start setting it
up so it is probably something simple I am doing wrong but I could use a
little help.
I getting the following error when I build
[ERROR] Failed to
e verify.
>
> Regards
> JB
>
>
>
> Sent from my Samsung device
>
>
> Original message
> From: David Daniel
> Date: 28/02/2016 18:01 (GMT+01:00)
> To: user@karaf.apache.org
> Subject: Issue building with karaf-maven-plugin
>
> I am having an
.5.0)(!(version>=2.0.0)))"]]
-> [Help 1]
On Sun, Feb 28, 2016 at 3:05 PM, David Daniel
wrote:
> When I added a prerequiste to the log feature I hit this error
>
> [ERROR] Failed to execute goal
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.4:assembly
> (defaul
I think I have figured out where I was going wrong. If I include framework
as a prerequisite then it gives me an error message that I believe is more
accurate.
[ERROR] Failed to execute goal
org.apache.karaf.tooling:karaf-maven-plugin:4.0.4:assembly
(default-assembly) on project server-installer:
n issue.
On Tue, Mar 1, 2016 at 9:05 AM, Mike Rumpf wrote:
> Capabalities are evaluated in both directions. That works fine in my
> environment.
>
> A Feature example with capability could look like this:
>
>
>
> Did you try to add the log dependency as in above example?
&g
How do I let the validator know that I am exposing javax.validation as a
system package. My error is
Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve
root: missing requirement [root] osgi.identity;
osgi.identity=org.glassfish.jersey.core.jersey-server; type=osgi.bundle;
I was hoping that someone may be able to look at the maven log message and
point me in a direction for how I could troubleshoot. The log is below
[DEBUG] Selected bundles [org.apache.aries.blueprint.core/1.5.0,
org.apache.aries.blueprint.api/1.0.1, org.ops4j.pax.url.mvn/2.4.5,
org.apache.aries.p
roject.basedir}/../indexer-pom/repo/
On Tue, Mar 8, 2016 at 1:41 AM, Jean-Baptiste Onofré
wrote:
> Hi David,
>
> can you share your pom.xml and features XML to me ? It sounds like a bug
> in the plugin but I would like to find the cause.
>
> Regards
> JB
>
-maven-plugin
Any help is appreciated,
David Daniel
> would it be possible to share your features XML and the pom that you use
> to create your custom distribution ?
>
> Thanks,
> Regards
> JB
>
>
> On 04/18/2016 09:48 PM, David Daniel wrote:
>
>> When I include the following bundles i
1.8.5
2.5
5.3.1
5.3.1
2.22.2
2.2
2.3
1.1.1
1.5.7
2.7.2
2.4
3.2.0
4.5
On Mon, Apr 18, 2016 at 4:00 PM, David Daniel
wrote:
> I have included both below but a number of the bundles are particular to
&
For eclipse development I take an aproach very similar to Christians but
that is a preference on my part. Here are some threads that describe why
and how.
https://groups.google.com/forum/#!topic/bndtools-users/o61UDyhvHuQ
https://groups.google.com/forum/#!topic/bndtools-users/wduCjTJqOqI
https://
s and karaf in a friendly way.
On Mon, Apr 18, 2016 at 4:48 PM, David Daniel
wrote:
> For eclipse development I take an aproach very similar to Christians but
> that is a preference on my part. Here are some threads that describe why
> and how.
>
> https://groups.google.com/fo
, 2016 at 4:07 PM, David Daniel
wrote:
> realized the last part is pretty useless without the pom info
>
> 5.0.4
> 3.0.0
> 1.0.0
> 1.0.2
> 1.10
> 4.1
> 3.3.2
> 1.2
> 2.6
> 3.4
>
How can a version be specified in a boot feature for karaf 4.0.4
I see here it says to use ;version=
https://issues.apache.org/jira/browse/KARAF-388
but here it adds a slash
https://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html
Here is what I have that is not returning
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/4.0.7.RELEASE_3
[INFO] Feature management is defined as a boot feature
On Tue, Apr 19, 2016 at 1:28 PM, David Daniel
wrote:
> How can a version be specified in a boot feature for karaf 4.0.4
>
> I see here it says to use
I had a feature in my features.xml. I tried to publish a capability as a
work around by adding
osgi.wiring.package;effective:=active;osgi.wiring.package="javax.validation";version="1.2"
It broke the feature code here line ~80
Version v1 =
(!cap1.getAttributes().containsKey(Pack
For what it is worth I would love to see the karaf shell start to see what
they could give back to the gogo shell. For awhile it seemed like no work
was going into improving the gogo shell but recently Guillaume has been
putting in some good improvements
https://mail.google.com/mail/u/0/#search/jl
http://www.mail-archive.com/users%40felix.apache.org/msg16883.html sorry I
linked to my email because I make hasty decisions. This link talks about
the additions better.
On Wed, Apr 27, 2016 at 12:57 PM, David Daniel
wrote:
> For what it is worth I would love to see the karaf shell start
Is the karaf beam runner going to be open source and if so is there a repo
out there that I can take a look at.
Thanks for any info,
David
The problem with the single bundle approach is extension points. How do
you handle letting people handle filters so they can customize
authorization, or CORS settings? How do you let them have a custom way to
inject session so that they can do something like have a shared session
across services?
karaf caches its bundles in the data folder. You can delete that folder or
start karaf with the clean option. I know this is a workaround and maybe
someone else can give more details about why when you removed your feature
it did not get deleted from the cache.
On Sat, Jul 2, 2016 at 1:06 PM, De
Is this something that is supposed to be set by the jvm when karaf starts.
Is there a way from the console to print out
org.osgi.framework.system.capabilities.
Thanks for any help,
David
I found it. It is a system property. I will keep looking for my issue
elsewhere.
On Tue, Jul 5, 2016 at 10:41 AM, David Daniel
wrote:
> Is this something that is supposed to be set by the jvm when karaf
> starts. Is there a way from the console to pri
How can I list the system capabilities in karaf. I am wondering if I am
running into the issue mentioned here
https://groups.google.com/forum/#!topic/bndtools-users/gOnbEAye708 by peter
In the example code we have the following requirement (from the annotation):
Require-Capab
Thank you Markus. I just found the issue and it was user error. For some
reason running sudo echo $JAVA_HOME posted to jdk 8 and java -version did
as well but when I would run sudo ./karaf it was not running with jdk 8.
eventually I released that it was printing out no jdk found results may
vary.
, 2016 at 1:15 PM, Markus Rathgeb wrote:
> You are welcome.
> But it seems a little bit strange to me to run Karaf with root privileges
> :wink:
>
> 2016-07-05 18:45 GMT+02:00 David Daniel :
> > Thank you Markus. I just found the issue and it was user error. For
> some
Entire should be enroute
On Jul 13, 2016 9:02 AM, "David Daniel" wrote:
> I use pax exam and maven to run integration tests. There is also a
> tutorial on entire for debugging a running karat instance with bnd tools.
> There is not a great way to start a karat instance thou
I use pax exam and maven to run integration tests. There is also a tutorial
on entire for debugging a running karat instance with bnd tools. There is
not a great way to start a karat instance though as far as I know.
On Jul 13, 2016 8:59 AM, "Oliver Libutzki" wrote:
> Hi everyone,
>
> is there a
Pax exam will run karaf and be setup to include your custom features. It is
how I do integration testing
On Sep 14, 2016 5:18 AM, "Jens Reimann" wrote:
> Hi,
>
> There seems to be a goal for maven "karaf:run" which can run a single
> bundle. But is there some way to run a karaf assembly, directl
Pax exam has a container that works with maven and bndtools is working on a
maven one this release. I don't think karaf is forcing a process fork
On Sep 14, 2016 9:00 AM, "Benson Margulies" wrote:
> Jens, Karaf is going to fork a new java process. So launching maven with
> debugging won't give y
t executing multiple tests in one go.
>
> regards, Achim
>
>
> 2016-09-14 15:07 GMT+02:00 David Daniel :
>
>> Pax exam has a container that works with maven and bndtools is working on
>> a maven one this release. I don't think karaf is forcing a process fork
>>
&
Tom integrating karaf development and bndtools development has been tricky
but it is getting better. Karaf development is centered around Mavens
build process while bndtools is centered around a custom workspace in cnf.
This release bndtools will be supporting maven and you can see the latest
post
API bundles are generally marked compile only and should not be deployed at
runtime
On Sep 20, 2016 9:19 AM, wrote:
> I'm tracking down a rather odd problem trying to deploy a bundle into
> Karaf. The
> issue appears to be with the osgi.enroute.dto.api package.
>
> I'm getting this resolution er
Things are working there way there with bndtools with bndrun files. You
can see a couple karaf libraries used in Christians chat sample
https://github.com/cschneider/osgi-chat The new cxf libraries also have
bndrun samples. Not everything in karaf can be generated in bndrun at this
time but I t
Nick do you have a link to pentaho where you are doing some of this. I am
guessing you are using flow instead of the OSGI pushstreams api when you
say that streaming was considered for the OSGI standards.
David Daniel
On Mon, Jan 16, 2017 at 1:36 PM, Nick Baker wrote:
> The event bus mo
those features. I am hoping that brings the two
communities closer to compatibility.
David Daniel
On Thu, Feb 14, 2019 at 8:03 AM Jean-Baptiste Onofré
wrote:
> Thanks !
>
> I'm happy to see that finally bndtools went to Maven space ;)
>
> Regards
> JB
>
> On 14/02/2
af can also support "static" assembly. It's already possible but not
> so easy in term of tooling.
> I'm adding an example in the distribution to illustrate this, and it's
> definitely one of the purpose of "kloud initiative" (tooling).
>
> Regards
>
Alex: M2E is what builds on save for eclipse and bndtools integrates to
m2e
https://www.slideshare.net/mfrancis/bndtools-and-maven-a-brave-new-world-n-bartlett-t-ward
With the commands Christian gave to add a bundle to a running karaf and
watch the bundle then karaf should correctly watch for upda
39 matches
Mail list logo