[ 
https://issues.apache.org/jira/browse/JCLOUDS-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ignasi Barrera updated JCLOUDS-1051:
------------------------------------
    Description: 
The changes introduced in [pull request 
841|https://github.com/jclouds/jclouds/pull/841] upgrade the SSHJ dependency 
and break jclouds-karaf.

SSHJ has changed its maven coordinates from {{net.schmizz}} to 
{{com.hierynomus}}. Our jclouds-karaf integration relied on existing bundles 
for that dependency, but the latest bundle available for the 
{{org.apache.servicemix.bundles.jsch-agentproxy-sshj}} still uses the old 
package.

Since there is no bundle available that uses the new SSHJ Maven dependency, 
jclouds-karaf is broken.

There are several approaches to fix this:

* Provide our own agentproxy bundle with the right SSHJ dependency.
* Package the agentproxy class (it is really only one class) as part of the 
jclouds SSH driver. Licenses is 
[compatible|http://www.apache.org/legal/resolved.html#category-a], as it is a 
BSD 3-clause.
* Change jclouds-karaf to use the JSCH ssh driver.

Until there is no bundle available, we should try to move jclouds-karaf to use 
jsch.

  was:
SSHJ has changed its maven foordinates from {{net.schmizz}} to {{}}

{noformat}
Failed tests:   
testJcloudsChef:org.jclouds.karaf.itests.ChefFeaturesInstallationTest.testJcloudsChef:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.3.11\/tar.gz}(org.jclouds.karaf.itests.ChefFeaturesInstallationTest):
 Expected jclouds-chef feature to be installed.
  
testBasicFeaturesInstallation:org.jclouds.karaf.itests.MiscFeaturesInstallationTest.testBasicFeaturesInstallation:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.3.11\/tar.gz}(org.jclouds.karaf.itests.MiscFeaturesInstallationTest):
 Expected jclouds-commands feature to be installed.
  
testAwsS3Feature:org.jclouds.karaf.itests.AwsFeaturesInstallationTest.testAwsS3Feature:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.3.11\/tar.gz}(org.jclouds.karaf.itests.AwsFeaturesInstallationTest):
 Expected jclouds-aws-s3 feature to be installed.
{noformat}

https://jclouds.ci.cloudbees.com/job/jclouds-karaf/org.apache.jclouds.karaf$itests/1590/#showFailuresLink


> Depedency on com.hierynomus.ssh breaks jclouds-karaf
> ----------------------------------------------------
>
>                 Key: JCLOUDS-1051
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1051
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-karaf
>    Affects Versions: 2.0.0
>            Reporter: Andrew Gaul
>            Assignee: Ignasi Barrera
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> The changes introduced in [pull request 
> 841|https://github.com/jclouds/jclouds/pull/841] upgrade the SSHJ dependency 
> and break jclouds-karaf.
> SSHJ has changed its maven coordinates from {{net.schmizz}} to 
> {{com.hierynomus}}. Our jclouds-karaf integration relied on existing bundles 
> for that dependency, but the latest bundle available for the 
> {{org.apache.servicemix.bundles.jsch-agentproxy-sshj}} still uses the old 
> package.
> Since there is no bundle available that uses the new SSHJ Maven dependency, 
> jclouds-karaf is broken.
> There are several approaches to fix this:
> * Provide our own agentproxy bundle with the right SSHJ dependency.
> * Package the agentproxy class (it is really only one class) as part of the 
> jclouds SSH driver. Licenses is 
> [compatible|http://www.apache.org/legal/resolved.html#category-a], as it is a 
> BSD 3-clause.
> * Change jclouds-karaf to use the JSCH ssh driver.
> Until there is no bundle available, we should try to move jclouds-karaf to 
> use jsch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to