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

Output warnings instead of failing the build #18

Closed nickstolwijk closed 3 years ago

nickstolwijk commented 3 years ago

I would like to add this plugin to our standard build to make developers aware of these relocations. Unfortunately, the plugin only supports the failing of the build instead of just output warnings.

Could it be an option to not fail the build?

jonathanlermitage commented 3 years ago

Good idea. Will publish a new release soon (1.3.0).

jonathanlermitage commented 3 years ago

1.3.0 released and published to maven central. It should be visible in a few days (you can check https://search.maven.org/artifact/biz.lermitage.oga/oga-maven-plugin).
You can configure the plugin this way:

            <plugin>
                <groupId>biz.lermitage.oga</groupId>
                <artifactId>oga-maven-plugin</artifactId>
                <version>1.3.0</version>
                <configuration>
                    <failOnError>false</failOnError>
                </configuration>
            </plugin>
jonathanlermitage commented 3 years ago

Done, you can upgrade to 1.3.0 ;-) @nickstolwijk