Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Version 2.0.2-OpenAPITools.org-1
Browse files Browse the repository at this point in the history
* Set version
* Add missing maven elements to perform a release
  • Loading branch information
jmini committed Jul 31, 2018
1 parent cb11d58 commit 890166b
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .travis/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<username>${env.OPENAPITOOLS_SONATYPE_USERNAME}</username>
<password>${env.OPENAPITOOLS_SONATYPE_PASSWORD}</password>
</server>
<server>
<id>ossrh</id>
<username>${env.OPENAPITOOLS_SONATYPE_USERNAME}</username>
<password>${env.OPENAPITOOLS_SONATYPE_PASSWORD}</password>
</server>
</servers>
<mirrors/>
<proxies/>
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `<groupId>org.openapitools.swagger.parser</groupId>`

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)
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-parser-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools.swagger.parser</groupId>
<artifactId>swagger-parser-project</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2-OpenAPITools.org-1</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-parser-v2-converter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools.swagger.parser</groupId>
<artifactId>swagger-parser-project</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2-OpenAPITools.org-1</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-parser-v3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools.swagger.parser</groupId>
<artifactId>swagger-parser-project</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2-OpenAPITools.org-1</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools.swagger.parser</groupId>
<artifactId>swagger-parser-project</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2-OpenAPITools.org-1</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
37 changes: 35 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openapitools.swagger.parser</groupId>
<artifactId>swagger-parser-project</artifactId>
<version>2.0.2-SNAPSHOT</version>
<version>2.0.2-OpenAPITools.org-1</version>
<packaging>pom</packaging>
<name>swagger-parser-project</name>
<developers>
Expand Down Expand Up @@ -249,6 +249,40 @@
</snapshots>
</repository>
</repositories>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<swagger-parser-v2-version>1.0.36</swagger-parser-v2-version>
<commons-io-version>2.4</commons-io-version>
Expand All @@ -262,5 +296,4 @@
<commons-lang-version>3.2.1</commons-lang-version>
<jackson-version>2.9.5</jackson-version>
</properties>

</project>

0 comments on commit 890166b

Please sign in to comment.