jonathanlermitage / oga-maven-plugin

:jigsaw: Old GroupIds Alerter - A Maven plugin that checks for deprecated groupId+artifactId (e.g. did you know that graphql-spring-boot-starter moved from com.graphql-java to com.graphql-java-kickstart?).
https://central.sonatype.com/search?q=biz.lermitage.oga
MIT License
39 stars 7 forks source link

Strange output when not failing the build #26

Closed nickstolwijk closed 3 years ago

nickstolwijk commented 3 years ago

After solving #18 the build output is a little bit awkward when the flag is false.

[INFO] --- oga-maven-plugin:1.3.0:check (new-artifacts) @ railz.algemeen ---
[INFO] Old GroupId Alerter - github.com/jonathanlermitage/oga-maven-plugin
[INFO] Loading definitions from https://raw.githubusercontent.com/jonathanlermitage/oga-maven-plugin/master/uc/og-definitions.json
[INFO] Loaded 423 definitions, updated on 2021/06/27
[INFO] Checking dependencies...
[ERROR] 'javax.servlet:javax.servlet-api' should be replaced by 'jakarta.servlet:jakarta.servlet-api' (context: Java EE new home is Jakarta EE, see https://wiki.eclipse.org/Jakarta_EE_Maven_Coordinates)
[ERROR] Project has old dependencies; see warning/error messages
[INFO] No problem detected. Good job! :-)

I think the last line should be suppressed if there are errors.

jonathanlermitage commented 3 years ago

Whooops, good catch.
Will be fixed in next release.