Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
#20 Add explicit Java 9 module name.
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Dec 12, 2019
1 parent 0afe0da commit 525e2d7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
== (????-??-??) v0.2.0

- Add explicit Java 9 module name. (#20)
- Avoid cloning request payload bytes.
- Remove `BoundedScheduledThreadPoolExecutor`. (#10)
Expand Down
2 changes: 2 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ dependencies:
</dependency>
```

(Note that the Java 9 module name is `com.vlkan.pubsub`.)

You can create a publisher and publish a message as follows:

```java
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
<!-- plugin versions -->
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
Expand Down Expand Up @@ -221,6 +222,19 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.vlkan.pubsub</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 525e2d7

Please sign in to comment.