Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Failed to Build Deep-jdbc #19

Closed
austindsouza opened this issue May 29, 2015 · 3 comments
Closed

Failed to Build Deep-jdbc #19

austindsouza opened this issue May 29, 2015 · 3 comments
Assignees

Comments

@austindsouza
Copy link

I was trying to build deep-spark using the command mvn clean install -DskipTests inside deep-parernt directory and at the end i got an error stated that

[INFO] deep parent ........................................ SUCCESS [ 22.328 s]
[INFO] deep commons ....................................... SUCCESS [ 33.724 s]
[INFO] deep core .......................................... SUCCESS [ 25.067 s]
[INFO] deep cassandra ..................................... SUCCESS [ 29.947 s]
[INFO] deep mongodb ....................................... SUCCESS [ 22.710 s]
[INFO] deep elasticsearch ................................. SUCCESS [ 23.845 s]
[INFO] deep aerospike ..................................... SUCCESS [ 23.377 s]
[INFO] deep jdbc .......................................... FAILURE [ 0.147 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:01 min
[INFO] Finished at: 2015-05-29T16:22:24+05:30
[INFO] Final Memory: 77M/718M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project deep-jdbc: Could not resolve dependencies for project com.stratio.deep:deep-jdbc:jar:0.8.0-SNAPSHOT: Failure to find com.oracle:ojdbc7:jar:12.1.0.2 in http://m2.neo4j.org/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of Neo4j releases has elapsed or updates are forced -> [Help 1]

Can you please provide me the proper steps to build this project.

Thanks,

@josegom josegom self-assigned this May 29, 2015
@josegom
Copy link
Contributor

josegom commented May 29, 2015

To compile Deep is necessary to have ojdbc7 driver in your local repositoty because this driver is not published in any public maven repositories.

We are going to add the way to install the oracle driver into our documentation. Meanwhile we send you the steps in advance.

In order to compile the deep-jdbc module is necessary to add the Oracle ojdbc driver into your local repository. You can download it from the URL: http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html. When you are on the web you must click in "Accept License Agreement" and later downlad ojdbc7.jar library. You need a free oracle account to download the official driver.

To install the ojdbc driver in your local repository you must execute the command below:

mvn install:install-file -Dfile= -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.2 -Dpackaging=jar

After that you can compile Deep executing the following steps:

cd deep-parent

mvn clean install

@josegom josegom closed this as completed May 29, 2015
@josegom josegom reopened this May 29, 2015
@josegom
Copy link
Contributor

josegom commented May 29, 2015

If you are agree with the explanation please close the issue.

@austindsouza
Copy link
Author

Hi Josegom,
I used mvn install:install-file -Dfile=ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.2 -Dpackaging=jar command and it yields Successful Build

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants