{"action":"created","issue":{"url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/38","repository_url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin","labels_url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/38/comments","events_url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/38/events","html_url":"https://github.com/lgrignon/jsweet-maven-plugin/issues/38","id":272605641,"number":38,"title":"Configure path to jsweetconfig.json and jsweet_extension","user":{"login":"ADegele","id":32536556,"avatar_url":"https://avatars3.githubusercontent.com/u/32536556?v=4","gravatar_id":"","url":"https://api.github.com/users/ADegele","html_url":"https://github.com/ADegele","followers_url":"https://api.github.com/users/ADegele/followers","following_url":"https://api.github.com/users/ADegele/following{/other_user}","gists_url":"https://api.github.com/users/ADegele/gists{/gist_id}","starred_url":"https://api.github.com/users/ADegele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADegele/subscriptions","organizations_url":"https://api.github.com/users/ADegele/orgs","repos_url":"https://api.github.com/users/ADegele/repos","events_url":"https://api.github.com/users/ADegele/events{/privacy}","received_events_url":"https://api.github.com/users/ADegele/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-09T15:30:56Z","updated_at":"2017-11-30T08:22:41Z","closed_at":null,"author_association":"NONE","body":"We are changing our maven build to a multi-module build. Assume a directory layout like this: \r\n```\r\nproject\r\n    module1\r\n        pom.xml (with jsweet plugin)\r\n        jsweetconfig.json\r\n        jsweet_extension\r\n    module2\r\n```\r\nOur old build script changes the working directory to each module and calls maven inside:\r\n```\r\ncd module1;\r\nmaven install;\r\ncd ../module2;\r\nmaven install;\r\n[...]\r\n```\r\nNow we would just run maven install on our root pom. This change means that the working directory is now `project` instead of `project/module1`. Because of that, the jsweet plugin does not find the `jsweetconfig.json` or the `jsweet_extension` folder.\r\n\r\nAs a quick fix, I'm going to pull these two up one level, which means I cannot run a `cd module1; maven install;` all by itself. \r\nThe best way to fix it would be to add a parameter to the plugin configuration to specify these two paths with something like `${project.basedir}/jsweetconfig.json`.\r\nAny thoughts on this? Can you add these parameters for the next release, please?"},"comment":{"url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/comments/348115722","html_url":"https://github.com/lgrignon/jsweet-maven-plugin/issues/38#issuecomment-348115722","issue_url":"https://api.github.com/repos/lgrignon/jsweet-maven-plugin/issues/38","id":348115722,"user":{"login":"ADegele","id":32536556,"avatar_url":"https://avatars3.githubusercontent.com/u/32536556?v=4","gravatar_id":"","url":"https://api.github.com/users/ADegele","html_url":"https://github.com/ADegele","followers_url":"https://api.github.com/users/ADegele/followers","following_url":"https://api.github.com/users/ADegele/following{/other_user}","gists_url":"https://api.github.com/users/ADegele/gists{/gist_id}","starred_url":"https://api.github.com/users/ADegele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADegele/subscriptions","organizations_url":"https://api.github.com/users/ADegele/orgs","repos_url":"https://api.github.com/users/ADegele/repos","events_url":"https://api.github.com/users/ADegele/events{/privacy}","received_events_url":"https://api.github.com/users/ADegele/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T08:22:41Z","updated_at":"2017-11-30T08:22:41Z","author_association":"NONE","body":"The project structure outlined above worked with Version 2.0.1-SNAPSHOT, but does not work anymore with Version 2.0.1 or 2.1.0-SNAPSHOT.\r\nWhen running mvn generate-source on the root project, JSweet generates its output relative to the root project instead of relative to the module1.pom. It also doesn't find `jsweetconfig.json` nor `jsweet_extension`"}}
{"actor":{"display_login":"ADegele"}}