Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Could not find artifact org.kitesdk:kite-data-core:jar:0.10.1-SNAPSHOT in com.cloudera.releases

avatar
Guru

Hi,

I recently tried to create an Eclipse project of the kite-sdk, but the step to create the "Kite Data HBase module" failed with this error:

"

[ERROR] Failed to execute goal on project kite-data-hbase: Could not resolve dependencies for project org.kitesdk:kite-data-hbase:jar:0.10.1-SNAPSHOT: Could not find artifact org.kitesdk:kite-data-core:jar:0.10.1-SNAPSHOT in com.cloudera.releases (https://repository.cloudera.com/artifactory/cloudera-repos/) -> [Help 1]

"

Yes, the given URL doesn't contain com.cloudera.releases...

 

The steps I executed are:

git clone https://github.com/kite-sdk/kite.git

cd git

export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/jre && mvn eclipse:eclipse

The output looks like:

...

[INFO] ------------------------------------------------------------------------
[INFO] Building Kite Data HBase Module 0.10.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ kite-data-hbase >>>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Kite Development Kit .............................. SUCCESS [0.838s]
[INFO] Kite Data Module .................................. SUCCESS [0.013s]
[INFO] Kite Data Core Module ............................. SUCCESS [2.090s]
[INFO] Kite Data Crunch Module ........................... SUCCESS [0.621s]
[INFO] Kite Data Flume Module ............................ SUCCESS [0.280s]
[INFO] Kite Data Hive Module ............................. SUCCESS [1.087s]
[INFO] Kite Data HBase Module ............................ FAILURE [0.339s]
[INFO] Kite Flume Avro Event Serializer .................. SKIPPED
[INFO] Kite Maven Plugin ................................. SKIPPED
[INFO] Kite Tools Module ................................. SKIPPED
[INFO] Kite Morphlines Parent ............................ SKIPPED
[INFO] Kite Morphlines Core .............................. SKIPPED
[INFO] Kite Morphlines Avro .............................. SKIPPED
[INFO] Kite Morphlines JSON .............................. SKIPPED
[INFO] Kite Morphlines Maxmind ........................... SKIPPED
[INFO] Kite Morphlines Metrics Servlets .................. SKIPPED
[INFO] Kite Morphlines Saxon ............................. SKIPPED
[INFO] Kite Morphlines Tika Core ......................... SKIPPED
[INFO] Kite Morphlines Tika Decompress ................... SKIPPED
[INFO] Kite Morphlines Twitter ........................... SKIPPED
[INFO] Kite Morphlines Hadoop Core ....................... SKIPPED
[INFO] Kite Morphlines Hadoop Record Columnar (RC) File .. SKIPPED
[INFO] Kite Morphlines Hadoop Sequence File .............. SKIPPED
[INFO] Kite Morphlines UserAgent ......................... SKIPPED
[INFO] Kite Morphlines Solr Core ......................... SKIPPED
[INFO] Kite Morphlines Solr Cell ......................... SKIPPED
[INFO] Kite Morphlines Dependency Aggregator ............. SKIPPED
[INFO] Kite Morphlines Dependency Aggregator (Excluding Solr) SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.192s
[INFO] Finished at: Sat Dec 14 21:37:29 CET 2013
[INFO] Final Memory: 33M/346M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kite-data-hbase: Could not resolve dependencies for project org.kitesdk:kite-data-hbase:jar:0.10.1-SNAPSHOT: Failure to find org.kitesdk:kite-data-core:jar:0.10.1-SNAPSHOT in https://repository.cloudera.com/artifactory/cloudera-repos/ was cached in the local repository, resolution will not be reattempted until the update interval of com.cloudera.releases has elapsed or updates are forced -> [Help 1]

 

what am I missing, or doing wrong?

 

thanks...Gerd...

 

1 ACCEPTED SOLUTION

avatar
Contributor

Gerd:

 

I found the solution. As it turns out, this is a bug in Maven. In multi-module builds where a module depends on the test artifact of another module, those test artifacts are not available in the reactor; a `mvn install` is required before the artifacts will properly resolve. See http://jira.codehaus.org/browse/MNG-2045 for details. Your options are to run `mvn install eclipse:eclipse` or to use the Eciipse M2Eclipse plugin to resolve things within the IDE rather than simply generating the configuration files. This is only an issue for those that wish to hack on the Kite codebase itself. I think most of us (the Kite developers) didn't notice this because I think we all use IntelliJ while working on Kite.

 

Sorry for the confusion.

Eric Sammer
Engineering Manager / Cloudera / @esammer

View solution in original post

4 REPLIES 4

avatar
Contributor

Gerd:

 

I've been able to reproduce this. You're not doing anything wrong. There's a JIRA tracking another issue that has the same result: https://issues.cloudera.org/browse/CDK-257 Feel free to follow along there for details. Sorry for the confusion/trouble!

Eric Sammer
Engineering Manager / Cloudera / @esammer

avatar
Contributor

Gerd:

 

I found the solution. As it turns out, this is a bug in Maven. In multi-module builds where a module depends on the test artifact of another module, those test artifacts are not available in the reactor; a `mvn install` is required before the artifacts will properly resolve. See http://jira.codehaus.org/browse/MNG-2045 for details. Your options are to run `mvn install eclipse:eclipse` or to use the Eciipse M2Eclipse plugin to resolve things within the IDE rather than simply generating the configuration files. This is only an issue for those that wish to hack on the Kite codebase itself. I think most of us (the Kite developers) didn't notice this because I think we all use IntelliJ while working on Kite.

 

Sorry for the confusion.

Eric Sammer
Engineering Manager / Cloudera / @esammer

avatar
Super Collaborator
Another option might be to publish the snapshot artefacts to the Cloudera repository.

avatar
Guru

Hi Eric, 

 

many thanks for answering that quickly.

Maybe I have to check IntelliJ as alternative to the heavyweight-Eclipse 😉

 

br...Gerd...