Skip to content

Commit a790482

Browse files
fix: invalid automatic module name (#639)
Inspired by [Automatic-Module-Name: Calling All Java Library Maintainers](https://dzone.com/articles/automatic-module-name-calling-all-java-library-maintainers), I added the module names for the non-specified modules on their respective `pom.xml` file Signed-off-by: Juan MARTINEZ <[email protected]>
1 parent e5a35ac commit a790482

File tree

19 files changed

+34
-2
lines changed

19 files changed

+34
-2
lines changed

examples/amqp-proton/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<artifactId>cloudevents-amqp-proton-example</artifactId>
1111

1212
<properties>
13-
<vertx.version>4.0.0.Beta1</vertx.version>
13+
<module-name>cloudevents.example.amqp.proton</module-name>
14+
<vertx.version>4.0.0.Beta1</vertx.version>
1415
</properties>
1516
<dependencies>
1617
<dependency>

examples/basic-http/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<modelVersion>4.0.0</modelVersion>
2727

2828
<artifactId>cloudevents-basic-http-example</artifactId>
29+
<properties>
30+
<module-name>cloudevents.example.basic.http</module-name>
31+
</properties>
2932

3033
<dependencies>
3134
<dependency>

examples/kafka/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>cloudevents-kafka-example</artifactId>
13+
<properties>
14+
<module-name>cloudevents.example.kafka</module-name>
15+
</properties>
1316

1417
<dependencies>
1518
<dependency>

examples/restful-ws-microprofile-liberty/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<properties>
1414
<openliberty.maven.version>3.5.1</openliberty.maven.version>
1515
<app.name>cloudevents-microprofile</app.name>
16+
<module-name>cloudevents.example.restful.ws.microprofile.liberty</module-name>
1617

1718
<!-- Liberty server properties -->
1819
<final.name>cloudeventsServer</final.name>

examples/restful-ws-quarkus/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111
<artifactId>cloudevents-restful-ws-quarkus-example</artifactId>
1212
<properties>
13+
<module-name>cloudevents.example.restful.ws.quarkus</module-name>
1314
<quarkus-plugin.version>1.10.3.Final</quarkus-plugin.version>
1415
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
1516
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>

examples/restful-ws-spring-boot/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<artifactId>cloudevents-spring-boot-example</artifactId>
1313

1414
<properties>
15+
<module-name>cloudevents.example.spring.boot</module-name>
1516
<spring-boot.version>2.3.2.RELEASE</spring-boot.version>
1617
<spring.version>5.2.9.RELEASE</spring.version>
1718
</properties>

examples/rocketmq/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>cloudevents-rocketmq-example</artifactId>
13+
<properties>
14+
<module-name>cloudevents.example.rocketmq</module-name>
15+
</properties>
1316

1417
<dependencies>
1518
<dependency>

examples/spring-function/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<artifactId>cloudevents-spring-function-example</artifactId>
1313

1414
<properties>
15+
<module-name>cloudevents.example.spring.function</module-name>
1516
<spring-boot.version>2.4.3</spring-boot.version>
1617
</properties>
1718

examples/spring-reactive/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<artifactId>cloudevents-spring-reactive-example</artifactId>
1313

1414
<properties>
15+
<module-name>cloudevents.example.spring.reactive</module-name>
1516
<spring-boot.version>2.4.3</spring-boot.version>
1617
</properties>
1718

examples/spring-rsocket/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<artifactId>cloudevents-spring-rsocket-example</artifactId>
1313

1414
<properties>
15+
<module-name>cloudevents.example.spring.rsocket</module-name>
1516
<spring-boot.version>2.4.3</spring-boot.version>
1617
</properties>
1718

0 commit comments

Comments
 (0)