Skip to content

Commit

Permalink
[CARBONDATA-2006] project level update
Browse files Browse the repository at this point in the history
This closes #1776
  • Loading branch information
chenliang613 authored and QiangCai committed Jan 8, 2018
1 parent ed2c01f commit 90921eb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 26 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache CarbonData
Copyright 2016-2017 The Apache Software Foundation
Copyright 2016 and onwards The Apache Software Foundation.

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
23 changes: 3 additions & 20 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,14 @@
* [Apache Thrift 0.9.3](http://archive.apache.org/dist/thrift/0.9.3/)

## Build command
From 1.3.0 onwards, CarbonData supports spark 2.x, build without test,by default carbondata takes Spark 2.1.0 to build the project
Build with different supported versions of Spark, by default using Spark 2.2.1 to build
```
mvn -DskipTests clean package
```

Build with test
```
mvn clean package
```

Before 1.3.0, build with different supported versions of Spark
```
mvn -DskipTests -Pspark-1.5 -Dspark.version=1.5.1 clean package
mvn -DskipTests -Pspark-1.5 -Dspark.version=1.5.2 clean package
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.1 clean package
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.2 clean package
mvn -DskipTests -Pspark-1.6 -Dspark.version=1.6.3 clean package
mvn -DskipTests -Pspark-2.1 -Dspark.version=2.1.0 clean package
mvn -DskipTests -Pspark-2.2 -Dspark.version=2.2.1 clean package
```


## For contributors : To build the format code after any changes, please follow the below command.
Note:Need install Apache Thrift 0.9.3
```
mvn clean -DskipTests -Pbuild-with-format -Pspark-2.1 package
mvn clean -DskipTests -Pbuild-with-format -Pspark-2.2 package
```
Empty file.
2 changes: 1 addition & 1 deletion integration/spark2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<profile>
<id>build-all</id>
<properties>
<spark.version>2.1.0</spark.version>
<spark.version>2.2.1</spark.version>
<scala.binary.version>2.11</scala.binary.version>
<scala.version>2.11.8</scala.version>
</properties>
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
<!-- This profile only should be used for release prepare to cover all the modules -->
<id>build-all</id>
<properties>
<spark.version>2.1.0</spark.version>
<spark.version>2.2.1</spark.version>
<maven.test.skip>true</maven.test.skip>
</properties>
<modules>
Expand Down Expand Up @@ -460,9 +460,6 @@
</profile>
<profile>
<id>spark-2.1</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version>2.1.0</spark.version>
<scala.binary.version>2.11</scala.binary.version>
Expand Down Expand Up @@ -513,6 +510,9 @@
</profile>
<profile>
<id>spark-2.2</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spark.version>2.2.1</spark.version>
<scala.binary.version>2.11</scala.binary.version>
Expand Down

0 comments on commit 90921eb

Please sign in to comment.