RESTEasy Netty is a RESTEasy project aimed to provide integration with Netty.
To read the documentation you can read it online.
To add the dependencies in Maven you can simply add the BOM.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>dev.resteasy.netty</groupId>
<artifactId>resteasy-netty-bom</artifactId>
<version>${version.dev.resteasy.netty}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Then you can use either the embedded server or client dependencies.
<dependencies>
<dependency>
<groupId>dev.resteasy.netty</groupId>
<artifactId>resteasy-reactor-netty-client</artifactId>
</dependency>
<dependency>
<groupId>dev.resteasy.netty</groupId>
<artifactId>resteasy-netty-embedded-server</artifactId>
</dependency>
<dependency>
<groupId>dev.resteasy.netty</groupId>
<artifactId>resteasy-netty-embedded-server-cdi</artifactId>
</dependency>
</dependencies>
Issues are kept in GitHub Issues.
Currently, RESTEasy Netty requires JDK 17+ to compile, but compiles to Java 11 bytecode.
If you want to build the project without running the tests, you need to pull down a clone of the RESTEasy repository and run:
$ mvn clean install
You are most welcome to contribute to RESTEasy!
Read the Contribution guidelines
Releasing the project requires permission to deploy to Maven Central see Maven Central Release Requirements.
Once everything is setup, you simply need to run the ./release.sh
script. There are two required parameters:
-
-r
or--release
which is the version you want to release -
-d
or--development
which is the next development version.
By default the release version cannot contain SNAPSHOT
and the development version, must container SNAPSHOT
.
./release -r 1.0.0.Final -d 1.0.1.Final-SNAPSHOT
Argument | Requires Value | Description |
---|---|---|
|
Yes |
The next version for the development cycle. |
|
No |
Forces to allow a SNAPSHOT suffix in release version and not require one for the development version. |
|
No |
Displays this help |
|
Yes |
The version to be released. Also used for the tag. |
|
No |
Executes the release in as a dry-run. Nothing will be updated or pushed. |
|
No |
Prints verbose output. |
Any additional arguments are considered arguments for the Maven command.