Skip to content

Commit

Permalink
SB-26402: reducing scala version 2.11 as 2.12 it is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
sknirmalkar89 committed Aug 27, 2021
1 parent 71a0b89 commit 1b286e4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 23 deletions.
5 changes: 1 addition & 4 deletions all-actors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>all-actors</artifactId>
<properties>
<scala.binary.version>2.12</scala.binary.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.kafka</groupId>
Expand Down Expand Up @@ -65,7 +62,7 @@
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-testkit_${scala.binary.version}</artifactId>
<artifactId>akka-testkit_${scala.major.version}</artifactId>
<version>2.5.22</version>
<scope>test</scope>
</dependency>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<play2.version>2.7.2</play2.version>
<play2.plugin.version>1.0.0-rc5</play2.plugin.version>
<scala.version>2.12.8</scala.version>
<scala.version>2.11.12</scala.version>
<scala.major.version>2.11</scala.major.version>
<powermock.version>2.0.2</powermock.version>
<httpClient.version>4.5.1</httpClient.version>
<commons-collections4.version>4.1</commons-collections4.version>
Expand Down
2 changes: 1 addition & 1 deletion sb-actor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dependencies>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.12</artifactId>
<artifactId>akka-actor_${scala.major.version}</artifactId>
<version>${akka.x.version}</version>
</dependency>
<dependency>
Expand Down
7 changes: 0 additions & 7 deletions sb-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@
<version>${commons-lang3.version}</version>
</dependency>

<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-slf4j_2.12</artifactId>
<version>${akka.x.version}</version>
</dependency>


<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
Expand Down
20 changes: 10 additions & 10 deletions service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</dependency>
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play_2.12</artifactId>
<artifactId>play_${scala.major.version}</artifactId>
<version>${play2.version}</version>
<exclusions>
<exclusion>
Expand All @@ -43,7 +43,7 @@
</exclusion>
<exclusion>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.12</artifactId>
<artifactId>akka-actor_${scala.major.version}</artifactId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
Expand All @@ -53,7 +53,7 @@
</dependency>
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play-guice_2.12</artifactId>
<artifactId>play-guice_${scala.major.version}</artifactId>
<version>${play2.version}</version>
</dependency>
<dependency>
Expand All @@ -68,18 +68,18 @@
</dependency>
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play-akka-http-server_2.12</artifactId>
<artifactId>play-akka-http-server_${scala.major.version}</artifactId>
<version>${play2.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-remote_2.12</artifactId>
<artifactId>akka-remote_${scala.major.version}</artifactId>
<version>${akka.x.version}</version>
</dependency>
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>filters-helpers_2.12</artifactId>
<artifactId>filters-helpers_${scala.major.version}</artifactId>
<version>${play2.version}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -108,8 +108,8 @@
</dependency>
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play-netty-server_2.12</artifactId>
<version>2.8.0</version>
<artifactId>play-netty-server_${scala.major.version}</artifactId>
<version>2.7.2</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
Expand All @@ -121,14 +121,14 @@
<!--Play Helper Class for Testing Controllers-->
<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play-test_2.12</artifactId>
<artifactId>play-test_${scala.major.version}</artifactId>
<version>${play2.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.typesafe.play</groupId>
<artifactId>play-logback_2.12</artifactId>
<artifactId>play-logback_${scala.major.version}</artifactId>
<version>${play2.version}</version>
<scope>runtime</scope>
<exclusions>
Expand Down

0 comments on commit 1b286e4

Please sign in to comment.