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

Commit 890166b

Browse files
committed
Version 2.0.2-OpenAPITools.org-1
* Set version * Add missing maven elements to perform a release
1 parent cb11d58 commit 890166b

File tree

7 files changed

+48
-7
lines changed

7 files changed

+48
-7
lines changed

.travis/settings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<username>${env.OPENAPITOOLS_SONATYPE_USERNAME}</username>
1111
<password>${env.OPENAPITOOLS_SONATYPE_PASSWORD}</password>
1212
</server>
13+
<server>
14+
<id>ossrh</id>
15+
<username>${env.OPENAPITOOLS_SONATYPE_USERNAME}</username>
16+
<password>${env.OPENAPITOOLS_SONATYPE_PASSWORD}</password>
17+
</server>
1318
</servers>
1419
<mirrors/>
1520
<proxies/>

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
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).
44

55
Work is made in the `2.0-OpenAPITools` branch.
6-
There is no release of this branch (`SNAPSHOT` version only).
76
Maven `groupId` was changed to: `<groupId>org.openapitools.swagger.parser</groupId>`
87

8+
There are `SNAPSHOT` and [released](https://github.com/OpenAPITools/swagger-parser/releases) version from this branch.
9+
Released versions use `OpenAPITools.org-*` suffix in their name to distinguish them from official version.
10+
Released versions should be used until the next offical version is published.
11+
912
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).
1013

1114
:bangbang: Both "OpenAPI Tools" (https://OpenAPITools.org - the parent organization of this project) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI)

modules/swagger-parser-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools.swagger.parser</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>2.0.2-SNAPSHOT</version>
6+
<version>2.0.2-OpenAPITools.org-1</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-parser-v2-converter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools.swagger.parser</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>2.0.2-SNAPSHOT</version>
6+
<version>2.0.2-OpenAPITools.org-1</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-parser-v3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools.swagger.parser</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>2.0.2-SNAPSHOT</version>
6+
<version>2.0.2-OpenAPITools.org-1</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-parser/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools.swagger.parser</groupId>
55
<artifactId>swagger-parser-project</artifactId>
6-
<version>2.0.2-SNAPSHOT</version>
6+
<version>2.0.2-OpenAPITools.org-1</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

pom.xml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>org.openapitools.swagger.parser</groupId>
1010
<artifactId>swagger-parser-project</artifactId>
11-
<version>2.0.2-SNAPSHOT</version>
11+
<version>2.0.2-OpenAPITools.org-1</version>
1212
<packaging>pom</packaging>
1313
<name>swagger-parser-project</name>
1414
<developers>
@@ -249,6 +249,40 @@
249249
</snapshots>
250250
</repository>
251251
</repositories>
252+
<profiles>
253+
<profile>
254+
<id>release</id>
255+
<build>
256+
<plugins>
257+
<plugin>
258+
<groupId>org.apache.maven.plugins</groupId>
259+
<artifactId>maven-gpg-plugin</artifactId>
260+
<version>1.6</version>
261+
<executions>
262+
<execution>
263+
<id>sign-artifacts</id>
264+
<phase>verify</phase>
265+
<goals>
266+
<goal>sign</goal>
267+
</goals>
268+
</execution>
269+
</executions>
270+
</plugin>
271+
<plugin>
272+
<groupId>org.sonatype.plugins</groupId>
273+
<artifactId>nexus-staging-maven-plugin</artifactId>
274+
<version>1.6.8</version>
275+
<extensions>true</extensions>
276+
<configuration>
277+
<serverId>ossrh</serverId>
278+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
279+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
280+
</configuration>
281+
</plugin>
282+
</plugins>
283+
</build>
284+
</profile>
285+
</profiles>
252286
<properties>
253287
<swagger-parser-v2-version>1.0.36</swagger-parser-v2-version>
254288
<commons-io-version>2.4</commons-io-version>
@@ -262,5 +296,4 @@
262296
<commons-lang-version>3.2.1</commons-lang-version>
263297
<jackson-version>2.9.5</jackson-version>
264298
</properties>
265-
266299
</project>

0 commit comments

Comments
 (0)