--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/d818d56d-76d4-4190-b86c-ea053821d892%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CADNXADEc%3DD8EsauTrwgapeVxVfRUq%2BZWFUvvn0JVrNKGsCM1hA%40mail.gmail.com.
I do a git rebase and regenerate the project on the commit where it was generated. And then just git rebase --continue and then solve the conflicts that may occur if any commit of yours after the generation is not applyable.
Works well if you only work on one branch and all other developers are aware that they will need to reset their master branch after this.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CAFhCnT4cV4SzQcTyHtvG1TPuXcLM%2BTaxBLMe1hMag3pTKXyrBQ%40mail.gmail.com.
<parent>
<artifactId>spring-boot-starter-parent</artifactId>
<groupId>org.springframework.boot</groupId>
<version>1.2.6.RELEASE</version>
<relativePath/>
</parent>
To fix it, I tried the following steps in the project I want to upgrade:
rm -rf node_modules src/main/webapp/bower_components/
Confirmed that package.json has "generator-jhipster": "2.22.0"
npm install
yo jhipster
I'm still getting the same results of my pom.xml having spring-boot 1.2.6.RELEASE.
Another attempt I made was to delete my forked project and clone generator-jhipster directly. After doing so, I ran "npm install && npm link" in the cloned project.
Then I ran the same steps listed above on the project I wanted to upgrade. Again, "yo jhipster" doesn't upgrade my pom.xml. Here's some snippets from "npm install".
y...@1.4.8 node_modules/yo ├── titl...@1.0.0 ├── array...@1.0.2 ├── fig...@1.4.0 ├── as...@1.4.2 ├── o...@3.0.2 (object...@3.0.0) ├── yeoman-c...@1.0.1 (support...@1.3.1) ├── string...@1.0.1 (strip...@3.0.0) ├── user...@2.0.0 (os-ho...@1.0.1) ├── ch...@1.1.1 (support...@2.0.0, ansi-...@2.1.0, escape-str...@1.0.3, has-...@2.0.0, strip...@3.0.0) ├── humaniz...@1.0.1 (decam...@1.0.0) ├── sor...@1.2.2 (arr...@1.0.0, dot-...@2.2.0) ├── fin...@0.1.5 (comm...@2.1.0, col...@0.6.2) ├── repe...@1.1.3 (is-f...@1.0.1) ├── root-...@1.0.0 (sudo-...@1.2.0, downgra...@1.1.0) ├── yo...@1.0.5 (ansi-...@2.1.0, ansi-...@1.1.1, word...@1.1.0, pad-co...@0.0.1, strip...@2.0.1, take...@1.0.0, mini...@1.2.0, string...@1.0.1) ├── confi...@1.2.1 (os-t...@1.0.1, object...@3.0.0, grace...@4.1.2, xdg-b...@2.0.0, uu...@2.0.1, os...@0.1.3, write-fi...@1.1.3, mkd...@0.5.1) ├── update-...@0.5.0 (is-...@1.0.0, latest-...@1.0.1, semve...@2.0.0) ├── g...@4.2.0 (lowerca...@1.0.0, time...@2.0.0, is-s...@1.0.1, is-re...@1.0.0, is-pla...@1.0.0, prepen...@1.0.3, unzip-r...@1.0.0, object...@3.0.0, node-sta...@1.0.0, create-er...@2.0.1, pinkie-...@1.0.0, parse...@2.2.0, read-al...@3.0.1, dupl...@3.4.2) ├── full...@1.1.1 (npm...@2.1.2) ├── packag...@1.2.0 (regist...@3.0.3, g...@3.3.1) ├── npm-k...@1.2.0 (regist...@3.0.3, g...@3.3.1) ├── cross...@0.4.1 (lru-...@2.7.0, spawn...@1.0.13) ├── inqu...@0.9.0 (strip...@3.0.0, ansi-...@2.0.0, cli-...@1.1.0, thr...@2.3.8, run-...@0.1.0, read...@0.1.1, rx-...@2.5.2) ├── me...@3.4.2 (loud-re...@1.0.0, object...@4.0.1, trim-n...@1.0.0, mini...@1.2.0, camelca...@1.0.0, red...@1.0.0, read-...@1.0.1, normalize-p...@2.3.4) ├── yeoman...@1.4.0 (log-s...@1.0.2, object...@1.0.0, user...@1.1.1, each-...@1.1.1, sem...@4.3.6, bin-vers...@2.1.0, tw...@0.8.2) ├── ins...@0.6.0 (object...@2.1.1, lodash....@3.1.1, as...@0.9.2, os-...@1.0.3, tough-...@1.2.0, req...@2.65.0, inqu...@0.8.5) └── yeoman-en...@1.2.7 (escape-str...@1.0.3, log-s...@1.0.2, di...@1.4.0, text-...@0.2.0, unti...@2.1.0, de...@2.2.0, mem...@1.1.0, glo...@2.1.0, groupe...@0.3.0, inqu...@0.8.5) generator...@2.22.0 node_modules/generator-jhipster ├── html-...@1.1.0 ├── word...@1.0.0 ├── mkd...@0.5.1 (mini...@0.0.8) ├── she...@0.5.0 ├── ch...@1.0.0 (escape-str...@1.0.3, ansi-...@2.1.0, support...@1.3.1, strip...@2.0.1, has-...@1.0.3) ├── e...@2.3.4 ├── undersco...@3.2.0 ├── che...@0.19.0 (enti...@1.1.1, dom-ser...@0.1.0, css-s...@1.0.0, htmlp...@3.8.3) ├── lod...@3.10.0 ├── ins...@0.6.0 (object...@2.1.1, lodash....@3.1.1, as...@0.9.2, confi...@1.2.1, os-...@1.0.3, tough-...@1.2.0, req...@2.65.0, inqu...@0.8.5) ├── yeoman-g...@0.20.3 (read-...@1.0.1, path-...@1.0.0, path-is-...@1.0.0, detect-...@1.0.0, yeoman-...@1.0.1, yeoman...@2.1.0, rim...@2.4.3, as...@1.4.2, text-...@0.2.0, mi...@1.3.4, xdg-b...@2.0.0, user...@2.0.0, da...@4.0.1, class-...@0.1.2, de...@2.2.0, no...@3.0.4, istexto...@1.0.2, run-...@0.1.0, thro...@2.0.0, cli-...@0.3.1, gl...@5.0.15, di...@2.1.3, findu...@0.2.1, mem-fs...@2.0.4, cross...@2.0.0, datef...@1.0.11, pretty...@2.0.1, github-...@2.0.0, down...@4.3.1, yeoman-en...@1.2.7, gruntfil...@1.0.0, si...@1.17.1, inqu...@0.8.5) └── y...@1.4.6 (titl...@1.0.0, array...@1.0.2, fig...@1.4.0, user...@1.1.1, o...@1.0.2, humaniz...@1.0.1, as...@0.9.2, yeoman-c...@1.0.1, sor...@1.2.2, string...@1.0.1, cross...@0.2.9, fin...@0.1.5, root-...@1.0.0, yo...@1.0.5, update-...@0.3.2, g...@2.9.2, npm-k...@1.2.0, packag...@1.2.0, me...@3.4.2, full...@1.1.1, confi...@0.3.2, ins...@0.5.3, yeoman-en...@1.2.7, yeoman...@1.4.0, inqu...@0.8.5)
I confirmed that both projects use the same npm.
$ which npm
/usr/local/opt/nvm/versions/node/v0.12.4/bin/npm