diff --git a/.travis/settings.xml b/.travis/settings.xml index 4cd269f778..0f9a1bb7b8 100644 --- a/.travis/settings.xml +++ b/.travis/settings.xml @@ -10,6 +10,11 @@ ${env.OPENAPITOOLS_SONATYPE_USERNAME} ${env.OPENAPITOOLS_SONATYPE_PASSWORD} + + ossrh + ${env.OPENAPITOOLS_SONATYPE_USERNAME} + ${env.OPENAPITOOLS_SONATYPE_PASSWORD} + diff --git a/README.md b/README.md index 8691830953..59d9de6cf8 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,12 @@ This is a fork of [swagger-api/swagger-parser](https://github.com/swagger-api/swagger-parser) to work on use cases for [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator). Work is made in the `2.0-OpenAPITools` branch. -There is no release of this branch (`SNAPSHOT` version only). Maven `groupId` was changed to: `org.openapitools.swagger.parser` +There are `SNAPSHOT` and [released](https://github.com/OpenAPITools/swagger-parser/releases) version from this branch. +Released versions use `OpenAPITools.org-*` suffix in their name to distinguish them from official version. +Released versions should be used until the next offical version is published. + If you want to change something in this project, be sure to also file a PR in [swagger-api/swagger-parser](https://github.com/swagger-api/swagger-parser/pulls). :bangbang: Both "OpenAPI Tools" (https://OpenAPITools.org - the parent organization of this project) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI) diff --git a/modules/swagger-parser-core/pom.xml b/modules/swagger-parser-core/pom.xml index 3ddf017805..80e8ae6a91 100644 --- a/modules/swagger-parser-core/pom.xml +++ b/modules/swagger-parser-core/pom.xml @@ -3,7 +3,7 @@ org.openapitools.swagger.parser swagger-parser-project - 2.0.2-SNAPSHOT + 2.0.2-OpenAPITools.org-1 ../.. 4.0.0 diff --git a/modules/swagger-parser-v2-converter/pom.xml b/modules/swagger-parser-v2-converter/pom.xml index e235ebe828..32ed90d89c 100644 --- a/modules/swagger-parser-v2-converter/pom.xml +++ b/modules/swagger-parser-v2-converter/pom.xml @@ -3,7 +3,7 @@ org.openapitools.swagger.parser swagger-parser-project - 2.0.2-SNAPSHOT + 2.0.2-OpenAPITools.org-1 ../.. 4.0.0 diff --git a/modules/swagger-parser-v3/pom.xml b/modules/swagger-parser-v3/pom.xml index 48ad434689..453ce4274d 100644 --- a/modules/swagger-parser-v3/pom.xml +++ b/modules/swagger-parser-v3/pom.xml @@ -3,7 +3,7 @@ org.openapitools.swagger.parser swagger-parser-project - 2.0.2-SNAPSHOT + 2.0.2-OpenAPITools.org-1 ../.. 4.0.0 diff --git a/modules/swagger-parser/pom.xml b/modules/swagger-parser/pom.xml index 82cb2f137c..763d59166f 100644 --- a/modules/swagger-parser/pom.xml +++ b/modules/swagger-parser/pom.xml @@ -3,7 +3,7 @@ org.openapitools.swagger.parser swagger-parser-project - 2.0.2-SNAPSHOT + 2.0.2-OpenAPITools.org-1 ../.. 4.0.0 diff --git a/pom.xml b/pom.xml index e9e9acdb77..f14a025d1c 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ 4.0.0 org.openapitools.swagger.parser swagger-parser-project - 2.0.2-SNAPSHOT + 2.0.2-OpenAPITools.org-1 pom swagger-parser-project @@ -249,6 +249,40 @@ + + + release + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + 1.0.36 2.4 @@ -262,5 +296,4 @@ 3.2.1 2.9.5 -