Standalone and Distributed CDAP
mvn clean
MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" mvn test -fae
mvn package
mvn package -DskipTests
mvn package -pl [module] -am
MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" mvn -Dtest=TestClass,TestMore*Class,TestClassMethod#methodName -DfailIfNoTests=false test
See Surefire doc for more details
MAVEN_OPTS="-Xmx512m" mvn package -DskipTests -pl cdap-examples -am -amd -P examples
MAVEN_OPTS="-Xmx512m" mvn clean package -DskipTests -P examples -pl cdap-examples -am -amd && MAVEN_OPTS="-Xmx512m" mvn package -pl cdap-standalone -am -DskipTests -P dist,release
mvn clean package javadoc:javadoc -pl cdap-api -am -DskipTests -P release
mvn clean site -DskipTests
mvn package -DskipTests -P dist,rpm-prepare,rpm,deb-prepare,deb,tgz
mvn package -DskipTests -P dist,tgz && ./cdap-distributions/bin/build_parcel.sh
mvn package dependency:tree -DskipTests
mvn package dependency:tree -DskipTests -pl [module] -am
mvn -Dsurefire.redirectTestOutputToFile=false ...
mvn process-test-classes -P findbugs,examples
mvn -o ....
mvn versions:set -DnewVersion=[new_version] -DgenerateBackupPoms=false -P examples
Copyright © 2014 Cask Data, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Cask is a trademark of Cask Data, Inc. All rights reserved.