Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> Fwd: git mirror(s) not updating

Copy link to this message
Re: Fwd: git mirror(s) not updating
Are you running via bash? Also, I wouldn't suggest using an alpha
version of Maven.

Can you run the following script below.  You will need to be running
via cygwin/bash.  Once completed, please provide the file

For an example, I've also included my output.

=========drill-build.sh========#!/bin/sh -x


set -e
echo "=====uname=====" > $LOG 2>&1
uname -a >> $LOG 2>&1
echo -e "\n\n=====java=====" >> $LOG 2>&1
java -version >> $LOG 2>&1
echo -e "\n\n=====protoc====="  >> $LOG 2>&1
protoc --version >> $LOG 2>&1
echo -e "\n\n=====mvn=====" >> $LOG 2>&1
mvn --version >> $LOG 2>&1
mkdir $TARGET >> $LOG 2>&1
echo -e "\n\n=====git clone=====" >> $LOG 2>&1
git clone https://github.com/apache/incubator-drill.git $TARGET >> $LOG 2>&1
cd $TARGET/sandbox/prototype
echo -e "\n\n=====git status=====" >> $LOG 2>&1>>  $LOG 2>&1
git status >> $LOG 2>&1

set +e
echo -e "\n\n=====base mvn install=====" >> $LOG 2>&1
mvn clean install >> $LOG 2>&1
if [ $? != 0 ]; then
  echo -e "\n\n=====mvn debug build=====" >> $LOG 2>&1
  mvn clean install -X >> $LOG 2>&1
=========end drill-build.sh=========
output of drill-build.log

=====uname====Darwin jnmac.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6
22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

=====java====java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

=====protoc====libprotoc 2.5.0

=====mvn====Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /usr/share/maven
Java version: 1.7.0_09, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"

=====git clone====Cloning into '/tmp/drill-build-test'...

=====git status====# On branch master
nothing to commit (working directory clean)

=====base mvn install====[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] prototype-parent
[INFO] common
[INFO] contrib-parent
[INFO] pom
[INFO] exec
[INFO] java-exec
[INFO] Logical Plan Execution Reference Implementation
[INFO] planner
[INFO] sqlparser
[INFO] ------------------------------------------------------------------------
[INFO] Building prototype-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ prototype-parent ---
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @
prototype-parent ---
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @
prototype-parent ---
[INFO] Setting property: classpath.resource.loader.class =>
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] --- maven-jar-plugin:2.3.1:test-jar (default) @ prototype-parent ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
prototype-parent ---
[INFO] Installing
/private/tmp/drill-build-test/sandbox/prototype/pom.xml to
[INFO] Installing
to /Users/jnadeau/.m2/repository/org/apache/drill/prototype-parent/1.0-SNAPSHOT/prototype-parent-1.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ common ---
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ common ---
[INFO] --- protobuf-maven-plugin:0.6.3:run (default) @ common ---
[INFO] Protobuf dependency version 2.5.0
[INFO] 'protoc' executable version 2.5.0
[INFO] Input directories:
[INFO]     /private/tmp/drill-build-test/sandbox/prototype/common/src/main/protobuf
(using default)
[INFO] Output directory:
[INFO] /private/tmp/drill-build-test/sandbox/prototype/common/target/generated-sources
does not exist. Creating...
[INFO] Cleaning
[INFO] Directory
[INFO]     Processing Types.proto
[INFO] Adding generated classes to classpath
[INFO] --- antlr3-maven-plugin:3.4:antlr (default) @ common ---
[INFO] ANTLR: Processing source directory
ANTLR Parser Generator  Version 3.4
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ common ---
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 112 source files to