[
https://issues.apache.org/jira/browse/DRILL-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau updated DRILL-480:
---------------------------------
Fix Version/s: Future
> Drill build fails if source is downloaded as a zip file
> -------------------------------------------------------
>
> Key: DRILL-480
> URL: https://issues.apache.org/jira/browse/DRILL-480
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.0.0-rc1
> Environment: Centos 6.4 with Maven 3.0.5
> Reporter: doodlegum
> Fix For: Future
>
>
> When anyone downloads Drill master branch source code using "Download ZIP"
> button on github.com page, there is no git.properties file created under
> target/classes causing the build to fail with following issue. The
> commandline used is "mvn -DskipTests package"
> [INFO] --- maven-assembly-plugin:2.4:single (distro-assembly) @ distribution
> ---
> [INFO] Reading assembly descriptor: src/assemble/bin.xml
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Drill Root POM ............................. SUCCESS [5.468s]
> [INFO] Drill Protocol .................................... SUCCESS [9.725s]
> [INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [6.806s]
> [INFO] contrib/Parent Pom ................................ SUCCESS [0.596s]
> [INFO] contrib/data/Parent Pom ........................... SUCCESS [0.125s]
> [INFO] contrib/data/tpch-sample-data ..................... SUCCESS [3.324s]
> [INFO] contrib/storage-hive .............................. SUCCESS [27.306s]
> [INFO] exec/Parent Pom ................................... SUCCESS [0.304s]
> [INFO] exec/Netty Little Endian Buffers .................. SUCCESS [0.626s]
> [INFO] exec/Java Execution Engine ........................ SUCCESS [28.233s]
> [INFO] contrib/hbase-storage-plugin ...................... SUCCESS [2.384s]
> [INFO] SQL Parser ........................................ SUCCESS [1.663s]
> [INFO] contrib/sqlline ................................... SUCCESS [0.862s]
> [INFO] Packaging and Distribution Assembly ............... FAILURE [2.354s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:30.541s
> [INFO] Finished at: Wed Apr 02 14:31:09 PDT 2014
> [INFO] Final Memory: 78M/603M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.4:single (distro-assembly)
> on project distribution: Failed to create assembly: Error adding file to
> archive:
> /root/incubator-drill-master/distribution/target/classes/git.properties isn't
> a file. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :distribution
> If the source code is checked out using git clone command, this issue is not
> encountered.
--
This message was sent by Atlassian JIRA
(v6.2#6252)