[ 
https://issues.apache.org/jira/browse/LENS-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411649#comment-15411649
 ] 

Rajat Khandelwal commented on LENS-1268:
----------------------------------------

The issue is because we removed inmobi repositories from the list of 
repositories. Lens parent pom has hive-exec dependency which has the following 
dependency tree

{noformat}
[INFO] +- org.apache.hive:hive-exec:jar:2.1.0:provided
[INFO] |  +- org.apache.hive:hive-ant:jar:2.1.0:provided
[INFO] |  |  \- org.apache.velocity:velocity:jar:1.5:provided
[INFO] |  |     \- oro:oro:jar:2.0.8:provided
[INFO] |  +- org.apache.hive:hive-llap-tez:jar:2.1.0:provided
[INFO] |  |  +- org.apache.hive:hive-llap-client:jar:2.1.0:provided
[INFO] |  |  |  \- org.apache.hive:hive-llap-common:jar:2.1.0:provided
[INFO] |  |  \- org.apache.commons:commons-lang3:jar:3.1:provided
[INFO] |  +- commons-httpclient:commons-httpclient:jar:3.0.1:provided
[INFO] |  +- commons-io:commons-io:jar:2.4:provided
[INFO] |  +- org.apache.logging.log4j:log4j-1.2-api:jar:2.4.1:provided
[INFO] |  |  +- org.apache.logging.log4j:log4j-api:jar:2.4.1:provided
[INFO] |  |  \- org.apache.logging.log4j:log4j-core:jar:2.4.1:provided
[INFO] |  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.4.1:provided
[INFO] |  +- org.antlr:ST4:jar:4.0.4:provided
[INFO] |  +- org.apache.ant:ant:jar:1.9.1:provided
[INFO] |  |  \- org.apache.ant:ant-launcher:jar:1.9.1:provided
[INFO] |  +- org.apache.commons:commons-compress:jar:1.9:provided
[INFO] |  +- org.apache.ivy:ivy:jar:2.4.0:provided
[INFO] |  +- org.apache.zookeeper:zookeeper:jar:3.4.6:provided
[INFO] |  +- org.apache.curator:apache-curator:pom:2.6.0:provided
[INFO] |  +- org.codehaus.groovy:groovy-all:jar:2.4.4:provided
[INFO] |  +- org.apache.calcite:calcite-core:jar:1.6.0:provided
[INFO] |  |  +- org.apache.calcite:calcite-linq4j:jar:1.6.0:provided
[INFO] |  |  +- net.hydromatic:eigenbase-properties:jar:1.1.5:provided
[INFO] |  |  +- org.codehaus.janino:janino:jar:2.7.6:provided
[INFO] |  |  +- org.codehaus.janino:commons-compiler:jar:2.7.6:provided
[INFO] |  |  \- 
org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde:provided
{noformat}

The pentaho dependency is not available in apache repo 
(http://repo1.maven.org/maven2/org/pentaho/). 


> Lens build on dev enviornment is failing 
> -----------------------------------------
>
>                 Key: LENS-1268
>                 URL: https://issues.apache.org/jira/browse/LENS-1268
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Praveen Adlakha
>            Assignee: Praveen Adlakha
>
> Hi All,
> Lens build is failing in dev enviornment with error :
> {code}
> [INFO] Building Lens API for server and extensions 2.7.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom
> [WARNING] The POM for 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde is missing, no 
> dependency information available
> Downloading: 
> http://repo1.maven.org/maven2/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.cloudera.com/artifactory/cloudera-repos/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> https://repository.apache.org/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://projectlombok.org/mavenrepo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> Downloading: 
> http://repo.springsource.org/simple/ext-release-local/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Lens Checkstyle Rules .............................. SUCCESS [  1.158 
> s]
> [INFO] Lens ............................................... SUCCESS [  4.648 
> s]
> [INFO] Lens API ........................................... SUCCESS [ 13.168 
> s]
> [INFO] Lens API for server and extensions ................. FAILURE [ 13.287 
> s]
> [INFO] Lens Cube .......................................... SKIPPED
> [INFO] Lens DB storage .................................... SKIPPED
> [INFO] Lens Query Library ................................. SKIPPED
> [INFO] Lens Hive Driver ................................... SKIPPED
> [INFO] Lens Driver for JDBC ............................... SKIPPED
> [INFO] Lens Elastic Search Driver ......................... SKIPPED
> [INFO] Lens Server ........................................ SKIPPED
> [INFO] Lens client ........................................ SKIPPED
> [INFO] Lens CLI ........................................... SKIPPED
> [INFO] Lens Examples ...................................... SKIPPED
> [INFO] Lens Ship Jars to Distributed Cache ................ SKIPPED
> [INFO] Lens Distribution .................................. SKIPPED
> [INFO] Lens ML Lib ........................................ SKIPPED
> [INFO] Lens ML Ext Distribution ........................... SKIPPED
> [INFO] Lens Regression .................................... SKIPPED
> [INFO] Lens UI ............................................ SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 32.630 s
> [INFO] Finished at: 2016-08-08T15:13:49+05:30
> [INFO] Final Memory: 74M/995M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project lens-server-api: Could not resolve 
> dependencies for project org.apache.lens:lens-server-api:jar:2.7.0-SNAPSHOT: 
> Could not find artifact 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde in central 
> (http://repo1.maven.org/maven2) -> [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 :lens-server-api
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to