{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3365","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3365/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3365/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3365/events","html_url":"https://github.com/jhipster/generator-jhipster/pull/3365","id":146756278,"number":3365,"title":"Fix for #3356 : yeoman-maven-plugin to frontend-maven-plugin migration","user":{"login":"ddewaele","id":364310,"avatar_url":"https://avatars.githubusercontent.com/u/364310?v=3","gravatar_id":"","url":"https://api.github.com/users/ddewaele","html_url":"https://github.com/ddewaele","followers_url":"https://api.github.com/users/ddewaele/followers","following_url":"https://api.github.com/users/ddewaele/following{/other_user}","gists_url":"https://api.github.com/users/ddewaele/gists{/gist_id}","starred_url":"https://api.github.com/users/ddewaele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddewaele/subscriptions","organizations_url":"https://api.github.com/users/ddewaele/orgs","repos_url":"https://api.github.com/users/ddewaele/repos","events_url":"https://api.github.com/users/ddewaele/events{/privacy}","received_events_url":"https://api.github.com/users/ddewaele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/needs-change","name":"needs-change","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-07T22:09:18Z","updated_at":"2016-04-14T06:10:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/pulls/3365","html_url":"https://github.com/jhipster/generator-jhipster/pull/3365","diff_url":"https://github.com/jhipster/generator-jhipster/pull/3365.diff","patch_url":"https://github.com/jhipster/generator-jhipster/pull/3365.patch"},"body":"Using the [frontend-maven-plugin](https://github.com/eirslett/frontend-maven-plugin) to \r\n\r\n- Control what version of node / npm / bower / gulp / ... we want to use\r\n- More traction than the current [yeoman-maven-plugin](https://github.com/trecloux/yeoman-maven-plugin)\r\n- Will make jHipster less dependant on external node/npm installations or global node modules (like bower)\r\n- Will download the specified version of node / npm in the project dir if it hasn't done so already.\r\n- Will use the version of Gulp / Bower specified in package.json (and not some global version)\r\n\r\nWe should perhaps do something similar for Gradle builds and might want to update the [Setting up CI docs](http://jhipster.github.io/setting-up-ci/) as these should become much simpler now. (no need for NodeJS plugins / local node npm installations / global modules)\r\n\r\nFeedback welcome\r\n\r\nPartial ```mvn clean install -Pprod``` output : \r\n\r\n```\r\n[INFO] --- frontend-maven-plugin:0.0.27:install-node-and-npm (install node and npm) @ test-3 ---\r\n[INFO] Found proxies: []\r\n[INFO] Node v5.10.1 is already installed.\r\n[INFO] Found NPM version 3.8.3\r\n[INFO] \r\n[INFO] --- frontend-maven-plugin:0.0.27:npm (npm install) @ test-3 ---\r\n[INFO] Found proxies: []\r\n[INFO] Running 'npm install --color=false' in /Users/ddewaele/Projects/jHipster/test3\r\n[INFO] \r\n[INFO] --- frontend-maven-plugin:0.0.27:bower (bower install) @ test-3 ---\r\n[INFO] Found proxies: []\r\n[INFO] Running 'bower install --no-color' in /Users/ddewaele/Projects/jHipster/test3\r\n[INFO] \r\n[INFO] --- frontend-maven-plugin:0.0.27:gulp (gulp build) @ test-3 ---\r\n[INFO] Running 'gulp.js build --no-notification --no-color' in /Users/ddewaele/Projects/jHipster/test3\r\n[INFO] [23:53:48] Using gulpfile ~/Projects/jHipster/test3/gulpfile.js\r\n[INFO] [23:53:48] Starting 'clean'...\r\n[INFO] [23:53:48] Finished 'clean' after 4.11 ms\r\n[INFO] [23:53:48] Starting 'build'...\r\n[INFO] [23:53:48] Starting 'copy'...\r\n[INFO] [23:53:48] Starting 'wiredep:app'...\r\n[INFO] [23:53:48] Starting 'ngconstant:prod'...\r\n[INFO] [23:53:48] Starting 'languages'...\r\n[INFO] [23:53:48] Finished 'ngconstant:prod' after 75 ms\r\n[INFO] [23:53:48] Finished 'languages' after 71 ms\r\n[INFO] [23:53:48] Finished 'wiredep:app' after 123 ms\r\n[INFO] [23:53:48] Finished 'copy' after 165 ms\r\n[INFO] [23:53:48] Starting 'inject'...\r\n[INFO] [23:53:48] gulp-inject 100 files into index.html.\r\n[INFO] [23:53:48] Finished 'inject' after 136 ms\r\n[INFO] [23:53:48] Starting 'images'...\r\n[INFO] [23:53:48] Starting 'styles'...\r\n[INFO] [23:53:48] Starting 'html'...\r\n[INFO] [23:53:48] Finished 'styles' after 7.05 ms\r\n[INFO] [23:53:48] Finished 'html' after 148 ms\r\n[INFO] [23:53:50] gulp-imagemin: Minified 3 images (saved 2.33 kB - 5.8%)\r\n[INFO] [23:53:50] Finished 'images' after 1.89 s\r\n[INFO] [23:53:50] Starting 'assets:prod'...\r\n[INFO] [23:54:01] Finished 'assets:prod' after 11 s\r\n[INFO] [23:54:01] Finished 'build' after 13 s\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/209777083","html_url":"https://github.com/jhipster/generator-jhipster/pull/3365#issuecomment-209777083","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3365","id":209777083,"user":{"login":"deepu105","id":1107223,"avatar_url":"https://avatars.githubusercontent.com/u/1107223?v=3","gravatar_id":"","url":"https://api.github.com/users/deepu105","html_url":"https://github.com/deepu105","followers_url":"https://api.github.com/users/deepu105/followers","following_url":"https://api.github.com/users/deepu105/following{/other_user}","gists_url":"https://api.github.com/users/deepu105/gists{/gist_id}","starred_url":"https://api.github.com/users/deepu105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepu105/subscriptions","organizations_url":"https://api.github.com/users/deepu105/orgs","repos_url":"https://api.github.com/users/deepu105/repos","events_url":"https://api.github.com/users/deepu105/events{/privacy}","received_events_url":"https://api.github.com/users/deepu105/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T06:10:14Z","updated_at":"2016-04-14T06:10:14Z","body":"im ok with this"}}