Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Fresh git copy from git clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
Also fresh copy of a Centos 6.3 x86_64, jdk1.7.0-15, Maven 2.2.1
Description
Several dependencies are not downloaded and hence make Drill not to build (sorry, Maven and Java newbie here!).
NFO] [jar:jar
{execution: default-jar}]
[INFO] Building jar: /home/scoulibaly/Bureau/incubator-drill/sandbox/prototype/planner/target/planner-1.0-SNAPSHOT.jar
[INFO] [install:install
]
[INFO] Installing /home/scoulibaly/Bureau/incubator-drill/sandbox/prototype/planner/target/planner-1.0-SNAPSHOT.jar to /home/scoulibaly/.m2/repository/org/apache/drill/planner/1.0-SNAPSHOT/planner-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building sqlparser
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [remote-resources:process
]
Downloading: http://repo1.maven.org/maven2/net/hydromatic/optiq/0.1/optiq-0.1.pom
[INFO] Unable to find resource 'net.hydromatic:optiq:pom:0.1' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/net/hydromatic/linq4j/0.1/linq4j-0.1.pom
[INFO] Unable to find resource 'net.hydromatic:linq4j:pom:0.1' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repository.apache.org/snapshots/org/apache/drill/exec/ref/1.0-SNAPSHOT/ref-1.0-SNAPSHOT-test.jar
Downloading: http://repo1.maven.org/maven2/net/hydromatic/optiq/0.1/optiq-0.1.jar
[INFO] Unable to find resource 'net.hydromatic:optiq:jar:0.1' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/net/hydromatic/linq4j/0.1/linq4j-0.1.jar
[INFO] Unable to find resource 'net.hydromatic:linq4j:jar:0.1' in repository central (http://repo1.maven.org/maven2)
[INFO] Unable to find resource 'org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
----------
1) net.hydromatic:optiq:jar:0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.hydromatic -DartifactId=optiq -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.hydromatic -DartifactId=optiq -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
2) net.hydromatic:optiq:jar:0.1
2) net.hydromatic:linq4j:jar:0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.hydromatic -DartifactId=linq4j -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.hydromatic -DartifactId=linq4j -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
2) net.hydromatic:linq4j:jar:0.1
3) org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.drill.exec -DartifactId=ref -Dversion=1.0-SNAPSHOT -Dclassifier=test -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.drill.exec -DartifactId=ref -Dversion=1.0-SNAPSHOT -Dclassifier=test -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
2) org.apache.drill.exec:ref:jar:test:1.0-SNAPSHOT
----------
3 required artifacts are missing.
for artifact:
org.apache.drill:sqlparser:jar:1.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Thu Feb 28 11:52:29 CET 2013
[INFO] Final Memory: 65M/157M
[INFO] ------------------------------------------------------------------------