Re: commons-logging needed for commons-configuration feature
Hello Ioannis, Thanks. I am suspecting a problem with different plugin configurations/versions in pluginsManagement in parent pom and plugins in pom. There was also an issue with builds.apache.org not building OSGi bundles (a bug, which seems fixed now). This made debugging harder. I'll check it over the weekend again. Cheers, -- Ioan Eugen Stan / CTO / http://axemblr.com
Re: commons-logging needed for commons-configuration feature
I've only had this issue in cases, where an other plugin overwritten the MANIFEST.MF. -- *Ioannis Canellos* * ** Blog: http://iocanel.blogspot.com ** Twitter: iocanel *
Re: commons-logging needed for commons-configuration feature
Hello JB, Feel free to have a look. It's kind of difficult to reproduce so you might wish to wait until I find the cause. I wouldn't mind a review or some tips on making James work with Karaf. It's Spring based and currently I'm working on having all the dependencies as bundles via the feature. Thanks, On Fri, Jan 11, 2013 at 1:53 AM, Jean-Baptiste Onofré wrote: > Hi Ioan, > > Weird for the reactor projects, I never had this issue. > > Do you want that I take a look on the code on your github ? > > Regards > JB > > > On 01/11/2013 12:45 AM, Ioan Eugen Stan wrote: >> >> Hello JB, >> >> Thank you. I hope I find another alternative to commons-configuration :). >> >> Another issue, not related to the first one is that >> maven-bundle-plugin does not generate the OSGi manifest headers all >> the times for some child projects. >> I have the plugin configured in the parent [1] with extension set to >> true and it runs well, but sometimes it does not generate the >> manifests for some child projects. Very strange. >> >> Cheers, >> >> [1] https://github.com/ieugen/james/tree/karaf >> >> -- >> Ioan Eugen Stan / CTO / http://axemblr.com >> > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com -- Ioan Eugen Stan / CTO / http://axemblr.com
Re: commons-logging needed for commons-configuration feature
Hi Ioan, Weird for the reactor projects, I never had this issue. Do you want that I take a look on the code on your github ? Regards JB On 01/11/2013 12:45 AM, Ioan Eugen Stan wrote: Hello JB, Thank you. I hope I find another alternative to commons-configuration :). Another issue, not related to the first one is that maven-bundle-plugin does not generate the OSGi manifest headers all the times for some child projects. I have the plugin configured in the parent [1] with extension set to true and it runs well, but sometimes it does not generate the manifests for some child projects. Very strange. Cheers, [1] https://github.com/ieugen/james/tree/karaf -- Ioan Eugen Stan / CTO / http://axemblr.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: commons-logging needed for commons-configuration feature
Hello JB, Thank you. I hope I find another alternative to commons-configuration :). Another issue, not related to the first one is that maven-bundle-plugin does not generate the OSGi manifest headers all the times for some child projects. I have the plugin configured in the parent [1] with extension set to true and it runs well, but sometimes it does not generate the manifests for some child projects. Very strange. Cheers, [1] https://github.com/ieugen/james/tree/karaf -- Ioan Eugen Stan / CTO / http://axemblr.com
Re: commons-logging needed for commons-configuration feature
Hi, The problem is in commons-configuration itself. I have a Jira to create a ServiceMix bundle to fix that (as we did for commons-configuration 1.8). If it works for you (by adding version range), you can use the ServiceMix commons-configuration 1.8 bundle. I will create the commons-configuration 1.8 wrap bundle tomorrow. Regards JB On 01/11/2013 12:18 AM, Ioan Eugen Stan wrote: Hello, I'm working on James on Karaf and I depend on commons-configuration that has further dependencies on commons-logging and commons-lang. Trying to validate the bellow feature results in a failure: [WARNING] Failed to validate feature commons-configuration [WARNING] No export found to match org.apache.commons.logging (imported by mvn:commons-configuration/commons-configuration/1.9) [WARNING] No export found to match org.apache.commons.logging.impl (imported by mvn:commons-configuration/commons-configuration/1.9) --- mvn:commons-configuration/commons-configuration/${commons-configuration.version} mvn:commons-lang/commons-lang/${commons-lang.version} --- Adding pax-logging didn't work. Any known solutions to this? Thanks, [1] https://github.com/ieugen/james/blob/karaf/karaf/features/src/main/resources/features.xml [2] https://github.com/ieugen/james/tree/karaf -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
commons-logging needed for commons-configuration feature
Hello, I'm working on James on Karaf and I depend on commons-configuration that has further dependencies on commons-logging and commons-lang. Trying to validate the bellow feature results in a failure: [WARNING] Failed to validate feature commons-configuration [WARNING] No export found to match org.apache.commons.logging (imported by mvn:commons-configuration/commons-configuration/1.9) [WARNING] No export found to match org.apache.commons.logging.impl (imported by mvn:commons-configuration/commons-configuration/1.9) --- mvn:commons-configuration/commons-configuration/${commons-configuration.version} mvn:commons-lang/commons-lang/${commons-lang.version} --- Adding pax-logging didn't work. Any known solutions to this? Thanks, [1] https://github.com/ieugen/james/blob/karaf/karaf/features/src/main/resources/features.xml [2] https://github.com/ieugen/james/tree/karaf -- Ioan Eugen Stan / CTO / http://axemblr.com