Skip to content

Commit

Permalink
Maven running on Java 11 fixes (akka#199)
Browse files Browse the repository at this point in the history
* jgitver not working properly on JDK 9+ (jaxb removed from JDK)
* Use a version of maven-compiler-plugin that supports JDK 11
  • Loading branch information
johanandren authored Mar 27, 2020
1 parent 879184e commit 8e6006a
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 45 deletions.
2 changes: 1 addition & 1 deletion akka-sample-cluster-client-grpc-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
2 changes: 1 addition & 1 deletion akka-sample-cluster-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
2 changes: 1 addition & 1 deletion akka-sample-cqrs-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
8 changes: 0 additions & 8 deletions akka-sample-fsm-java/.mvn/extensions.xml

This file was deleted.

9 changes: 0 additions & 9 deletions akka-sample-fsm-java/.mvn/jgitver.config.xml

This file was deleted.

2 changes: 1 addition & 1 deletion akka-sample-fsm-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Open [DiningHakkersTyped.scala](src/main/java/sample/DiningHakkers.java).

It illustrates how the behaviors and transitions can be defined with Akka Typed.

Start the application by typing `mvn -Dexec.mainClass="sample.DiningHakkers" exec:java`. In the log output you can see the actions of the `Hakker` actors.
Start the application by typing `mvn compile exec:java -Dexec.mainClass="sample.DiningHakkers"`. In the log output you can see the actions of the `Hakker` actors.

Read more about Akka Typed in [the documentation](http://doc.akka.io/docs/akka/2.6/).
4 changes: 2 additions & 2 deletions akka-sample-fsm-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>com.lightbend.akka.samples</groupId>
<artifactId>akka-sample-fsm-java</artifactId>
<packaging>jar</packaging>
<version>empty</version>
<version>1.0</version>

<dependencies>
<dependency>
Expand Down Expand Up @@ -43,7 +43,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
2 changes: 1 addition & 1 deletion akka-sample-persistence-dc-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
8 changes: 0 additions & 8 deletions akka-sample-persistence-java/.mvn/extensions.xml

This file was deleted.

9 changes: 0 additions & 9 deletions akka-sample-persistence-java/.mvn/jgitver.config.xml

This file was deleted.

4 changes: 2 additions & 2 deletions akka-sample-sharding-java/killrweather-fog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -83,4 +83,4 @@
</plugins>
</build>

</project>
</project>
4 changes: 2 additions & 2 deletions akka-sample-sharding-java/killrweather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -87,4 +87,4 @@
</plugins>
</build>

</project>
</project>

0 comments on commit 8e6006a

Please sign in to comment.