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

Simplify other scripts needing this jar
Consistent with openapi-generator-cli
This commit is contained in:
Jérémie Bresson 2018-08-24 08:50:26 +02:00 committed by GitHub
parent f802f8b7d7
commit 010b469914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ RUN mkdir -p ${TARGET_DIR}
WORKDIR ${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
ENV GENERATOR_HOST=http://localhost ENV GENERATOR_HOST=http://localhost

View File

@ -45,7 +45,6 @@ declare -a files=("CI/pom.xml.bash"
"modules/openapi-generator-maven-plugin/pom.xml" "modules/openapi-generator-maven-plugin/pom.xml"
"modules/openapi-generator-online/pom.xml" "modules/openapi-generator-online/pom.xml"
"modules/openapi-generator/pom.xml" "modules/openapi-generator/pom.xml"
"modules/openapi-generator-online/Dockerfile"
"pom.xml") "pom.xml")
for filename in "${files[@]}"; do for filename in "${files[@]}"; do

View File

@ -2,7 +2,7 @@ FROM openjdk:8-jre-alpine
WORKDIR /generator WORKDIR /generator
COPY target/openapi-generator-online-3.2.3-SNAPSHOT.jar /generator/openapi-generator-online.jar COPY target/openapi-generator-online.jar /generator/openapi-generator-online.jar
ENV GENERATOR_HOST=http://localhost ENV GENERATOR_HOST=http://localhost

View File

@ -27,6 +27,7 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<build> <build>
<finalName>openapi-generator-online</finalName>
<sourceDirectory>src/main/java</sourceDirectory> <sourceDirectory>src/main/java</sourceDirectory>
<plugins> <plugins>
<plugin> <plugin>