Skip to content

Commit

Permalink
readme and pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Merino García committed Nov 22, 2023
1 parent e2a4d12 commit dea1816
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 32 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
- [Requirements](#requirements)
- [Installation](#installation)

[![Maven](https://img.shields.io/maven-central/v/com.github.imrafaelmerino/vertx-effect/4.0.0)](https://search.maven.org/artifact/com.github.imrafaelmerino/vertx-effect/4.0.0/jar)


## <a name="manifesto"><a/> vertx-effect manifesto

. The more verticles, the better.
Expand Down
49 changes: 18 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
Expand All @@ -30,21 +30,20 @@

<properties>
<error-prone.version>2.18.0</error-prone.version>
<NEXUS-STAGING-MAVEN-PLUGIN.VERSION>1.6.8</NEXUS-STAGING-MAVEN-PLUGIN.VERSION>
<NEXUS-STAGING-MAVEN-PLUGIN.VERSION>1.6.12</NEXUS-STAGING-MAVEN-PLUGIN.VERSION>
<MAVEN-GPG-PLUGIN.VERSION>1.6</MAVEN-GPG-PLUGIN.VERSION>
<JACOCO-MAVEN-PLUGIN.VERSION>0.8.4</JACOCO-MAVEN-PLUGIN.VERSION>
<MAVEN-JAVADOC-PLUGIN.VERSION>3.1.1</MAVEN-JAVADOC-PLUGIN.VERSION>
<MAVEN-SOURCE-PLUGIN.VERSION>3.0.1</MAVEN-SOURCE-PLUGIN.VERSION>
<MAVEN-SUREFIRE-PLUGIN.VERSION>2.22.2</MAVEN-SUREFIRE-PLUGIN.VERSION>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<PROJECT.BUILD.SOURCEENCODING>UTF8</PROJECT.BUILD.SOURCEENCODING>
<MAVEN-COMPILER-PLUGIN.VERSION>3.10.1</MAVEN-COMPILER-PLUGIN.VERSION>
<MAVEN-SUREFIRE-PLUGIN.VERSION>3.0.0-M6</MAVEN-SUREFIRE-PLUGIN.VERSION>
<MAVEN-JAR-PLUGIN.VERSION>3.2.2</MAVEN-JAR-PLUGIN.VERSION>
<JAVA-FUN.VERSION>1.4.0</JAVA-FUN.VERSION>
<MAVEN-JAVADOC-PLUGIN.VERSION>3.3.2</MAVEN-JAVADOC-PLUGIN.VERSION>
<MAVEN-COMPILER-PLUGIN.SOURCE>17</MAVEN-COMPILER-PLUGIN.SOURCE>
<MAVEN-COMPILER-PLUGIN.TARGET>17</MAVEN-COMPILER-PLUGIN.TARGET>
<VERTX-VERSION>4.5.0</VERTX-VERSION>
<JAVA-FUN.VERSION>1.3.2</JAVA-FUN.VERSION>
<VERTX.JSON-VALUES.VERSION>1.0.0</VERTX.JSON-VALUES.VERSION>
<MAVEN-JAR-PLUGIN.VERSION>3.2.0</MAVEN-JAR-PLUGIN.VERSION>
<PROJECT.BUILD.SOURCE_ENCODING>UTF-8</PROJECT.BUILD.SOURCE_ENCODING>
<MAVEN-COMPILER-PLUGIN.VERSION>3.10.1</MAVEN-COMPILER-PLUGIN.VERSION>
<JUNIT-JUPITER-ENGINE.VERSION>5.8.2</JUNIT-JUPITER-ENGINE.VERSION>
</properties>


Expand All @@ -54,11 +53,18 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${MAVEN-JAR-PLUGIN.VERSION}</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>vertx.effect</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>${MAVEN-COMPILER-PLUGIN.VERSION}</version>
<configuration>
<source>${MAVEN-COMPILER-PLUGIN.SOURCE}</source>
<target>${MAVEN-COMPILER-PLUGIN.TARGET}</target>
Expand Down Expand Up @@ -121,13 +127,6 @@
<version>${VERTX.JSON-VALUES.VERSION}</version>
</dependency>

<!-- https://mvnrepository.com/artifact/io.vertx/vertx-codegen -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-codegen</artifactId>
<version>${VERTX-VERSION}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>io.vertx</groupId>
Expand All @@ -144,23 +143,11 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.8.2</version>
<version>${JUNIT-JUPITER-ENGINE.VERSION}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.11</version>
<scope>test</scope>
</dependency>


</dependencies>
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/vertx/effect/HttpResp.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

import java.util.function.Function;

public class HttpResp {
public final class HttpResp {

private HttpResp(){}

private static final String STATUS_CODE_FIELD = "status_code";
private static final String STATUS_MESSAGE_FIELD = "status_message";
Expand Down

0 comments on commit dea1816

Please sign in to comment.