{"action":"created","issue":{"url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/3","repository_url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example","labels_url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/3/comments","events_url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/3/events","html_url":"https://github.com/pbassiner/sbt-multi-project-example/issues/3","id":335920973,"node_id":"MDU6SXNzdWUzMzU5MjA5NzM=","number":3,"title":"Running sbt assembly on the root project generates more assemblies than expected","user":{"login":"aneesh-joseph","id":9010621,"node_id":"MDQ6VXNlcjkwMTA2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9010621?v=4","gravatar_id":"","url":"https://api.github.com/users/aneesh-joseph","html_url":"https://github.com/aneesh-joseph","followers_url":"https://api.github.com/users/aneesh-joseph/followers","following_url":"https://api.github.com/users/aneesh-joseph/following{/other_user}","gists_url":"https://api.github.com/users/aneesh-joseph/gists{/gist_id}","starred_url":"https://api.github.com/users/aneesh-joseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneesh-joseph/subscriptions","organizations_url":"https://api.github.com/users/aneesh-joseph/orgs","repos_url":"https://api.github.com/users/aneesh-joseph/repos","events_url":"https://api.github.com/users/aneesh-joseph/events{/privacy}","received_events_url":"https://api.github.com/users/aneesh-joseph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T17:29:40Z","updated_at":"2018-06-26T19:47:46Z","closed_at":null,"author_association":"NONE","body":"First of all thank you for the detailed tutorial and this multimodule sample :smile:\r\n\r\nWhen I run sbt assembly on the top level directory, it generates multiple assemblies\r\n\r\n1. common-assembly-0.1-SNAPSHOT.jar\r\n2. multi1.jar\r\n3. multi2.jar\r\n4. sbt-multi-project-example-assembly-0.1-SNAPSHOT.jar\r\n\r\nbut I was only expecting assemblies for multi1 and multi2 projects. Is there a way to sort it?\r\n\r\nIn addition to that, is it possible to attach these assemblies so that the assemblies can be published to Nexus etc?"},"comment":{"url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/comments/400439515","html_url":"https://github.com/pbassiner/sbt-multi-project-example/issues/3#issuecomment-400439515","issue_url":"https://api.github.com/repos/pbassiner/sbt-multi-project-example/issues/3","id":400439515,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQzOTUxNQ==","user":{"login":"pbassiner","id":8006026,"node_id":"MDQ6VXNlcjgwMDYwMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/8006026?v=4","gravatar_id":"","url":"https://api.github.com/users/pbassiner","html_url":"https://github.com/pbassiner","followers_url":"https://api.github.com/users/pbassiner/followers","following_url":"https://api.github.com/users/pbassiner/following{/other_user}","gists_url":"https://api.github.com/users/pbassiner/gists{/gist_id}","starred_url":"https://api.github.com/users/pbassiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbassiner/subscriptions","organizations_url":"https://api.github.com/users/pbassiner/orgs","repos_url":"https://api.github.com/users/pbassiner/repos","events_url":"https://api.github.com/users/pbassiner/events{/privacy}","received_events_url":"https://api.github.com/users/pbassiner/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T19:47:46Z","updated_at":"2018-06-26T19:47:46Z","author_association":"OWNER","body":"Hi @aneesh-joseph,\r\nI'm glad you find it useful.\r\n\r\nRegarding your questions, you can disable the `sbt-assembly` plugin in those subprojects (root & common) by adding `.disablePlugins(AssemblyPlugin)` to each one of them.\r\n\r\nOn the other hand, publishing fat jars is not recommended but if you really need to, there are some guidelines in the [sbt-assembly README](https://github.com/sbt/sbt-assembly/#publishing-not-recommended).\r\n\r\nCheers!"}}
{"actor":{"display_login":"pbassiner"}}