Skip to content

Commit

Permalink
Add Vert.x RabbitMQ
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed May 5, 2024
1 parent c7c15dc commit 992b48b
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 20 deletions.
18 changes: 0 additions & 18 deletions Vert.x/rest.vertx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,6 @@
<artifactId>rest.vertx</artifactId>
<version>1.1.1</version>
<optional>true</optional>
<!--<exclusions>
<exclusion>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
</exclusion>
<exclusion>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</exclusion>
</exclusions>-->
</dependency>

<dependency>
Expand Down
5 changes: 3 additions & 2 deletions Vert.x/vertx-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<artifactId>vertx-core</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web</artifactId>
Expand All @@ -109,7 +110,6 @@
<optional>true</optional>
</dependency>


<dependency>
<groupId>org.jboss.marshalling</groupId>
<artifactId>jboss-marshalling</artifactId>
Expand All @@ -119,14 +119,15 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<optional>true</optional>
</dependency>


<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions Vert.x/vertx-core/src/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,6 @@
uses io.vertx.core.spi.VertxServiceProvider;
uses io.vertx.core.spi.VerticleFactory;

opens io.vertx.core.impl.logging to io.vertx.rabbitmq;
opens io.vertx.core.impl to io.vertx.rabbitmq;
}
140 changes: 140 additions & 0 deletions Vert.x/vertx-rabbtimq/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.guicedee</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>

<groupId>com.guicedee.services</groupId>
<artifactId>vertx-rabbitmq</artifactId>

<name>Vert.x RabbitMQ</name>
<packaging>jar</packaging>

<properties>
<project.scm.nameUrl>/GuicedEE/Services/Vert.x/vertx-rabbitmq</project.scm.nameUrl>
</properties>

<version>2.0.0-SNAPSHOT</version>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>shade</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
<promoteTransitiveDependencies>false</promoteTransitiveDependencies>
<artifactSet>
<includes>
<include>io.vertx:vertx-rabbitmq-client:*</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>


<dependencies>
<dependency>
<groupId>com.guicedee.services</groupId>
<artifactId>vertx-core</artifactId>
</dependency>

<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-rabbitmq-client</artifactId>
<version>${vertx.version}</version>
<optional>true</optional>
</dependency>

<dependency>
<artifactId>amqp-client</artifactId>
<groupId>com.guicedee.services</groupId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>

</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>fasterxml-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>standalone-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>versioner</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.guicedee</groupId>
<artifactId>google-bom</artifactId>
<version>${guicedee.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

</project>
9 changes: 9 additions & 0 deletions Vert.x/vertx-rabbtimq/src/moditect/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module io.vertx.rabbitmq {
requires transitive io.vertx;
requires com.rabbitmq.client;

exports io.vertx.rabbitmq;

opens io.vertx.rabbitmq to io.vertx;
opens io.vertx.rabbitmq.impl to io.vertx;
}

0 comments on commit 992b48b

Please sign in to comment.