You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2016/11/29 07:07:19 UTC

[2/2] brooklyn-server git commit: Closes #469

Closes #469

Remove net.java.dev.jna dependency exclusion

jclouds now correctly imports the dual-licensed version of jna,
so we can rely on that rather than excluding it ourselves.

See https://github.com/jclouds/jclouds/commit/b3882cbfed873a5975d4918d1fb8b836b544c421. This is definitely in jclouds 1.9.2. (and 1.9.3 as well): see https://github.com/jclouds/jclouds/blob/rel/jclouds-1.9.2/drivers/sshj/pom.xml#L110.

With this change, looking at `mvn dependency:tree -Dverbose` includes the output below, and shows that the only "jna" dependencies are version 4.1.0.

```
[INFO] |     +- com.jcraft:jsch.agentproxy.usocket-jna:jar:0.0.8:compile
[INFO] |     |  +- net.java.dev.jna:jna:jar:4.1.0:compile
[INFO] |     |  \- net.java.dev.jna:jna-platform:jar:4.1.0:compile
[INFO] |     |     \- (net.java.dev.jna:jna:jar:4.1.0:compile - omitted for duplicate)
```

It also confirms that `jna` and `jna-platform` don't pull in any other transitive dependencies, so the upgrade from 4.0.0 to 4.1.0 shouldn't cause any problems (it just brings us in line with the versions that were actually tested in the jclouds releases!).


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/a20fdeac
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/a20fdeac
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/a20fdeac

Branch: refs/heads/master
Commit: a20fdeac42de41f6e781a66b55dfc0a4e175bbb0
Parents: b11c87d 76a5068
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Tue Nov 29 09:07:07 2016 +0200
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Tue Nov 29 09:07:07 2016 +0200

----------------------------------------------------------------------
 locations/jclouds/pom.xml | 20 --------------------
 parent/pom.xml            | 10 ----------
 pom.xml                   |  1 -
 3 files changed, 31 deletions(-)
----------------------------------------------------------------------