generator-jhipster
generator-jhipster copied to clipboard
Plugin validation issues exist with 2 plugins
Overview of the issue
When I create a new project with blog-oauth2.jdl
(after fixing for v8), there's some warnings about Maven plugins:
[WARNING] Plugin validation issues were detected in 2 plugin(s)
[WARNING]
[WARNING] * com.github.eirslett:frontend-maven-plugin:1.12.1
[WARNING] * org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
Motivation for or Use Case
It doesn't look good to have warnings from build files.
Reproduce the error
jhipster jdl blog-oauth2.jdl
# fix JDL by adding User with builtInEntity and run again
These warnings happen as part of the app creation process.
JHipster Version(s)
main
branch
[email protected] /Users/mraible/Downloads/oauth
└── (empty)
JHipster configuration, a .yo-rc.json
file generated in the root folder
.yo-rc.json file
{ "applicationIndex": 0, "applicationType": "monolith", "authenticationType": "oauth2", "baseName": "blog", "buildTool": "maven", "cacheProvider": "ehcache", "clientFramework": "angular", "clientTheme": "none", "clientThemeVariant": "", "creationTimestamp": 1686436859339, "databaseType": "sql", "devDatabaseType": "h2Disk", "devServerPort": 4200, "dtoSuffix": "DTO", "enableGradleEnterprise": false, "enableHibernateCache": true, "enableSwaggerCodegen": false, "enableTranslation": true, "entities": [ "Blog", "Post", "Tag" ], "entitySuffix": "", "jhiPrefix": "jhi", "jhipsterVersion": "7.10.0", "languages": [ "en", "fr" ], "lastLiquibaseTimestamp": 1686436861000, "messageBroker": "no", "nativeLanguage": "en", "packageFolder": "com/jhipster/demo/blog", "packageName": "com.jhipster.demo.blog", "pages": [], "prodDatabaseType": "mysql", "reactive": false, "searchEngine": "no", "serverPort": 8080, "serviceDiscoveryType": "no", "skipCheckLengthOfIdentifier": false, "skipClient": false, "skipFakeData": false, "skipUserManagement": true, "testFrameworks": [ "cypress" ], "websocket": "no", "withAdminUi": true }
Environment and Tools
openjdk version "17.0.5" 2022-10-18 LTS OpenJDK Runtime Environment GraalVM 22.3.0 (build 17.0.5+8-LTS) OpenJDK 64-Bit Server VM GraalVM 22.3.0 (build 17.0.5+8-LTS, mixed mode, sharing)
git version 2.39.2 (Apple Git-143)
node: v18.13.0 npm: 9.6.5
Docker version 23.0.5, build bc4487a
JDL for the Entity configuration(s) entityName.json
files generated in the .jhipster
directory
JDL entity definitions
entity Blog { name String required minlength(3) handle String required minlength(2) } entity Post { title String required content TextBlob required date Instant required } entity Tag { name String required minlength(2) } relationship ManyToOne { Blog{user(login)} to User with builtInEntity Post{blog(name)} to Blog } relationship ManyToMany { Post{tag(name)} to Tag{entry} } search Blog, Post, Tag with no paginate Post, Tag with infinite-scroll