From e60583288ca76751126eff67a51b2b2a2222275a Mon Sep 17 00:00:00 2001 From: Jeremie Bresson Date: Tue, 14 Aug 2018 07:23:20 +0200 Subject: [PATCH] Prepare maven SNAPSHOT version --- Dockerfile | 2 +- README.md | 2 +- pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01e6308..321c7a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /petstore ENV OPENAPI_BASE_PATH=/v3 -COPY target/openapi-petstore-3.0.0.jar /petstore/openapi-petstore.jar +COPY target/openapi-petstore.jar /petstore/openapi-petstore.jar EXPOSE 8080 diff --git a/README.md b/README.md index 31d448e..64490b8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ mvn spring-boot:run Or package it then run it as a Java application ``` mvn package -java -jar target/openapi-petstore-{VERSION}.jar +java -jar target/openapi-petstore.jar ``` You can view the api documentation in swagger-ui by pointing to diff --git a/pom.xml b/pom.xml index 62a43b8..d5e5722 100644 --- a/pom.xml +++ b/pom.xml @@ -1,10 +1,10 @@ 4.0.0 - org.openapitools + org.openapitools.petstore openapi-petstore jar openapi-petstore - 3.0.0 + 3.0.0-SNAPSHOT 1.8 ${java.version} @@ -15,6 +15,7 @@ spring-boot-starter-parent 2.0.2.RELEASE + https://github.com/openapitools/openapi-petstore Apache License 2.0 @@ -23,6 +24,7 @@ + openapi-petstore src/main/java @@ -117,4 +119,40 @@ validation-api + + scm:git:git@github.com:openapitools/openapi-petstore.git + scm:git:git@github.com:openapitools/openapi-petstore.git + https://github.com/openapitools/openapi-petstore + + + + cbornet + Christophe Bornet + cbornet@hotmail.com + + + wing328 + William Cheng + wing328hk@gmail.com + + + jmini + Jérémie Bresson + dev@jmini.fr + + + + github + https://github.com/openapitools/openapi-generator/issues + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + +