{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/6597","repository_url":"https://api.github.com/repos/ceylon/ceylon","labels_url":"https://api.github.com/repos/ceylon/ceylon/issues/6597/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon/issues/6597/comments","events_url":"https://api.github.com/repos/ceylon/ceylon/issues/6597/events","html_url":"https://github.com/ceylon/ceylon/issues/6597","id":183264625,"number":6597,"title":"--fully-export-maven-dependencies","user":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon/labels/m-cmr","name":"m-cmr","color":"00aa00"},{"url":"https://api.github.com/repos/ceylon/ceylon/labels/prio-high","name":"prio-high","color":"fbca04"},{"url":"https://api.github.com/repos/ceylon/ceylon/labels/t-feature","name":"t-feature","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false},"assignees":[{"login":"FroMage","id":179265,"avatar_url":"https://avatars.githubusercontent.com/u/179265?v=3","gravatar_id":"","url":"https://api.github.com/users/FroMage","html_url":"https://github.com/FroMage","followers_url":"https://api.github.com/users/FroMage/followers","following_url":"https://api.github.com/users/FroMage/following{/other_user}","gists_url":"https://api.github.com/users/FroMage/gists{/gist_id}","starred_url":"https://api.github.com/users/FroMage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FroMage/subscriptions","organizations_url":"https://api.github.com/users/FroMage/orgs","repos_url":"https://api.github.com/users/FroMage/repos","events_url":"https://api.github.com/users/FroMage/events{/privacy}","received_events_url":"https://api.github.com/users/FroMage/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ceylon/ceylon/milestones/16","html_url":"https://github.com/ceylon/ceylon/milestones/1.3.1","labels_url":"https://api.github.com/repos/ceylon/ceylon/milestones/16/labels","id":1997781,"number":16,"title":"1.3.1","description":"","creator":{"login":"gavinking","id":579974,"avatar_url":"https://avatars.githubusercontent.com/u/579974?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinking","html_url":"https://github.com/gavinking","followers_url":"https://api.github.com/users/gavinking/followers","following_url":"https://api.github.com/users/gavinking/following{/other_user}","gists_url":"https://api.github.com/users/gavinking/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinking/subscriptions","organizations_url":"https://api.github.com/users/gavinking/orgs","repos_url":"https://api.github.com/users/gavinking/repos","events_url":"https://api.github.com/users/gavinking/events{/privacy}","received_events_url":"https://api.github.com/users/gavinking/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":82,"state":"open","created_at":"2016-09-12T09:15:53Z","updated_at":"2016-10-25T12:34:34Z","due_on":"2016-10-24T00:00:00Z","closed_at":null},"comments":65,"created_at":"2016-10-16T12:31:07Z","updated_at":"2016-10-25T18:27:59Z","closed_at":null,"body":"The existing `--auto-export-maven-dependencies` flag has the effect exporting every dependency Y of a maven module X to other maven modules that depend on X, but, confusingly for most people, it does not export Y to *Ceylon* modules that depend on X. \r\n\r\nAt least, I *think* that's the right way to describe its effect.\r\n\r\nThe reasoning behind this was that the transitive dependencies of a maven module can include a whole heap of rubbish which just doesn't affect the Ceylon program, and which would clog up IDE autocompletion, etc.\r\n\r\nHowever, in practice, the need to explicitly specify a dependency on every dependency of a dependency (!) has been shown to be a major problem for people getting started in environments such as, for example, WildFly Swarm.\r\n\r\nWorse, people are starting to invent workarounds like the Ceylon Gradle plugin's `generateOverridesFile` command which generates a massive `overrides.xml` file which just exports all deps of all the maven modules, completely negating the \"advantage\" of not having `--auto-export-maven-dependencies` do it. \r\n\r\nTherefore, I propose that we provide a *second* option, `--fully-export-maven-dependencies`, which exports transitive dependencies all the way to the Ceylon module. Even if it's not *ideal*, it's still a good way to get started when all else fails.\r\n\r\nAnd it's not like you can't filter *out* stuff you *don't* need. There are multiple ways to do that: `overrides.xml`, and IDE completion filters."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon/issues/comments/256127380","html_url":"https://github.com/ceylon/ceylon/issues/6597#issuecomment-256127380","issue_url":"https://api.github.com/repos/ceylon/ceylon/issues/6597","id":256127380,"user":{"login":"DiegoCoronel","id":403754,"avatar_url":"https://avatars.githubusercontent.com/u/403754?v=3","gravatar_id":"","url":"https://api.github.com/users/DiegoCoronel","html_url":"https://github.com/DiegoCoronel","followers_url":"https://api.github.com/users/DiegoCoronel/followers","following_url":"https://api.github.com/users/DiegoCoronel/following{/other_user}","gists_url":"https://api.github.com/users/DiegoCoronel/gists{/gist_id}","starred_url":"https://api.github.com/users/DiegoCoronel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiegoCoronel/subscriptions","organizations_url":"https://api.github.com/users/DiegoCoronel/orgs","repos_url":"https://api.github.com/users/DiegoCoronel/repos","events_url":"https://api.github.com/users/DiegoCoronel/events{/privacy}","received_events_url":"https://api.github.com/users/DiegoCoronel/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T18:27:59Z","updated_at":"2016-10-25T18:27:59Z","body":"Yes, thats an old issue, if you Look at my gradle file you can ser i remove\nthe log module .. im on my phone now, sry about those short message\n\nEm ter, 25 de out de 2016 10:05, Stéphane Épardaud <notifications@github.com>\nescreveu:\n\n> Now when running I'm left with this:\n>\n> ceylon run: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.SimpleLoggerFactory loaded from file:/home/stephane/src/java-\n> eclipse/ceylon/dist/dist/repo/org/slf4j/simple/1.6.1/org.slf4j.simple-1.6.1.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml Object of class [org.slf4j.impl.\n> SimpleLoggerFactory] must be an instance of class ch.qos.logback.classic.LoggerContext\n> java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.SimpleLoggerFactory loaded from file:/home/stephane/src/java-eclipse/ceylon/dist/dist/repo/org/slf4j/simple/1.6.1/org.slf4j.simple-1.6.1.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml Object of class [org.slf4j.impl.SimpleLoggerFactory] must be an instance of class ch.qos.logback.classic.LoggerContext\n>     at org.springframework.util.Assert.isInstanceOf(Assert.java:346)\n>     at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:221)\n>     at org.springframework.boot.logging.logback.LogbackLoggingSystem.getLogger(LogbackLoggingSystem.java:213)\n>     at org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:98)\n>     at org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartedEvent(LoggingApplicationListener.java:215)\n>     at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:197)\n>     at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)\n>     at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)\n>     at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)\n>     at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)\n>     at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:60)\n>     at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48)\n>     at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)\n>     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)\n>     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)\n>     at bar.run_.run(run.ceylon:11)\n>\n> Any idea @DiegoCoronel <https://github.com/DiegoCoronel>?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/ceylon/ceylon/issues/6597#issuecomment-256044368>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAYpKq2SWXuWBRFD67ascL970fA-TD-Jks5q3gy_gaJpZM4KX9cg>\n> .\n>\n"}}
{"actor":{"display_login":"DiegoCoronel"}}