Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 1.0.0-EAP-2 #137

Merged
merged 159 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
992d3d2
[asyncapi-idea-plugin]: IDEA from 2020.1.* to 2020.3.*
Pakisan Dec 31, 2020
9e73b4e
[asyncapi-idea-plugin]: change notes
Pakisan Jan 7, 2021
1be92f3
[asyncapi-idea-plugin]: 1.0.0-EAP-1
Pakisan Jan 7, 2021
232d32f
Project Information
Pakisan Jan 7, 2021
47e7308
scm information
Pakisan Jan 16, 2021
719bb2b
packaging of sources and javadocs on build
Pakisan Jan 16, 2021
2500f4f
publishing configuration
Pakisan Jan 16, 2021
0c85168
publishing configuration
Pakisan Jan 16, 2021
adba3d9
1.0.0-EAP
Pakisan Jan 16, 2021
3c96fff
1.0.0-EAP
Pakisan Jan 25, 2021
8f8a226
README.md
Pakisan Jan 25, 2021
be1a84e
README.md
Pakisan Jan 28, 2021
5d07b98
README.md
Pakisan Jan 30, 2021
388a55a
Merge branch 'develop' into 1.0.0-EAP
Pakisan Jan 30, 2021
b52b2e6
README.md - release section
Pakisan Jan 30, 2021
68a2c40
[asyncapi-gradle-plugin]: switching to asyncapi-core:1.0.0-EAP versio…
Pakisan Jan 30, 2021
efb2c19
[asyncapi-gradle-plugin]: gradle-6.8.1
Pakisan Jan 30, 2021
a1db327
[asyncapi-gradle-plugin]: 1.0.0-EAP with release configuration and re…
Pakisan Jan 30, 2021
d028725
docs: new README.md (#28)
Pakisan Feb 1, 2021
2636564
[asyncapi-core]: Schema updation
Pakisan Feb 2, 2021
57179ee
1.0.0-EAP
Pakisan Feb 4, 2021
bd227a5
1.0.0-EAP
Pakisan Feb 4, 2021
cc9bd07
1.0.0-EAP (#29)
Pakisan Feb 5, 2021
539361a
Merge branch 'feat!/Schema_updation' into 1.0.0-EAP-1
Pakisan Mar 8, 2021
cb6d8ac
docs: Corrected description for Message.examples
Pakisan Mar 8, 2021
c20edc9
docs: Schema javadoc fix.
Pakisan Mar 8, 2021
2ec2204
fix: fixed asyncapi-gradle-plugin tests after merging of 26365645e095…
Pakisan Mar 8, 2021
819de9f
chore: Jackson updated from 2.10.3 to 2.12.1
Pakisan Mar 8, 2021
9062cf1
1.0.0-EAP-1
Pakisan Mar 8, 2021
1f26371
Merge branch '1.0.0-EAP-1'
Pakisan Mar 8, 2021
7303ce1
Merge branch 'develop' into 1.0.0-EAP-1
Pakisan Mar 8, 2021
c1f5412
1.0.0-EAP-1
Pakisan Mar 8, 2021
6c89b85
Merge branch 'master' into 1.0.0-EAP-1
Pakisan Mar 8, 2021
02bd937
Merge branch '1.0.0-EAP-1' into develop
Pakisan May 24, 2021
957c80b
chore: develop to develop (#40)
Pakisan May 24, 2021
3491d22
chore: delete asyncapi-plugin-idea
Pakisan Nov 23, 2021
03b865f
chore: delete asyncapi-plugin-idea #3 from Pakisan/chore/delete_async…
Pakisan Mar 12, 2022
4ee383d
chore: delete asyncapi-plugin-core
Pakisan Mar 13, 2022
9b263d1
chore: delete asyncapi-plugin-core #4 from Pakisan/chore/delete_async…
Pakisan Mar 13, 2022
df062b3
chore: delete asyncapi-plugin-gradle
Pakisan Mar 15, 2022
01e4b84
chore: delete asyncapi-plugin-gradle #5 from Pakisan/chore/delete_asy…
Pakisan Mar 15, 2022
75b6099
Adjusted Min/Max Values in the Schema to be BigDecimal instead of Int…
May 7, 2022
f467614
Merge branch 'master' of https://github.com/asyncapi/jasyncapi
Pakisan Jun 8, 2022
d86e388
Merge branch 'develop' of https://github.com/asyncapi/jasyncapi into …
Pakisan Jun 8, 2022
ecc45db
Merge branch 'master' into develop
Pakisan Jun 8, 2022
7ca478b
build: kotlin, jackson
Pakisan Jun 8, 2022
5964341
chore: delete asyncapi-plugin-core.iml
Pakisan Jun 8, 2022
f5d68a7
added Solace Bindings
dennis-brinley Jul 19, 2022
fb19c28
Add extensions to ChannelItem
dennis-brinley Sep 22, 2022
b3c0d68
Delete eclipse classpath files
dennis-brinley Sep 22, 2022
726ced1
solace bindings and extension fields
dennis-brinley Sep 22, 2022
ba2667a
feat(AsyncAPI 2.6.0): AsyncAPI object
Pakisan Feb 5, 2023
2288436
feat(AsyncAPI 2.6.0): Info object
Pakisan Feb 5, 2023
c6ab595
feat(AsyncAPI 2.6.0): Servers object
Pakisan Feb 7, 2023
21f77fb
feat(AsyncAPI 2.6.0): Channel - Operation
Pakisan Feb 10, 2023
3100101
feat(AsyncAPI 2.6.0): Channel - Operation
Pakisan Feb 10, 2023
7708420
feat(AsyncAPI 2.6.0): Channel - Operation
Pakisan Feb 11, 2023
5be24ee
feat(AsyncAPI 2.6.0): Channel - Operation
Pakisan Feb 11, 2023
c5f46e3
feat(AsyncAPI 2.6.0): Channel - Parameter
Pakisan Feb 12, 2023
fa26600
feat(AsyncAPI 2.6.0): Channel - Bindings
Pakisan Feb 12, 2023
269be51
feat(AsyncAPI 2.6.0): Channel
Pakisan Feb 12, 2023
7e5e705
Merge pull request #7 from Pakisan/feat/2.6.0_channel
Pakisan Feb 12, 2023
d99ad35
feat(AsyncAPI 2.6.0): Components
Pakisan Feb 13, 2023
116b466
feat(AsyncAPI 2.6.0): Components
Pakisan Feb 14, 2023
6b17ff4
Merge pull request #8 from Pakisan/feat/2.6.0_components
Pakisan Feb 15, 2023
7f19e1f
feat(AsyncAPI 2.6.0): AsyncAPI 2.6.0
Pakisan Feb 15, 2023
a0eac2a
Merge pull request #9 from Pakisan/feat/2.6.0
Pakisan Feb 15, 2023
aec9541
Merge pull request #6 from SolaceLabs/solace-updates
Pakisan Feb 15, 2023
d462e9d
fix: revert changes in pom
Pakisan Feb 15, 2023
f892e99
fix: InfoTest, ParameterTest
Pakisan Feb 15, 2023
83954af
Merge remote-tracking branch 'origin/master'
Pakisan Feb 15, 2023
171ac82
Merge branch 'master' into develop
Pakisan Feb 15, 2023
21d21ee
Merge remote-tracking branch 'origin/master' into develop
Pakisan Feb 15, 2023
49bb82c
fix: do not use new objectmapper in custom deserializer (#129)
guillaumelamirand Feb 15, 2023
f3feedb
fix: for oneOfMessage parsing, kafka binding type error, yaml parsing…
wrwksbhuber Feb 15, 2023
bdce258
fix: jackson.version
Pakisan Feb 15, 2023
92c843a
fix: return asyncapi-core.iml
Pakisan Feb 15, 2023
3fdb517
build: update dependencies version
Pakisan Feb 15, 2023
1a6e71f
chore: delete plugin and orphan Idea modules
Pakisan Feb 15, 2023
755ab3a
Adjusted Min/Max Values in the Schema to be BigDecimal instead of Int…
Crain-32 Feb 15, 2023
3f44790
Merge remote-tracking branch 'origin/develop' into develop
Pakisan Feb 15, 2023
31678cf
chore: delete restored tests for deleted modules
Pakisan Feb 15, 2023
ccd7b45
refactor: AsyncAPI 2.0.0 moved to v2._0_0 package
Pakisan Feb 15, 2023
fadfbc9
refactor: bindings
Pakisan Feb 16, 2023
5cc13b2
refactor: bindings
Pakisan Feb 18, 2023
72431c8
Merge pull request #132 from asyncapi/refactor/schemas
Pakisan Feb 19, 2023
fe0a713
refactor: AsyncAPI common security schemas
Pakisan Feb 19, 2023
24a8227
refactor: proper location for 2.0.0 test classes
Pakisan Feb 19, 2023
65e05d8
refactor: BindingsMapDeserializer with common logic for bindings
Pakisan Feb 19, 2023
1da6f28
refactor: 2.6.0 common deserializers for models
Pakisan Feb 19, 2023
aeb7e0d
refactor: proper package for 2.0.0 models` deserializers
Pakisan Feb 19, 2023
63ffaf8
refactor: remove duplicated deserializers
Pakisan Feb 19, 2023
3af9865
refactor: common deserializers for 2.0.0 and 2.6.0 models
Pakisan Feb 19, 2023
c5c14d5
refactor: Package directive does not match the file location
Pakisan Feb 19, 2023
0cf968b
refactor: Unused import directive
Pakisan Feb 19, 2023
40e468c
refactor: no more wildcard imports
Pakisan Feb 19, 2023
bd63e34
refactor: remove lombok.NonNull
Pakisan Feb 19, 2023
c1a8625
refactor: com.google.code.findbugs.jsr305 -> org.jetbrains.annotations
Pakisan Feb 19, 2023
f20c15b
fix: additionalProperties should be a Boolean or a Schema
guillaumelamirand Feb 16, 2023
ec739cb
fix: do not use new objectmapper in custom deserializer
guillaumelamirand Feb 17, 2023
9f3f300
fix: move class to new package
guillaumelamirand Feb 20, 2023
d534d58
Merge pull request #131 from gravitee-io-labs/fix-schema-model
Pakisan Feb 20, 2023
098c233
refactor: AutoCloseable used without 'try'-with-resources
Pakisan Feb 20, 2023
79b1428
feat: Specification Extensions
Pakisan Feb 22, 2023
efacc58
feat: Specification Extensions
Pakisan Feb 25, 2023
0ce9dc3
Merge pull request #133 from asyncapi/feat/specification_extensions
Pakisan Feb 25, 2023
f80f4cf
chore: Specification Extensions tests
Pakisan Mar 7, 2023
6a3f7f9
Merge remote-tracking branch 'origin/develop' into chore/specificatio…
Pakisan Mar 7, 2023
2d96eba
chore: Specification Extensions tests
Pakisan Mar 7, 2023
08fa05c
chore: Specification Extensions tests
Pakisan Mar 7, 2023
94e208f
chore: Specification Extensions tests
Pakisan Mar 9, 2023
68532bd
chore: Specification Extensions tests
Pakisan Mar 9, 2023
0019cd4
chore: Specification Extensions tests
Pakisan Mar 10, 2023
7e8387a
chore: Specification Extensions tests
Pakisan Mar 10, 2023
6ef3c9c
chore: Specification Extensions tests
Pakisan Mar 10, 2023
74c4d8f
chore: Specification Extensions tests
Pakisan Mar 10, 2023
176712b
chore: Specification Extensions tests
Pakisan Mar 10, 2023
0b9c988
chore: Specification Extensions tests
Pakisan Mar 10, 2023
1b3958a
chore: Specification Extensions tests
Pakisan Mar 11, 2023
dc7ae80
chore: Specification Extensions tests
Pakisan Mar 11, 2023
1c2f2cb
chore: Specification Extensions tests
Pakisan Mar 11, 2023
370f692
Merge pull request #135 from asyncapi/chore/specification_extensions_…
Pakisan Mar 11, 2023
8387520
chore: delete unused test files
Pakisan Mar 11, 2023
e9ebdf7
chore: delete unused test files
Pakisan Mar 11, 2023
6adcee9
chore: move 2.0.0 test resources to right directory
Pakisan Mar 11, 2023
57369d6
chore: delete unused test resources
Pakisan Mar 11, 2023
4b81440
chore: move binding` test resources to right folder
Pakisan Mar 11, 2023
a776f68
chore: move security scheme` test resources to right folder
Pakisan Mar 11, 2023
63a28a1
chore: equal test dirs structure
Pakisan Mar 11, 2023
55b466a
chore: 2.6.0 Contact test
Pakisan Mar 11, 2023
09ab338
chore: 2.6.0 License test
Pakisan Mar 11, 2023
ced69be
chore: 2.6.0 Info test
Pakisan Mar 11, 2023
ff93b76
chore: remove TODO about Specification Extensions
Pakisan Mar 11, 2023
b892b4c
chore: 2.6.0 ExternalDocumentation test
Pakisan Mar 11, 2023
a5561bf
chore: 2.6.0 Tag test
Pakisan Mar 11, 2023
328f6d5
chore: 2.6.0 Reference test
Pakisan Mar 11, 2023
b1290d6
chore: 2.6.0 AsyncAPI test
Pakisan Mar 12, 2023
b06a24e
chore: 2.0.0 new tests
Pakisan Mar 12, 2023
81217bc
fix: 2.0.0 ServerVariable typo
Pakisan Mar 12, 2023
495b12d
chore: 2.0.0 ServerVariable new tests
Pakisan Mar 12, 2023
d734723
chore: 2.0.0 Server new tests
Pakisan Mar 12, 2023
64db328
chore: 2.0.0 new tests
Pakisan Mar 12, 2023
0eed468
chore: 2.0.0 CorrelationId new tests
Pakisan Mar 12, 2023
02a8a03
chore: 2.0.0 Message new tests
Pakisan Mar 12, 2023
96dbe13
chore: 2.0.0 MessageTrait new tests
Pakisan Mar 12, 2023
dffdba2
chore: 2.0.0 new tests
Pakisan Mar 12, 2023
855f1e6
chore: 2.0.0 Parameter new tests
Pakisan Mar 12, 2023
7f59607
chore: 2.0.0 ChannelItem new tests
Pakisan Mar 12, 2023
4981b8f
chore: 2.0.0 Components new tests
Pakisan Mar 14, 2023
4a33226
chore: 2.0.0 AsyncAPI new tests
Pakisan Mar 14, 2023
07cced0
chore: 2.6.0 new tests
Pakisan Mar 14, 2023
cc745ac
chore: common Schema
Pakisan Mar 14, 2023
630c115
chore: new README.md header
Pakisan Mar 14, 2023
516a30b
chore: new README.md
Pakisan Mar 14, 2023
1eb29ed
chore: version badge
Pakisan Mar 14, 2023
779a0a7
chore: SDKMAN! env
Pakisan Mar 14, 2023
b63e3ca
build: update maven plugins
Pakisan Mar 14, 2023
380559a
fix: Javadoc generation error.
Pakisan Mar 15, 2023
99a644a
release: 1.0.0-EAP-2
Pakisan Mar 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@ buildNumber.properties

# Mac
.DS_Store

# Eclipse
asyncapi-plugin/asyncapi-plugin-maven/.settings/org.eclipse.jdt.core.prefs
asyncapi-plugin/asyncapi-plugin-maven/.project
asyncapi-plugin/.project
asyncapi-core/.project
.vscode/settings.json
asyncapi-core/.settings/org.eclipse.jdt.core.prefs
.project
2 changes: 0 additions & 2 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 0 additions & 28 deletions .idea/gradle.xml

This file was deleted.

19 changes: 12 additions & 7 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
java=8.0.362-amzn
maven=3.9.0
205 changes: 35 additions & 170 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,91 +1,46 @@
<h1 align="center">
<br>
<a href="https://asyncapi.org"><img src="./assets/logo.png" alt="AsyncAPI logo" height="80"></a>
</h1>
<h4 align="center">Building the future of event-driven architectures</h4>
<h6 align="center">We're on a mission to standardize message-based communication and increase interoperability of the different systems out there.</h6>
[![AsyncAPI Logo](./assets/logo.png)](https://www.asyncapi.com)

> ⚠️ This project doesn't support AsyncAPI 1.x

This monorepo stores modules, which simplifies interacting with AsyncAPI in `jvm` ecosystem.
<h4 align="left">Building the future of event-driven architectures</h4>
<h6 align="left">We're on a mission to standardize message-based communication and increase interoperability of the different systems out there.</h6>

# Index
---
> ⚠️ This project doesn't support AsyncAPI 1.x
---

* [Monorepo structure](#monorepo-structure)
* [core](#core)
* [plugin](#plugin)
* [Release](#release)
* [maven artifacts](#release-maven-artifacts)
* [gradle artifacts](#release-gradle-artifacts)
* [relese to maven central](#release-to-maven-central)
* [release to gradle plugins](#release-to-gradle-plugins)
[![Version](https://img.shields.io/maven-central/v/com.asyncapi/asyncapi-core?logo=apache-maven)](https://search.maven.org/artifact/io.quarkiverse.asyncapi/quarkus-asyncapi)

## Monorepo structure
Currently here it's splitted on two submodules:
* [core](#core)
* [plugin](#plugin)
## Overview
JVM-friendly bindings for AsyncAPI. It allows you to read or write specifications for your asynchronous API through code

### core
This submodule stores projection of AsyncAPI specification to java classes. Each class is being properly annotated with `jsr-305` annotations,
which allows to use it in null-safety languages like `kotlin` without extra headache.
Hints:
- If you are working with AsyncAPI specification in JetBrains IDE, check out our [AsyncAPI - IDEA plugin](https://github.com/asyncapi/jasyncapi-idea-plugin)
- If you are working with AsyncAPI specification in VSCode, check out our [AsyncAPI - VSCode plugin](https://github.com/asyncapi/vs-asyncapi-preview)

```
<dependency>
<groupId>com.asyncapi</groupId>
<artifactId>asyncapi-core</artifactId>
<version>1.0.0-EAP</version>
</dependency>
```
## Known consumers:
- [Springwolf Core](https://github.com/springwolf/springwolf-core) - Automated documentation for async APIs built with Spring Boot
- [AsyncAPI Quarkus](https://github.com/quarkiverse/quarkus-asyncapi) - Generates AsyncAPIRegistry and configuration classes for Quarkus

### plugin
This submodule stores plugins, which automatizes work with AsyncAPI specification.
## Contributors section

Currently here are three plugins:
* [maven plugin](#maven)
* [gradle plugin](#gradle)
* [IDEA plugin](#idea)
### Build

#### maven
Maven plugin helps to generate AsyncAPI specification from hand-crafted AsyncAPI class at choosed build cycle step.
#### Prerequisites
1. JDK 1.8
2. Maven 3+

If you are using SDKMAN! use [env](https://sdkman.io/usage#env) to prepare environment
```shell
sdk env
```
<dependency>
<groupId>com.asyncapi</groupId>
<artifactId>asyncapi-maven-plugin</artifactId>
<version>1.0.0-EAP</version>
<type>maven-plugin</type>
</dependency>
```

**[Source code with description and example](asyncapi-plugin/asyncapi-plugin-maven)**

#### gradle
Gradle plugin helps to generate AsyncAPI specification from hand-crafted AsyncAPI class at choosed build cycle step.

**[Source code with description and example](asyncapi-plugin/asyncapi-plugin-gradle)**

#### IDEA
IDEA plugin simplifies work with AsyncAPI specification not only in Intellij IDEA, but in others IDE from JetBrains
### Publish new release

[JetBrains plugin marketplace](https://plugins.jetbrains.com/plugin/15673-asyncapi)
#### Prerequisites
1. Request credentials for one of AsyncAPI's account on [Sonatype Jira](https://issues.sonatype.org), which is synced
with [Sonatype nexus](https://oss.sonatype.org)
2. Generate pgp key if it was not generated yet
3. Create `/Users/{userName}/.m2/settings.xml`

**[Source code with description and example](asyncapi-plugin/asyncapi-plugin-idea)**

## Release

**[Sonatype Instruction with references and clarifications](https://central.sonatype.org/pages/apache-maven.html)**

**⚠️ WARNING: next artifacts MUST always have common version at release. Because of dependency of plugins from core**
* **[asyncapi-core](./asyncapi-core)**
* **[asyncapi-plugin-maven](./asyncapi-plugin/asyncapi-plugin-maven)**
* **[asyncapi-plugin-gradle](./asyncapi-plugin/asyncapi-plugin-gradle)**

### Release maven artifacts:

* Request credentials for one of AsyncAPI's account on [Sonatype's Jira](https://issues.sonatype.org), which is synced
with [Sonatype's nexus](https://oss.sonatype.org)
* Generate pgp key if it was not generated yet
* Create `/Users/{userName}/.m2/settings.xml`
```xml
<settings>
<profiles>
Expand All @@ -112,101 +67,11 @@ with [Sonatype's nexus](https://oss.sonatype.org)
</settings>
```

* Choose new release version and set it to root [pom.xml](./pom.xml).

_Example:_
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.asyncapi</groupId>
<artifactId>asyncapi</artifactId>
<version>{new release version}</version>

<!-- Other project properties was omitted. They are located below and won't be updated generally -->

</project>
```

* Don't forget to update parent version in all submodules.
* [asyncapi-core](./asyncapi-core/pom.xml)
* [asyncapi-plugin](./asyncapi-plugin/pom.xml)
* [asyncapi-plugin-core](./asyncapi-plugin/asyncapi-plugin-core/pom.xml)
* [asyncapi-plugin-maven](./asyncapi-plugin/asyncapi-plugin-maven/pom.xml)

_Example_
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>asyncapi-plugin</artifactId>
<groupId>com.asyncapi</groupId>
<version>{new release version}</version>
</parent>

<!-- Other project properties was omitted. They are located below and won't be updated generally -->

</project>
```

* Build it, test it and release it to maven central repository
```shell script
➜ async-api git:(1.0.0-EAP) ✗ mvn clean deploy -P release
Release
```shell
mvn clean deploy -P release
```

### Release gradle artifacts:

#### release to maven central
**[gradle gpg instruction](https://docs.gradle.org/current/userguide/signing_plugin.html#signing_plugin)**
<br>
**[sonatype's instruction for deployment releasing](https://central.sonatype.org/pages/releasing-the-deployment.html)**

* Request credentials for one of AsyncAPI's account on [Sonatype's Jira](https://issues.sonatype.org), which is synced
with [Sonatype's nexus](https://oss.sonatype.org)
* Generate pgp key if it was not generated yet
* export secret key ring file containing your private key
```shell script
gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg
```
* Create `/Users/{userName}/.gradle/gradle.properties`
```properties
# gpg
signing.keyId={key name}
signing.password={key passphrase}
signing.secretKeyRingFile=/Users/{userName}/.gnupg/secring.gpg

# oss.sonatype.org
ossrhUsername={Jira username}
ossrhPassword={Jira password}
```
* Choose new release version and set it to root [build.gradle.kts](./asyncapi-plugin/asyncapi-plugin-gradle/build.gradle.kts).
_Example_
```kotlin
version = "{new release version}"
```
* Build it, test it and release it to maven central repository
```shell script
➜ asyncapi-plugin-gradle git:(1.0.0-EAP) ✗ ./gradlew publishPluginMavenPublicationToMavenRepository
```
* Go to [stagin repositories](https://oss.sonatype.org/#stagingRepositories) and release it manually
* Select repository
* Click `close` and wait some time
* Click `release`

#### release to gradle plugins

* Request `key` and `secret` for gradle account
* Update `/Users/{userName}/.gradle/gradle.properties` with gradle credential
```properties
gradle.publish.key={key}
gradle.publish.secret={secret}
```
* Release plugin to [gradle plugins](https://plugins.gradle.org/)
```shell script
➜ asyncapi-plugin-gradle git:(1.0.0-EAP) ✗ ./gradlew publishPlugins
```
references:
- [Sonatype Instruction with references and clarifications](https://central.sonatype.org/pages/apache-maven.html)
- [Sonatype Instruction for deployment releasing](https://central.sonatype.org/pages/releasing-the-deployment.html)
Binary file modified assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion asyncapi-core/asyncapi-core.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<module version="4">
<component name="AutoImportedSourceRoots">
<option name="directories">
<list>
Expand Down
14 changes: 10 additions & 4 deletions asyncapi-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>asyncapi</artifactId>
<groupId>com.asyncapi</groupId>
<version>1.0.0-EAP-1</version>
<version>1.0.0-EAP-2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -21,9 +21,10 @@
</dependency>
<!-- JSR305 -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>24.0.0</version>
<scope>provided</scope>
</dependency>
<!-- Tests -->
<dependency>
Expand All @@ -45,6 +46,11 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Loading
Loading