generator-jhipster: Broken build with production profile
Overview of the issue
Since 2 days, something has changed and the build with production profile is broken: it is impossible to login.
Here the builds: https://travis-ci.org/hipster-labs/jhipster-travis-build/branches
Motivation for or Use Case
Reproduce the error
In current master:
- build in production profile
- launch the application with
java -jar target/*.war - try to login
I manage to reproduce the same issue in 4.13.0 and 4.12.0 too… So, I think it comes from a transitive library.
Related issues
N/A
Suggest a Fix
N/A
JHipster Version(s)
master 4.13.0 4.12.0
JHipster Version(s)
jhipster@0.0.0 /home/pgrimaud/tmp/23-default-4.13.0
└── generator-jhipster@4.12.0 -> /home/pgrimaud/projects/jhipster/generator-jhipster invalid
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
"generator-jhipster": {
"promptValues": {
"packageName": "io.github.pascalgrimaud",
"nativeLanguage": "en"
},
"jhipsterVersion": "4.13.0",
"baseName": "jhipster",
"packageName": "io.github.pascalgrimaud",
"packageFolder": "io/github/pascalgrimaud",
"serverPort": "8080",
"authenticationType": "jwt",
"hibernateCache": "ehcache",
"clusteredHttpSession": false,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "mysql",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": false,
"buildTool": "maven",
"enableSocialSignIn": false,
"enableSwaggerCodegen": false,
"jwtSecretKey": "replaced-by-jhipster-info",
"clientFramework": "angularX",
"useSass": false,
"clientPackageManager": "yarn",
"applicationType": "monolith",
"testFrameworks": [
"gatling",
"protractor"
],
"jhiPrefix": "jhi",
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en"
]
}
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
Environment and Tools
openjdk version “1.8.0_151” OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
git version 2.14.1
node: v8.9.3
npm: 5.6.0
bower: 1.8.2
gulp: [14:09:35] CLI version 3.9.1
yeoman: 2.0.0
yarn: 1.3.2
Docker version 17.09.0-ce, build afdb6d4
docker-compose version 1.16.1, build 6d1ac21
Congratulations, JHipster execution is complete!
- Checking this box is mandatory (this is just to show you read everything)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (22 by maintainers)
FYI there is the same problem:
So not fixing transitive dependencies, which I’ve always said is a huge mistake (see our Policy 4), has broken all Angular builds in the world. Congrats.
I was just going to suggest to commit the yarn.lock as part of generated code but I’m not sure it’s possible as this would need to include all possible generated package.json combinations.