Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

mvn clean package issue + project installation question #218

@sambk17

Description

@sambk17
Description

I previously use openapi-generator until v7.0.0 decommissioned the python client generator

I am new to opeanpi-json-schema-generator (previously used openapi-generator) and attempted the following to install based on the README:

Getting Started

I used:

git clone https://github.com/openapi-json-schema-tools/openapi-json-schema-generator
cd openapi-json-schema-generator
mvn clean package

This resulted in the following error:

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   URLPathUtilsTest.testGetServerURLWithVariables:115 expected [https://{user}.example.com/v1] but found [http://localhost]
[INFO]
[ERROR] Tests run: 463, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  36.743 s
[INFO] Finished at: 2023-08-25T16:20:21-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project openapi-json-schema-generator-cli: There are test failures.
[ERROR]
[ERROR] Please refer to /{local_pathway}/openapi-json-schema-generator/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 full debug logging.
[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/MojoFailureException
Install Jar directly from maven.org

Within the README, "You can also download the JAR (latest release) directly from maven.org"

⬆️ This link above does not exist (404) ⬆️ . In maven.org, I could not search for openapi-json-schema-generator-cli. Does this exist?

openapi-generator version

v3.0.0

OpenAPI declaration file content or url

N/A

Command line used for generation

N/A

Steps to reproduce

N/A

Related issues/PRs

N/A

Suggest a fix/enhancement
  • Will a v3.0.0 of the JAR be uploaded to maven.org?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions