Hi,

I'm new to BigData/Drill and I'm following the instructions on the
following link in order to setup a dev env:

https://cwiki.apache.org/confluence/display/DRILL/Sources+and+Setting+Up+Development+Environment#


As per the instructions, I'm trying to build the code under common/, ref/
and sqlparser/. When building ref/ or sqlparser/, I'm running into mvn
dependency errors. I'm pasting the output of mvn install at the end of the
mail.

It looks like some of the artifacts are not present in the mvn repository -
how can I work around this? Would I need to change the pom.xmls to point to
one or more different artifact versions?


Thanks,
Regards,
Vijay

*******Errors*******

Here's the error I see under ref/ :


vijay@localhost: ~DRILLWS/sandbox/prototype/exec/ref master ⚡
$ mvn install

 [11:09:56]
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Logical Plan Execution Reference Implementation 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.031s
[INFO] Finished at: Sat Aug 24 11:10:05 PDT 2013
[INFO] Final Memory: 7M/124M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ref: Could not resolve
dependencies for project org.apache.drill.exec:ref:jar:1.0-SNAPSHOT: Failed
to collect dependencies for [org.apache.drill:common:jar:1.0-SNAPSHOT
(compile), org.apache.hadoop:hadoop-core:jar:1.1.1 (compile),
com.carrotsearch:hppc:jar:0.4.2 (compile),
org.apache.hadoop:hadoop-examples:jar:1.1.1 (compile),
com.google.guava:guava:jar:14.0.1 (compile), org.slf4j:slf4j-api:jar:1.7.5
(compile), org.slf4j:jul-to-slf4j:jar:1.7.5 (compile),
org.slf4j:jcl-over-slf4j:jar:1.7.5 (compile),
org.slf4j:log4j-over-slf4j:jar:1.7.5 (compile),
com.googlecode.jmockit:jmockit:jar:1.3 (test), junit:junit:jar:4.11 (test),
ch.qos.logback:logback-classic:jar:1.0.13 (test),
de.huxhorn.lilith:de.huxhorn.lilith.logback.appender.multiplex-classic:jar:0.9.43
(test)]: Failed to read artifact descriptor for
org.apache.drill:common:jar:1.0-SNAPSHOT: Failure to find
org.apache.drill:prototype-parent:pom:1.0-SNAPSHOT in
http://conjars.org/repo was cached in the local repository, resolution will
not be reattempted until the update interval of conjars 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
FAIL: 1

vijay@localhost:





And here is the log of mvn install under sqlparser/ :


vijay@localhost: ~DRILLWS/sandbox/prototype/sqlparser master ⚡
$ mvn install

 [11:27:36]
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building sqlparser 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://conjars.org/repo/net/hydromatic/optiq/0.4.9/optiq-0.4.9.pom
Downloaded:
http://conjars.org/repo/net/hydromatic/optiq/0.4.9/optiq-0.4.9.pom (9 KB at
7.9 KB/sec)
Downloading:
http://conjars.org/repo/eigenbase/eigenbase-xom/1.3.1/eigenbase-xom-1.3.1.pom
Downloading:
http://repo.maven.apache.org/maven2/eigenbase/eigenbase-xom/1.3.1/eigenbase-xom-1.3.1.pom
Downloading:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-xom/1.3.1/eigenbase-xom-1.3.1.pom
Downloaded:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-xom/1.3.1/eigenbase-xom-1.3.1.pom(4
KB at 4.4 KB/sec)
Downloading:
http://conjars.org/repo/xerces/xercesImpl/2.5.0/xercesImpl-2.5.0.pom
Downloading:
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.5.0/xercesImpl-2.5.0.pom
Downloaded:
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.5.0/xercesImpl-2.5.0.pom(150
B at 1.4 KB/sec)
Downloading: http://conjars.org/repo/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom(10
KB at 120.6 KB/sec)
Downloading:
http://conjars.org/repo/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom(5
KB at 79.2 KB/sec)
Downloading:
http://conjars.org/repo/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom(3
KB at 25.3 KB/sec)
Downloading:
http://conjars.org/repo/eigenbase/eigenbase-properties/1.1.2/eigenbase-properties-1.1.2.pom
Downloading:
http://repo.maven.apache.org/maven2/eigenbase/eigenbase-properties/1.1.2/eigenbase-properties-1.1.2.pom
Downloading:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-properties/1.1.2/eigenbase-properties-1.1.2.pom
Downloaded:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-properties/1.1.2/eigenbase-properties-1.1.2.pom(3
KB at 1.2 KB/sec)
Downloading:
http://conjars.org/repo/eigenbase/eigenbase-resgen/1.3.1/eigenbase-resgen-1.3.1.pom
Downloading:
http://repo.maven.apache.org/maven2/eigenbase/eigenbase-resgen/1.3.1/eigenbase-resgen-1.3.1.pom
Downloading:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-resgen/1.3.1/eigenbase-resgen-1.3.1.pom
Downloaded:
http://repo.pentaho.org/artifactory/repo/eigenbase/eigenbase-resgen/1.3.1/eigenbase-resgen-1.3.1.pom(3
KB at 10.8 KB/sec)
Downloading:
http://conjars.org/repo/net/hydromatic/linq4j/0.1.8/linq4j-0.1.8.pom
Downloaded:
http://conjars.org/repo/net/hydromatic/linq4j/0.1.8/linq4j-0.1.8.pom (5 KB
at 10.1 KB/sec)
Downloading:
http://conjars.org/repo/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.pom
Downloading:
http://repo.maven.apache.org/maven2/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.pom(2
KB at 17.0 KB/sec)
Downloading:
http://conjars.org/repo/org/codehaus/janino/janino/2.6.1/janino-2.6.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/janino/janino/2.6.1/janino-2.6.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/codehaus/janino/janino/2.6.1/janino-2.6.1.pom(925
B at 18.1 KB/sec)
Downloading:
http://conjars.org/repo/org/codehaus/janino/janino-parent/2.6.1/janino-parent-2.6.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/janino/janino-parent/2.6.1/janino-parent-2.6.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/codehaus/janino/janino-parent/2.6.1/janino-parent-2.6.1.pom(9
KB at 136.9 KB/sec)
Downloading:
http://conjars.org/repo/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom(5
KB at 88.8 KB/sec)
Downloading:
http://conjars.org/repo/org/codehaus/janino/commons-compiler/2.6.1/commons-compiler-2.6.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/janino/commons-compiler/2.6.1/commons-compiler-2.6.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/codehaus/janino/commons-compiler/2.6.1/commons-compiler-2.6.1.pom(667
B at 11.4 KB/sec)
Downloading:
http://conjars.org/repo/org/mongodb/mongo-java-driver/2.11.1/mongo-java-driver-2.11.1.pom
Downloading:
http://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.1/mongo-java-driver-2.11.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/mongodb/mongo-java-driver/2.11.1/mongo-java-driver-2.11.1.pom(869
B at 15.2 KB/sec)
Downloading:
http://conjars.org/repo/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.pom
Downloading:
http://repo.maven.apache.org/maven2/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.pom
Downloaded:
http://repo.maven.apache.org/maven2/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.pom(11
KB at 164.8 KB/sec)
Downloading:
http://conjars.org/repo/org/apache/commons/commons-parent/12/commons-parent-12.pom
Downloading:
http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/12/commons-parent-12.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/12/commons-parent-12.pom(27
KB at 295.4 KB/sec)
Downloading:
http://conjars.org/repo/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.pom
Downloading:
http://repo.maven.apache.org/maven2/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.pom
Downloaded:
http://repo.maven.apache.org/maven2/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.pom(12
KB at 140.3 KB/sec)
Downloading:
http://repository.apache.org/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://conjars.org/repo/org/apache/drill/exec/ref/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://conjars.org/repo/org/apache/drill/exec/ref/1.0-SNAPSHOT/ref-1.0-SNAPSHOT.pom
Downloading:
https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/ref-1.0-SNAPSHOT.pom
Downloading:
http://repository.apache.org/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/ref-1.0-SNAPSHOT.pom
[WARNING] The POM for org.apache.drill.exec:ref:jar:1.0-SNAPSHOT is
missing, no dependency information available
Downloading:
http://repository.apache.org/snapshots/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://conjars.org/repo/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://conjars.org/repo/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/java-exec-1.0-SNAPSHOT.pom
Downloading:
https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/java-exec-1.0-SNAPSHOT.pom
Downloading:
http://repository.apache.org/snapshots/org/apache/drill/exec/java-exec/1.0-SNAPSHOT/java-exec-1.0-SNAPSHOT.pom
[WARNING] The POM for org.apache.drill.exec:java-exec:jar:1.0-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for
org.apache.drill.exec:java-exec:jar:tests:1.0-SNAPSHOT is missing, no
dependency information available
Downloading:
http://conjars.org/repo/pentaho/mondrian-data-foodmart-queries/0.3/mondrian-data-foodmart-queries-0.3.pom
Downloaded:
http://conjars.org/repo/pentaho/mondrian-data-foodmart-queries/0.3/mondrian-data-foodmart-queries-0.3.pom(2
KB at 4.2 KB/sec)
[WARNING] The POM for org.apache.drill.exec:ref:jar:tests:1.0-SNAPSHOT is
missing, no dependency information available
Downloading: http://conjars.org/repo/sqlline/sqlline/1.1.0/sqlline-1.1.0.pom
Downloaded: http://conjars.org/repo/sqlline/sqlline/1.1.0/sqlline-1.1.0.pom(3
KB at 11.7 KB/sec)
Downloading: http://conjars.org/repo/jline/jline/2.10/jline-2.10.pom
Downloading:
http://repo.maven.apache.org/maven2/jline/jline/2.10/jline-2.10.pom
Downloaded:
http://repo.maven.apache.org/maven2/jline/jline/2.10/jline-2.10.pom (17 KB
at 265.7 KB/sec)
Downloading:
http://conjars.org/repo/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom
Downloading:
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.pom(2
KB at 26.6 KB/sec)
Downloading:
http://conjars.org/repo/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom
Downloading:
http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom
Downloaded:
http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom(2
KB at 25.8 KB/sec)
Downloading: http://conjars.org/repo/xalan/xalan/2.7.1/xalan-2.7.1.pom
Downloading:
http://repo.maven.apache.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom (2 KB
at 21.9 KB/sec)
Downloading:
http://conjars.org/repo/xalan/serializer/2.7.1/serializer-2.7.1.pom
Downloading:
http://repo.maven.apache.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1.pom
Downloaded:
http://repo.maven.apache.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1.pom(2
KB at 12.3 KB/sec)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15.792s
[INFO] Finished at: Sat Aug 24 11:27:56 PDT 2013
[INFO] Final Memory: 8M/122M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sqlparser: Could not resolve
dependencies for project org.apache.drill:sqlparser:jar:1.0-SNAPSHOT:
Failed to collect dependencies for [net.hydromatic:optiq:jar:0.4.9
(compile), org.apache.drill:common:jar:1.0-SNAPSHOT (compile),
org.apache.drill.exec:ref:jar:1.0-SNAPSHOT (compile),
org.apache.drill.exec:java-exec:jar:1.0-SNAPSHOT (compile),
org.apache.drill.exec:java-exec:jar:tests:1.0-SNAPSHOT (test),
pentaho:mondrian-data-foodmart-queries:jar:0.3 (test),
org.apache.drill.exec:ref:jar:tests:1.0-SNAPSHOT (test),
org.codehaus.janino:janino:jar:2.6.1 (compile), sqlline:sqlline:jar:1.1.0
(test), xerces:xercesImpl:jar:2.9.1 (compile), xalan:xalan:jar:2.7.1
(compile), com.google.guava:guava:jar:14.0.1 (compile),
org.slf4j:slf4j-api:jar:1.7.5 (compile), org.slf4j:jul-to-slf4j:jar:1.7.5
(compile), org.slf4j:jcl-over-slf4j:jar:1.7.5 (compile),
org.slf4j:log4j-over-slf4j:jar:1.7.5 (compile),
com.googlecode.jmockit:jmockit:jar:1.3 (test), junit:junit:jar:4.11 (test),
ch.qos.logback:logback-classic:jar:1.0.13 (test),
de.huxhorn.lilith:de.huxhorn.lilith.logback.appender.multiplex-classic:jar:0.9.43
(test)]: Failed to read artifact descriptor for
org.apache.drill:common:jar:1.0-SNAPSHOT: Failure to find
org.apache.drill:prototype-parent:pom:1.0-SNAPSHOT in
http://conjars.org/repo was cached in the local repository, resolution will
not be reattempted until the update interval of conjars 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
FAIL: 1

Reply via email to