{"action":"created","issue":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/634","repository_url":"https://api.github.com/repos/axa-ch/style-guide","labels_url":"https://api.github.com/repos/axa-ch/style-guide/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/axa-ch/style-guide/issues/634/comments","events_url":"https://api.github.com/repos/axa-ch/style-guide/issues/634/events","html_url":"https://github.com/axa-ch/style-guide/issues/634","id":181998830,"number":634,"title":"Maven + Better-npm-run env vars lost","user":{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axa-ch/style-guide/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidknezic","id":198988,"avatar_url":"https://avatars.githubusercontent.com/u/198988?v=3","gravatar_id":"","url":"https://api.github.com/users/davidknezic","html_url":"https://github.com/davidknezic","followers_url":"https://api.github.com/users/davidknezic/followers","following_url":"https://api.github.com/users/davidknezic/following{/other_user}","gists_url":"https://api.github.com/users/davidknezic/gists{/gist_id}","starred_url":"https://api.github.com/users/davidknezic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidknezic/subscriptions","organizations_url":"https://api.github.com/users/davidknezic/orgs","repos_url":"https://api.github.com/users/davidknezic/repos","events_url":"https://api.github.com/users/davidknezic/events{/privacy}","received_events_url":"https://api.github.com/users/davidknezic/received_events","type":"User","site_admin":false},{"login":"sventschui","id":512692,"avatar_url":"https://avatars.githubusercontent.com/u/512692?v=3","gravatar_id":"","url":"https://api.github.com/users/sventschui","html_url":"https://github.com/sventschui","followers_url":"https://api.github.com/users/sventschui/followers","following_url":"https://api.github.com/users/sventschui/following{/other_user}","gists_url":"https://api.github.com/users/sventschui/gists{/gist_id}","starred_url":"https://api.github.com/users/sventschui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sventschui/subscriptions","organizations_url":"https://api.github.com/users/sventschui/orgs","repos_url":"https://api.github.com/users/sventschui/repos","events_url":"https://api.github.com/users/sventschui/events{/privacy}","received_events_url":"https://api.github.com/users/sventschui/received_events","type":"User","site_admin":false},{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},{"login":"elessar-ch","id":7779684,"avatar_url":"https://avatars.githubusercontent.com/u/7779684?v=3","gravatar_id":"","url":"https://api.github.com/users/elessar-ch","html_url":"https://github.com/elessar-ch","followers_url":"https://api.github.com/users/elessar-ch/followers","following_url":"https://api.github.com/users/elessar-ch/following{/other_user}","gists_url":"https://api.github.com/users/elessar-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/elessar-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elessar-ch/subscriptions","organizations_url":"https://api.github.com/users/elessar-ch/orgs","repos_url":"https://api.github.com/users/elessar-ch/repos","events_url":"https://api.github.com/users/elessar-ch/events{/privacy}","received_events_url":"https://api.github.com/users/elessar-ch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-10T12:07:18Z","updated_at":"2016-10-10T18:07:10Z","closed_at":null,"body":"If we kick-off our build with maven our environment variable of `NODE_ENV` is not considered.\r\nTo quickly fix it I had to hardcode it inside our `pom.xml`, like:\r\n\r\n````xml\r\n<configuration>\r\n    <executable>node</executable>\r\n    <environmentVariables>\r\n        <BASE_URL>/src/</BASE_URL>\r\n        <NODE_ENV>production</NODE_ENV>\r\n    </environmentVariables>\r\n    <arguments>\r\n    \t<argument>node_modules/gulp/bin/gulp.js</argument>\r\n        <argument>build</argument>\r\n        <argument>--harmony</argument>\r\n    </arguments>\r\n</configuration>\r\n````\r\n\r\nAny ideas?\r\n\r\nI created an issue at https://github.com/benoror/better-npm-run/issues/53"},"comment":{"url":"https://api.github.com/repos/axa-ch/style-guide/issues/comments/252696313","html_url":"https://github.com/axa-ch/style-guide/issues/634#issuecomment-252696313","issue_url":"https://api.github.com/repos/axa-ch/style-guide/issues/634","id":252696313,"user":{"login":"AndyOGo","id":914443,"avatar_url":"https://avatars.githubusercontent.com/u/914443?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyOGo","html_url":"https://github.com/AndyOGo","followers_url":"https://api.github.com/users/AndyOGo/followers","following_url":"https://api.github.com/users/AndyOGo/following{/other_user}","gists_url":"https://api.github.com/users/AndyOGo/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyOGo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyOGo/subscriptions","organizations_url":"https://api.github.com/users/AndyOGo/orgs","repos_url":"https://api.github.com/users/AndyOGo/repos","events_url":"https://api.github.com/users/AndyOGo/events{/privacy}","received_events_url":"https://api.github.com/users/AndyOGo/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T18:07:10Z","updated_at":"2016-10-10T18:07:10Z","body":"@davidknezic \r\nrooofl\r\nThat's my bad, I was so convinced that this maven stuff is utilizing `npm run build` I did not even look at it. Now that you are saying it ... I see it ... 😵 "}}
{"actor":{"display_login":"AndyOGo"}}