Skip to content
Permalink
Browse files
BIGTOP-2727. fix deployment tasks
  • Loading branch information
rvs committed Mar 28, 2017
1 parent 738ff07 commit ebcdedf3dd24df38d8ed7b7ee547b11d8268db4e
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 279 deletions.
@@ -57,6 +57,11 @@ distributions {
}
}

tasks.withType(Tar) {
compression = Compression.GZIP
extension = "tar.gz"
}

distZip.dependsOn clean
distTar.dependsOn clean

@@ -128,19 +128,16 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!-- put your configurations here -->
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
<goal>shade</goal>
</goals>
</execution>
</executions>

This file was deleted.

151 pom.xml
@@ -39,19 +39,19 @@
<inceptionYear>2011</inceptionYear>

<properties>
<hadoop.version>2.7.2</hadoop.version>
<hadoop.version>2.7.3</hadoop.version>
<!--An awful hack for BIGTOP-1429-->
<hbase.version>1.1.3</hbase.version>
<pig.version>0.12.1</pig.version>
<pig-smoke.version>0.12.1</pig-smoke.version>
<sqoop.version>1.4.5</sqoop.version>
<pig.version>0.15.0</pig.version>
<pig-smoke.version>0.15.0</pig-smoke.version>
<sqoop.version>1.4.6</sqoop.version>
<sqoop2.version>1.99.4</sqoop2.version>
<zookeeper.version>3.4.5</zookeeper.version>
<giraph.version>1.0.0</giraph.version>
<solr.version>4.6.0</solr.version>
<spark.version>1.3.1</spark.version>
<kafka.version>0.8.1.1</kafka.version>
<phoenix.version>4.7.0</phoenix.version>
<zookeeper.version>3.4.6</zookeeper.version>
<giraph.version>1.1.0</giraph.version>
<solr.version>4.10.4</solr.version>
<spark.version>2.1.0</spark.version>
<kafka.version>0.10.1.1</kafka.version>
<phoenix.version>4.9.0-HBase-1.1</phoenix.version>
<kite.version>1.1.0</kite.version>
<spark-smoke.version>${project.version}</spark-smoke.version>

@@ -289,86 +289,6 @@
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
<configuration>
<excludes>
<exclude>.git/**</exclude>
<exclude>.idea/**</exclude>
<exclude>**/.gitignore</exclude>
<!-- Test data with rigid structure and/or binary -->
<exclude>bigtop-tests/test-artifacts/**/resources/**</exclude>
<exclude>bigtop-tests/smoke-tests/alluxio/datafile</exclude>
<exclude>bigtop-tests/smoke-tests/hive/passwd.ql</exclude>
<exclude>bigtop-tests/smoke-tests/kite/sandwiches.csv</exclude>
<exclude>bigtop-tests/smoke-tests/phoenix/*.csv</exclude>
<exclude>bigtop-tests/smoke-tests/phoenix/*.sql</exclude>
<exclude>bigtop-tests/smoke-tests/ignite-hadoop/*.data</exclude>
<exclude>bigtop-tests/smoke-tests/tajo/table1/*.csv</exclude>
<exclude>**/target/**</exclude>
<exclude>**/build/**</exclude>
<exclude>**/.gradle/**</exclude>
<exclude>**/*.iml</exclude>
<exclude>.gradle</exclude>
<exclude>output/**</exclude>
<exclude>MAINTAINERS.txt</exclude>
<exclude>buildSrc/build/**</exclude>
<exclude>bigtop-data-generators/**/input_data/**</exclude>
<exclude>docker/**/*.yaml</exclude>
<exclude>bigtop-deploy/puppet/**/*.yaml</exclude>
<exclude>bigtop-deploy/puppet/modules/hadoop/**/id_hdfsuser*</exclude>
<exclude>bigtop-deploy/puppet/modules/bigtop-util/Gemfile.lock</exclude>
<exclude>bigtop-deploy/puppet/modules/zeppelin/templates/interpreter.json</exclude>
<!-- Debian package files that have a rigid structure (* matches package name) -->
<exclude>bigtop-packages/src/deb/*/*.dirs</exclude>
<exclude>bigtop-packages/src/deb/*/dirs</exclude>
<exclude>bigtop-packages/src/deb/*/*.install</exclude>
<exclude>bigtop-packages/src/deb/*/*.include</exclude>
<exclude>bigtop-packages/src/deb/**/include-binaries</exclude>
<exclude>bigtop-packages/src/deb/**/format</exclude>
<exclude>bigtop-packages/src/deb/*/*.manpages</exclude>
<exclude>bigtop-packages/src/deb/*/*.docs</exclude>
<exclude>bigtop-packages/src/deb/*/docs</exclude>
<exclude>bigtop-packages/src/deb/*/compat</exclude>
<exclude>bigtop-packages/src/deb/*/source/format</exclude>
<exclude>bigtop-packages/src/deb/*/*.lintian-overrides</exclude>
<exclude>bigtop-packages/src/deb/*/shlibs.local</exclude>
<exclude>bigtop-packages/src/**/*.diff</exclude>
<exclude>bigtop-packages/src/common/*/*.json</exclude>
<exclude>bigtop-packages/src/common/**/*.default</exclude>
<exclude>bigtop-repos/apt/distributions</exclude>
<!-- Juju charm files with rigid structure -->
<exclude>bigtop-packages/src/charm/**/wheelhouse.txt</exclude>
<exclude>bigtop-packages/src/charm/**/*.json</exclude>
<exclude>bigtop-packages/src/charm/**/*.svg</exclude>
<exclude>bigtop-packages/src/charm/**/*.yaml</exclude>
<exclude>bigtop-deploy/juju/**/*.yaml</exclude>
<exclude>bigtop-tests/cloud-weather-report/**/*.yaml</exclude>
<!-- Miscelaneous individual files -->
<exclude>src/site/resources/bigtop.rdf</exclude>
<exclude>src/site/resources/images/bigtop-logo.ai</exclude>
<!--Excluding a file with FreeBSD Documentation License-->
<exclude>src/site/resources/css/freebsd_docbook.css</exclude>
<exclude>test/MANIFEST.txt</exclude>
<exclude>
bigtop-deploy/puppet/modules/hadoop/templates/taskcontroller.cfg
</exclude>
<exclude>
bigtop-deploy/puppet/modules/hadoop/templates/container-executor.cfg
</exclude>
<exclude>bigtop-deploy/puppet/README.md</exclude>
<exclude>bigtop-deploy/puppet/modules/qfs/README.md</exclude>
<exclude>bigtop-deploy/puppet/config/site.csv.example</exclude>
<exclude>dl/**</exclude>
<exclude>bigtop-deploy/puppet/modules/gpdb/templates/**</exclude>
<exclude>provisioner/docker/config/hiera.yaml</exclude>
<exclude>provisioner/docker/config/hieradata/PLACEHOLDER</exclude>
<exclude>provisioner/docker/config/hosts</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
@@ -399,6 +319,11 @@
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -487,6 +412,40 @@
</distributionManagement>

<profiles>
<profile>
<id>attach-smokes</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>bigtop-tests/build/distributions/bigtop-smokes-suite-${project.version}.tar.gz</file>
<type>tar.gz</type>
<classifier>testsuite</classifier>
</artifact>
<artifact>
<file>bigtop-tests/build/distributions/bigtop-smokes-suite-${project.version}.zip</file>
<type>zip</type>
<classifier>testsuite</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
@@ -508,18 +467,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>

0 comments on commit ebcdedf

Please sign in to comment.