Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] create jar without version in openapi-generator-online #876

Merged
merged 2 commits into from
Aug 24, 2018

Conversation

jmini
Copy link
Member

@jmini jmini commented Aug 23, 2018

Instead of:

modules/openapi-generator-online/target/openapi-generator-online-3.2.3-SNAPSHOT.jar

The openapi-generator-online artifact is locally generated at:

modules/openapi-generator-online/target/openapi-generator-online.jar

This is much simpler for other scripts and Dockerfiles, relying on this jar.


This way we are consistent with the openapi-generator-cli artifact.

Simplify other scripts needing this jar
Consistent with openapi-generator-cli
@jmini jmini merged commit 010b469 into OpenAPITools:master Aug 24, 2018
@jmini jmini added this to the 3.2.3 milestone Aug 24, 2018
@jmini
Copy link
Member Author

jmini commented Aug 24, 2018

Docker image tested with:

docker pull openapitools/openapi-generator-online
docker run -d -p 8989:8080 -e GENERATOR_HOST=http://localhost:8989 openapitools/openapi-generator-online

http://localhost:8989/ is responding.

jimschubert added a commit that referenced this pull request Aug 28, 2018
An update was made in #876 to remove version from the generated artifact
for openapi-generator-online. The change is missing the -online suffix.
My original glob pattern put the * in the wrong place for
maintainability.
@@ -26,7 +26,7 @@ RUN mkdir -p ${TARGET_DIR}

WORKDIR ${TARGET_DIR}

COPY --from=builder ${GEN_DIR}/modules/openapi-generator-online/target/openapi-generator-*.jar ${TARGET_DIR}/openapi-generator-online.jar
COPY --from=builder ${GEN_DIR}/modules/openapi-generator-online/target/openapi-generator.jar ${TARGET_DIR}/openapi-generator-online.jar
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be openapi-generator-online/target/openapi-generator-online.jar => See #914

jimschubert added a commit that referenced this pull request Aug 28, 2018
An update was made in #876 to remove version from the generated artifact
for openapi-generator-online. The change is missing the -online suffix.
My original glob pattern put the * in the wrong place for
maintainability.
A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
…PITools#876)

Simplify other scripts needing this jar
Consistent with openapi-generator-cli
A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
An update was made in OpenAPITools#876 to remove version from the generated artifact
for openapi-generator-online. The change is missing the -online suffix.
My original glob pattern put the * in the wrong place for
maintainability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants