jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charnoky, Michael" <n...@nextbus.com>
Subject Re: jclouds-cli problems
Date Tue, 31 Mar 2015 01:30:07 GMT
Well, I was able to update "assembly/pom.xml" to use a local copy 
jclouds-karaf features.xml file. Indeed, maven downloaded the jar, I can 
see it in the final packaging now: 

However, the NoClassDefFoundError is still persisting.

A possible clue: I don't see usocket-jna in any of the "bundle.info" 
files, yet the other com/jcraft/jsch.* modules are in bundle.info files. 
I'm no maven expert, not sure what all these bundles are for.

On 03/30/2015 06:37 PM, Andrew Phillips wrote:
>> in via the jclouds-karaf dependency. If I modify the feature.xml file
>> (that was downloaded during the first time through the build) and then
>> rebuild with "mvn package", the file just gets re-downloaded and my
>> edits are lost.
> Ah, yes, of course. Back to the fun land of Maven build hacking ;-)
> The line in question that seems to be pulling in the feature 
> descriptor is [1]. It looks like we'll need to replace this with the 
> modified one.
> A quick search (sorry, not a lot of time to test this right now) 
> doesn't indicate whether it's possible to use e.g. "file:" as an 
> alternative - otherwise, you should be able to install it in your 
> local Maven repo using a different version or group ID.
> Thanks for pointing out the branding module - no idea why that's not 
> working for you, indeed. I wonder if others out there are seeing the 
> same thing?
> Regards
> ap
> [1] 
> https://github.com/jclouds/jclouds-cli/blob/master/assembly/pom.xml#L175
View raw message