[
https://issues.apache.org/jira/browse/DRILL-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758356#comment-13758356
]
Jacques Nadeau commented on DRILL-208:
--------------------------------------
More details here: it looks like the sqlline project is incorrectly pointing to
1.0-SNAPSHOT instead of ${project.version}.
> Build fails
> -----------
>
> Key: DRILL-208
> URL: https://issues.apache.org/jira/browse/DRILL-208
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Harri Kinnunen
>
> Following the steps of the M1 README.MD, a fresh build fails. (Some cleanup
> activity first):
> //Hard clean git
> Harris-MacBook-Pro:git harri$ rm -rf incubator-drill/
> //Hard clean maven repository
> Harris-MacBook-Pro:git harri$ cd ..
> Harris-MacBook-Pro:~ harri$ rm -rf .m2
> //Checks
> Harris-MacBook-Pro:~ harri$ protoc --version
> libprotoc 2.5.0
> Harris-MacBook-Pro:git harri$ java -version
> java version "1.7.0_25"
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
> Harris-MacBook-Pro:git harri$
> Harris-MacBook-Pro:git harri$ mvn -v
> Apache Maven 3.0.3 (r1075438; 2011-02-28 19:31:09+0200)
> Maven home: /usr/share/maven
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
> Harris-MacBook-Pro:git harri$
> // Get the source
> Harris-MacBook-Pro:~ harri$ cd git
> Harris-MacBook-Pro:git harri$ git clone
> https://github.com/apache/incubator-drill.git
> Cloning into 'incubator-drill'...
> remote: Counting objects: 8598, done.
> remote: Compressing objects: 100% (5001/5001), done.
> remote: Total 8598 (delta 3188), reused 7158 (delta 1914)
> Receiving objects: 100% (8598/8598), 3.65 MiB | 669 KiB/s, done.
> Resolving deltas: 100% (3188/3188), done.
> //Build
> Harris-MacBook-Pro:git harri$ cd incubator-drill
> Harris-MacBook-Pro:incubator-drill harri$ mvn clean install
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Drill Root POM ............................. SUCCESS [1:46.010s]
> [INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [1:05.267s]
> [INFO] contrib/Parent Pom ................................ SUCCESS [0.119s]
> [INFO] contrib/hbase-storage-engine ...................... SUCCESS [0.155s]
> [INFO] contrib/sqlline ................................... FAILURE [21.821s]
> [INFO] exec/Parent Pom ................................... SKIPPED
> [INFO] exec/Netty Little Endian Buffers .................. SKIPPED
> [INFO] exec/Java Execution Engine ........................ SKIPPED
> [INFO] exec/Reference Interpreter ........................ SKIPPED
> [INFO] SQL Parser ........................................ SKIPPED
> [INFO] Packaging and Distribution Assembly ............... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:16.181s
> [INFO] Finished at: Wed Sep 04 23:36:06 EEST 2013
> [INFO] Final Memory: 29M/165M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project sqlline: Could not resolve
> dependencies for project org.apache.drill:sqlline:jar:1.0.0-m2-SNAPSHOT:
> Could not find artifact org.apache.drill:sqlparser:jar:1.0-SNAPSHOT in
> sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapshots) -> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :sqlline
> // Just in case...
> Harris-MacBook-Pro:incubator-drill harri$ git checkout
> tags/drill-root-1.0.0-m1
> Harris-MacBook-Pro:incubator-drill harri$ mvn clean install
> [ERROR] Failed to execute goal on project sqlline: Could not resolve
> dependencies for project org.apache.drill:sqlline:jar:1.0.0-m1: Failure to
> find org.apache.drill:sqlparser:jar:1.0-SNAPSHOT in
> https://oss.sonatype.org/content/repositories/snapshots was cached in the
> local repository, resolution will not be reattempted until the update
> interval of sonatype-nexus-snapshots has elapsed or updates are forced ->
> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :sqlline
> Harris-MacBook-Pro:incubator-drill harri$
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira