{"action":"created","issue":{"url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/274","labels_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/274/comments","events_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/274/events","html_url":"https://github.com/earldouglas/xsbt-web-plugin/issues/274","id":96333450,"number":274,"title":"Publising to nexus artifactory","user":{"login":"wilmveel","id":3841133,"avatar_url":"https://avatars.githubusercontent.com/u/3841133?v=3","gravatar_id":"","url":"https://api.github.com/users/wilmveel","html_url":"https://github.com/wilmveel","followers_url":"https://api.github.com/users/wilmveel/followers","following_url":"https://api.github.com/users/wilmveel/following{/other_user}","gists_url":"https://api.github.com/users/wilmveel/gists{/gist_id}","starred_url":"https://api.github.com/users/wilmveel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilmveel/subscriptions","organizations_url":"https://api.github.com/users/wilmveel/orgs","repos_url":"https://api.github.com/users/wilmveel/repos","events_url":"https://api.github.com/users/wilmveel/events{/privacy}","received_events_url":"https://api.github.com/users/wilmveel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-21T14:38:13Z","updated_at":"2015-07-22T07:24:19Z","closed_at":null,"body":"We are using het xsbt-web-plugin to package our spray app into a war file. When we publish to the nexus enviroment not the war file but the jar is uploaded.\r\n"},"comment":{"url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/comments/123589085","html_url":"https://github.com/earldouglas/xsbt-web-plugin/issues/274#issuecomment-123589085","issue_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/274","id":123589085,"user":{"login":"wilmveel","id":3841133,"avatar_url":"https://avatars.githubusercontent.com/u/3841133?v=3","gravatar_id":"","url":"https://api.github.com/users/wilmveel","html_url":"https://github.com/wilmveel","followers_url":"https://api.github.com/users/wilmveel/followers","following_url":"https://api.github.com/users/wilmveel/following{/other_user}","gists_url":"https://api.github.com/users/wilmveel/gists{/gist_id}","starred_url":"https://api.github.com/users/wilmveel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilmveel/subscriptions","organizations_url":"https://api.github.com/users/wilmveel/orgs","repos_url":"https://api.github.com/users/wilmveel/repos","events_url":"https://api.github.com/users/wilmveel/events{/privacy}","received_events_url":"https://api.github.com/users/wilmveel/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T07:24:19Z","updated_at":"2015-07-22T07:24:19Z","body":"I found this code snipt online. Maybe I is missing the part where it creates the Artifact for publishing the war.\r\n\r\n````\r\n// create an Artifact for publishing the .war file\r\nartifact in (Compile, packageWar) ~= { (art: Artifact) =>\r\n  art.copy(`type` = \"war\", extension = \"war\")\r\n}\r\n\r\n// add the .war file to what gets published\r\naddArtifact(artifact in (Compile, packageWar), packageWar)\r\n\r\n````"}}