karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Problems building karaf trunk
Date Wed, 23 May 2012 07:30:20 GMT
We already talked about the build on irc but to sum it up here also on 
the list:

I tested a build of trunk with a clean maven repo. I did not work out of 
the box as the karaf-maven-plugin is required when building the feature 
files. As maven checks that very early the karaf maven plugin is not yet 

So there are three options to really solve that:
- The best solution would be to solve the problem in maven as it should 
not need the plugin so early. There is a very old issue open about it: 
So it does not seem this is solved soon
- Create a profile in our build that builds up to the karaf-maven-plugin 
as a first step. Then the full build can be run
- Change the feature generation so it does not need a build extension. 
This would require some more maven config than today but may be worth it

I took a simple workaround by commenting out the assemblies module in 
the root pom. So the build was failing at the itests but the 
karaf-maven-plugin was built.
Then I commented it in again and did a full build which worked.

Btw. I had a test failure in the kittests which I currently investigate.


Am 22.05.2012 17:50, schrieb Christian Schneider:
> Am 22.05.2012 17:05, schrieb Guillaume Nodet:
>> Btw, I've tried to build karaf trunk yesterday and couldn't find a way
>> to build it fully.
>> I was starting from a clean repo, but even the root pom was trying to
>> download some other karaf snapshots, so not sure what happens.
>> Thoughts ?
> Quite probably these are dependencies that were removed by JBs and my 
> refactorings but left in the pom accidently. I will take care of it.
> Christian

Christian Schneider

Open Source Architect
Talend Application Integration Division http://www.talend.com

View raw message