Skip to content

Commit

Permalink
[ADAM-536] Add support for scala 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fnothaft committed Jan 22, 2015
1 parent 8500f5a commit d0821c7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion adam-apis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>adam-apis</artifactId>
<artifactId>adam-apis_${scala.artifact.suffix}</artifactId>
<packaging>jar</packaging>
<name>ADAM: APIs for Java</name>
<build>
Expand Down
2 changes: 1 addition & 1 deletion adam-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>adam-cli</artifactId>
<artifactId>adam-cli_${scala.artifact.suffix}</artifactId>
<packaging>jar</packaging>
<name>ADAM: CLI</name>
<build>
Expand Down
2 changes: 1 addition & 1 deletion adam-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>0.15.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>adam-core</artifactId>
<artifactId>adam-core_${scala.artifact.suffix}</artifactId>
<packaging>jar</packaging>
<name>ADAM: Core</name>
<build>
Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.avro</groupId>
Expand Down Expand Up @@ -352,6 +352,10 @@
<version>${hadoop.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
Expand Down Expand Up @@ -482,6 +486,13 @@
</dependencyManagement>

<profiles>
<profile>
<id>scala-2.11</id>
<properties>
<scala.version>2.11.2</scala.version>
<scala.artifact.suffix>2.11</scala.artifact.suffix>
</properties>
</profile>
<profile>
<id>distribution</id>
<modules>
Expand Down
2 changes: 2 additions & 0 deletions scripts/release/release.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

mvn -P distribution -Dresume=false release:clean release:prepare release:perform

mvn -P distribution,scala-2.11 -Dresume=false release:clean release:prepare release:perform
2 changes: 2 additions & 0 deletions scripts/release/rollback.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

mvn -P distribution release:rollback

mvn -P distribution,scala-2.11 release:rollback

0 comments on commit d0821c7

Please sign in to comment.