Skip to content

Commit

Permalink
change semantic versioning scheme to scala_version-spark_version-cima…
Browse files Browse the repository at this point in the history
…pplication_version similar to CIMReader
  • Loading branch information
derrickoswald committed Nov 23, 2017
1 parent 50f4b45 commit 47d9e94
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 38 deletions.
2 changes: 1 addition & 1 deletion CIMConnector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMApplication</artifactId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>CIMConnector</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected String CIMConnectorLibJarPath ()
throws ResourceException
{
// ToDo: find a better way to find the CIMConnector.rar
String ret = "/usr/local/tomee/apps/CIMApplication/CIMConnector/CIMConnector-2.3.4-lib.jar";
String ret = "/usr/local/tomee/apps/CIMApplication/CIMConnector/CIMConnector-2.11-2.2.0-2.3.5-lib.jar";
return (ret);
}

Expand Down
2 changes: 1 addition & 1 deletion CIMEar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMApplication</artifactId>
<relativePath>../pom.xml</relativePath>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<artifactId>CIMEar</artifactId>
<packaging>ear</packaging>
Expand Down
44 changes: 22 additions & 22 deletions CIMWeb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMApplication</artifactId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<artifactId>CIMWeb</artifactId>
<packaging>war</packaging>
Expand All @@ -34,6 +34,26 @@

<dependencies>

<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${version.dependency.sqlite}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.datastax.spark</groupId>
<artifactId>spark-cassandra-connector_${version.dependency.scala}</artifactId>
<version>${version.dependency.cassandra}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMConnector</artifactId>
Expand Down Expand Up @@ -76,13 +96,6 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${version.dependency.sqlite}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${version.dependency.scala}</artifactId>
Expand All @@ -108,20 +121,7 @@
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${version.dependency.scalalibrary}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.datastax.spark</groupId>
<artifactId>spark-cassandra-connector_${version.dependency.scala}</artifactId>
<version>${version.dependency.cassandra}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
</exclusion>
</exclusions>
<scope>provided</scope>
</dependency>

<!-- Test Dependencies -->
Expand Down
11 changes: 10 additions & 1 deletion GridLAB-D/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CIMApplication</artifactId>
<groupId>ch.ninecode.cim</groupId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<artifactId>GridLAB-D</artifactId>
<groupId>ch.ninecode.gl</groupId>
Expand All @@ -26,6 +26,12 @@
<artifactId>CIMReader</artifactId>
<version>${version.dependency.cimreader}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>ch.ninecode.gl</groupId>
<artifactId>GridLAB-D</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -111,6 +117,9 @@
<configuration>
<scalaCompatVersion>${version.dependency.scala}</scalaCompatVersion>
<scalaVersion>${version.dependency.scalalibrary}</scalaVersion>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
<executions>
<execution>
Expand Down
23 changes: 15 additions & 8 deletions ShortCircuit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CIMApplication</artifactId>
<groupId>ch.ninecode.cim</groupId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<artifactId>ShortCircuit</artifactId>
<groupId>ch.ninecode.sc</groupId>
Expand All @@ -20,6 +20,19 @@

<dependencies>

<dependency>
<groupId>com.github.scopt</groupId>
<artifactId>scopt_${version.dependency.scala}</artifactId>
<version>${version.dependency.scopt}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>ch.ninecode.gl</groupId>
<artifactId>ShortCircuit</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMReader</artifactId>
Expand Down Expand Up @@ -62,13 +75,6 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.github.scopt</groupId>
<artifactId>scopt_${version.dependency.scala}</artifactId>
<version>${version.dependency.scopt}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_${version.dependency.scala}</artifactId>
Expand Down Expand Up @@ -156,6 +162,7 @@
<manifest>
<mainClass>ch.ninecode.sc.Main</mainClass>
</manifest>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
<executions>
Expand Down
2 changes: 1 addition & 1 deletion SmartMeter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CIMApplication</artifactId>
<groupId>ch.ninecode.cim</groupId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<artifactId>SmartMeter</artifactId>
<groupId>ch.ninecode.sm</groupId>
Expand Down
2 changes: 1 addition & 1 deletion Spatial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMApplication</artifactId>
<version>2.3.4</version>
<version>2.11-2.2.0-2.3.5</version>
</parent>
<groupId>ch.ninecode.sp</groupId>
<artifactId>Spatial</artifactId>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ch.ninecode.cim</groupId>
<artifactId>CIMApplication</artifactId>
<version>2.3.4</version>
<!-- version>${version.dependency.scala}-${version.dependency.spark}-CIMAPPLICATION_VERSION</version -->
<version>2.11-2.2.0-2.3.5</version>
<packaging>pom</packaging>
<name>CIM Application Multimodule</name>

Expand All @@ -18,7 +19,6 @@
<!-- Scala versions -->
<version.dependency.scala>2.11</version.dependency.scala>
<version.dependency.scalalibrary>2.11.8</version.dependency.scalalibrary>
<version.dependency.scalatest>3.0.3</version.dependency.scalatest>

<!-- Spark versions -->
<version.dependency.hadoop>2.7.3</version.dependency.hadoop>
Expand All @@ -27,6 +27,7 @@

<!-- test versions -->
<version.dependency.junit>4.12</version.dependency.junit>
<version.dependency.scalatest>3.0.3</version.dependency.scalatest>

</properties>

Expand Down

0 comments on commit 47d9e94

Please sign in to comment.