{"action":"created","issue":{"url":"https://api.github.com/repos/cbeust/kobalt/issues/30","labels_url":"https://api.github.com/repos/cbeust/kobalt/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/kobalt/issues/30/comments","events_url":"https://api.github.com/repos/cbeust/kobalt/issues/30/events","html_url":"https://github.com/cbeust/kobalt/issues/30","id":115495563,"number":30,"title":"Fails to build complex dependencies from Maven","user":{"login":"jkbbwr","id":307167,"avatar_url":"https://avatars.githubusercontent.com/u/307167?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbbwr","html_url":"https://github.com/jkbbwr","followers_url":"https://api.github.com/users/jkbbwr/followers","following_url":"https://api.github.com/users/jkbbwr/following{/other_user}","gists_url":"https://api.github.com/users/jkbbwr/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbbwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbbwr/subscriptions","organizations_url":"https://api.github.com/users/jkbbwr/orgs","repos_url":"https://api.github.com/users/jkbbwr/repos","events_url":"https://api.github.com/users/jkbbwr/events{/privacy}","received_events_url":"https://api.github.com/users/jkbbwr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T12:25:00Z","updated_at":"2015-11-12T21:01:07Z","closed_at":null,"body":"When compiling dependencies from Maven that use JNI it seems to break pathing and cause issues.\r\n\r\nThis causes JFFI to not find its native library, or for the ClassLoader not to find JFFI\r\n\r\nBuild.kt\r\n\r\n```\r\nimport com.beust.kobalt.*\r\nimport com.beust.kobalt.plugin.packaging.assemble\r\nimport com.beust.kobalt.plugin.kotlin.*\r\n\r\nval repos = repos()\r\n\r\nval p = kotlinProject {\r\n\r\n    name = \"c\"\r\n    group = \"c\"\r\n    artifactId = name\r\n    version = \"0.1\"\r\n\r\n    sourceDirectories {\r\n        path(\"src\")\r\n    }\r\n\r\n    dependencies {\r\n        compile(file(\"lib/kotlin-runtime.jar\"))\r\n        compile(file(\"lib/kotlin-reflect.jar\"))\r\n        compile(\"org.abstractj.kalium:kalium:0.4.0\")\r\n    }\r\n\r\n    assemble {\r\n        jar {\r\n            fatJar = true\r\n            manifest {\r\n                attributes(\"Main-Class\", \"path\")\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nSimple testing script \r\n\r\n```\r\npackage c\r\n\r\nimport org.abstractj.kalium.keys.SigningKey\r\n\r\nfun main(args: Array<String>) {\r\n    val sk = SigningKey()\r\n    println(sk)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/cbeust/kobalt/issues/comments/156232547","html_url":"https://github.com/cbeust/kobalt/issues/30#issuecomment-156232547","issue_url":"https://api.github.com/repos/cbeust/kobalt/issues/30","id":156232547,"user":{"login":"cy6erGn0m","id":762598,"avatar_url":"https://avatars.githubusercontent.com/u/762598?v=3","gravatar_id":"","url":"https://api.github.com/users/cy6erGn0m","html_url":"https://github.com/cy6erGn0m","followers_url":"https://api.github.com/users/cy6erGn0m/followers","following_url":"https://api.github.com/users/cy6erGn0m/following{/other_user}","gists_url":"https://api.github.com/users/cy6erGn0m/gists{/gist_id}","starred_url":"https://api.github.com/users/cy6erGn0m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cy6erGn0m/subscriptions","organizations_url":"https://api.github.com/users/cy6erGn0m/orgs","repos_url":"https://api.github.com/users/cy6erGn0m/repos","events_url":"https://api.github.com/users/cy6erGn0m/events{/privacy}","received_events_url":"https://api.github.com/users/cy6erGn0m/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T21:01:07Z","updated_at":"2015-11-12T21:01:07Z","body":"The requires *.so files are in the jffi-native.jar. It looks like kobalt doesn't support dependencies with classifiers, isn't it ? cc @cbeust "}}