Skip to content

Commit

Permalink
[build]: Updated pom files
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar2812 committed Apr 2, 2019
1 parent 764a600 commit 41c5d80
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 27 deletions.
14 changes: 7 additions & 7 deletions dynaml-core/pom.xml
Expand Up @@ -6,7 +6,7 @@
<packaging>jar</packaging>
<description>dynaml-core</description>
<url>https://transcendent-ai-labs.github.io/DynaML/</url>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
<licenses>
<license>
<name>APL2</name>
Expand Down Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-pipes_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>org.typelevel</groupId>
Expand Down Expand Up @@ -134,7 +134,7 @@
<dependency>
<groupId>org.json4s</groupId>
<artifactId>json4s-jackson_2.12</artifactId>
<version>3.6.2</version>
<version>3.6.5</version>
</dependency>
<dependency>
<groupId>ws.unfiltered</groupId>
Expand Down Expand Up @@ -222,7 +222,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand All @@ -241,7 +241,7 @@
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.12</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -325,7 +325,7 @@
<dependency>
<groupId>org.platanios</groupId>
<artifactId>tensorflow_2.12</artifactId>
<version>0.2.4</version>
<version>0.4.2-SNAPSHOT</version>
<classifier>darwin-cpu-x86_64</classifier>
<exclusions>
<exclusion>
Expand All @@ -337,7 +337,7 @@
<dependency>
<groupId>org.platanios</groupId>
<artifactId>tensorflow-data_2.12</artifactId>
<version>0.2.4</version>
<version>0.4.2-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.typelevel</groupId>
Expand Down
12 changes: 6 additions & 6 deletions dynaml-examples/pom.xml
Expand Up @@ -6,7 +6,7 @@
<packaging>jar</packaging>
<description>dynaml-examples</description>
<url>https://transcendent-ai-labs.github.io/DynaML/</url>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
<licenses>
<license>
<name>APL2</name>
Expand Down Expand Up @@ -40,12 +40,12 @@
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-pipes_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-core_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>org.typelevel</groupId>
Expand Down Expand Up @@ -139,7 +139,7 @@
<dependency>
<groupId>org.json4s</groupId>
<artifactId>json4s-jackson_2.12</artifactId>
<version>3.6.2</version>
<version>3.6.5</version>
</dependency>
<dependency>
<groupId>ws.unfiltered</groupId>
Expand Down Expand Up @@ -227,7 +227,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand All @@ -246,7 +246,7 @@
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.12</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
8 changes: 4 additions & 4 deletions dynaml-pipes/pom.xml
Expand Up @@ -6,7 +6,7 @@
<packaging>jar</packaging>
<description>dynaml-pipes</description>
<url>https://transcendent-ai-labs.github.io/DynaML/</url>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
<licenses>
<license>
<name>APL2</name>
Expand Down Expand Up @@ -129,7 +129,7 @@
<dependency>
<groupId>org.json4s</groupId>
<artifactId>json4s-jackson_2.12</artifactId>
<version>3.6.2</version>
<version>3.6.5</version>
</dependency>
<dependency>
<groupId>ws.unfiltered</groupId>
Expand Down Expand Up @@ -217,7 +217,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand All @@ -236,7 +236,7 @@
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.12</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
4 changes: 2 additions & 2 deletions dynaml-repl/pom.xml
Expand Up @@ -6,7 +6,7 @@
<packaging>jar</packaging>
<description>dynaml-repl</description>
<url>https://transcendent-ai-labs.github.io/DynaML/</url>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
<licenses>
<license>
<name>APL2</name>
Expand Down Expand Up @@ -96,7 +96,7 @@
<dependency>
<groupId>org.json4s</groupId>
<artifactId>json4s-jackson_2.12</artifactId>
<version>3.6.2</version>
<version>3.6.5</version>
</dependency>
<dependency>
<groupId>ws.unfiltered</groupId>
Expand Down
19 changes: 19 additions & 0 deletions generate-poms.sh
@@ -0,0 +1,19 @@
#! /bin/bash
flag=${1:-false}
s=$(cat ./build.sbt | grep 'val mainVersion = ')
s=${s#*'"'}; s=${s%'"'*}

echo "Version is ${s}"

if [ $flag == "true" ]
then
echo 'Running sbt makePom utility'
sbt makePom
fi

echo 'Copying poms'
cp target/scala-2.12/dynaml_2.12-${s}.pom ./pom.xml
cp dynaml-core/target/scala-2.12/dynaml-core_2.12-${s}.pom ./dynaml-core/pom.xml
cp dynaml-repl/target/scala-2.12/dynaml-repl_2.12-${s}.pom ./dynaml-repl/pom.xml
cp dynaml-pipes/target/scala-2.12/dynaml-pipes_2.12-${s}.pom ./dynaml-pipes/pom.xml
cp dynaml-examples/target/scala-2.12/dynaml-examples_2.12-${s}.pom ./dynaml-examples/pom.xml
16 changes: 8 additions & 8 deletions pom.xml
Expand Up @@ -6,7 +6,7 @@
<packaging>jar</packaging>
<description>DynaML</description>
<url>https://transcendent-ai-labs.github.io/DynaML/</url>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
<licenses>
<license>
<name>APL2</name>
Expand Down Expand Up @@ -40,37 +40,37 @@
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-core_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-examples_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-pipes_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>io.github.transcendent-ai-labs</groupId>
<artifactId>dynaml-repl_2.12</artifactId>
<version>v2.0-SNAPSHOT</version>
<version>v2.0-beta.1</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor_2.12</artifactId>
<version>2.5.3</version>
<version>2.5.16</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-stream_2.12</artifactId>
<version>2.5.3</version>
<version>2.5.16</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-testkit_2.12</artifactId>
<version>2.5.3</version>
<version>2.5.16</version>
</dependency>
<dependency>
<groupId>com.typesafe.akka</groupId>
Expand Down

0 comments on commit 41c5d80

Please sign in to comment.