Giovds / outdated-maven-plugin

The Outdated Maven Plugin is a tool designed to help developers identify outdated dependencies in their Maven projects.
MIT License
16 stars 7 forks source link

Building a POM without dependencies results into an empty query resulting in a Bad Request #26

Closed Giovds closed 3 months ago

Giovds commented 3 months ago

➜  maven-archetypes git:(master) mvn com.giovds:outdated-maven-plugin:1.0.0:check
[INFO] Unable to find the root directory. Create a .mvn directory in the root directory or add the root="true" attribute on the root project's model to identify it.
[INFO] Scanning for projects...
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Maven Archetypes                                                                                              [pom]
[INFO] Maven Archetype Archetype                                                                                [maven-archetype]
[INFO] Maven Simple J2EE Archetype                                                                              [maven-archetype]
[INFO] Maven Plugin Archetype                                                                                   [maven-archetype]
[INFO] Maven Plugin Site Archetype                                                                              [maven-archetype]
[INFO] Maven Portlet Archetype                                                                                  [maven-archetype]
[INFO] Maven Quickstart Archetype                                                                               [maven-archetype]
[INFO] Maven Simple Project Archetype                                                                           [maven-archetype]
[INFO] Maven Site Archetype                                                                                     [maven-archetype]
[INFO] Maven Archetype for Simple Site                                                                          [maven-archetype]
[INFO] Maven Site Skin Archetype                                                                                [maven-archetype]
[INFO] Maven Webapp Archetype                                                                                   [maven-archetype]
[INFO]
[INFO] ---------------------------------< org.apache.maven.archetypes:maven-archetype-bundles >----------------------------------
[INFO] Building Apache Maven Archetypes 1.5-SNAPSHOT                                                                       [1/12]
[INFO]   from pom.xml
[INFO] ---------------------------------------------------------[ pom ]----------------------------------------------------------
[INFO]
[INFO] --- outdated:1.0.0:check (default-cli) @ maven-archetype-bundles ---
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven Archetypes 1.5-SNAPSHOT:
[INFO]
[INFO] Apache Maven Archetypes .............................................................................. FAILURE [  0.825 s]
[INFO] Maven Archetype Archetype ............................................................................ SKIPPED
[INFO] Maven Simple J2EE Archetype .......................................................................... SKIPPED
[INFO] Maven Plugin Archetype ............................................................................... SKIPPED
[INFO] Maven Plugin Site Archetype .......................................................................... SKIPPED
[INFO] Maven Portlet Archetype .............................................................................. SKIPPED
[INFO] Maven Quickstart Archetype ........................................................................... SKIPPED
[INFO] Maven Simple Project Archetype ....................................................................... SKIPPED
[INFO] Maven Site Archetype ................................................................................. SKIPPED
[INFO] Maven Archetype for Simple Site ...................................................................... SKIPPED
[INFO] Maven Site Skin Archetype ............................................................................ SKIPPED
[INFO] Maven Webapp Archetype ............................................................................... SKIPPED
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  0.969 s
[INFO] Finished at: 2024-07-15T21:55:56+02:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal com.giovds:outdated-maven-plugin:1.0.0:check (default-cli) on project maven-archetype-bundles: Failed to connect.: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Solr': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
[ERROR]  at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 6]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch
[ERROR] Re-run Maven using the '-X' switch to enable verbose output
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException```