Skip to content

Commit

Permalink
BIGTOP-1202. One-button-click way for installing all needed bits of t…
Browse files Browse the repository at this point in the history
…esting framework
  • Loading branch information
Konstantin Boudnik committed Feb 4, 2014
1 parent 5444fd2 commit fae96c5
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
45 changes: 45 additions & 0 deletions build.gradle
@@ -0,0 +1,45 @@
apply plugin: 'java'
apply plugin: 'maven'

group = 'org.apache.bigtop'
version = '0.8.0-SNAPSHOT'

description = """Bigtop"""

sourceCompatibility = 1.6
targetCompatibility = 1.6

task installTopLevel(type:Exec) {
workingDir "."
commandLine 'mvn clean install -f pom.xml'.split(" ")
}

task installiTest(type:Exec) {
workingDir "."
commandLine 'mvn clean install -f bigtop-test-framework/pom.xml -DskipTests'.split(" ")
}
task installTestArtifacts(type:Exec) {
workingDir "."
commandLine 'mvn clean install -f bigtop-tests/test-artifacts/pom.xml'.split(" ")
}
task installConf(type:Exec) {
workingDir "."
commandLine 'mvn clean install -f bigtop-tests/test-execution/conf/pom.xml'.split(" ")
}
task installCommon(type:Exec) {
workingDir "."
commandLine 'mvn clean install -f bigtop-tests/test-execution/common/pom.xml'.split(" ")
}
task installAllLocalArtifacts() {

}

installAllLocalArtifacts.dependsOn installCommon, installConf, installTestArtifacts, installiTest, installTopLevel

repositories {
maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/libs-snapshot-local" }
maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/ext-snapshot-local" }
maven { url "http://mvn01.shef.wandisco.com:8081/artifactory/libs-release-local" }
maven { url "http://repository.apache.org/snapshots" }
maven { url "http://repo.maven.apache.org/maven2" }
}
1 change: 1 addition & 0 deletions settings.gradle
@@ -0,0 +1 @@
rootProject.name = 'bigtop'

0 comments on commit fae96c5

Please sign in to comment.