[ 
https://issues.apache.org/jira/browse/PARQUET-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Ivanfi updated PARQUET-1556:
-----------------------------------
    Description: 
Running {{mvn verify}} based on the instructions in the README results in this 
error
{code:java}
Could not resolve dependencies for project 
org.apache.parquet:parquet-thrift:jar:1.11.0: Could not find artifact 
com.hadoop.gplcompression:hadoop-lzo:jar:0.4.16{code}
As a workaround, the local {{~/.m2/settings.xml}} file can be modified to 
include the twitter maven repo:

{code:java}
<repository>
  <id>twitter</id>
  <name>twitter</name>
  <url>http://maven.twttr.com</url>
</repository>
{code}

After adding this, {{mvn verify}} works. This should not be necessary though, 
since the artifact is a transitive dependency and the POM of the direct 
dependency (elephant-bird) contains the repo specification, which works in most 
environments.


  was:
Running {{mvn verify}} based on the instructions in the README results in this 
error
{code:java}
Could not resolve dependencies for project 
org.apache.parquet:parquet-thrift:jar:1.11.0: Could not find artifact 
com.hadoop.gplcompression:hadoop-lzo:jar:0.4.16{code}
As a workaround, the local {{~/.m2/settings.xml}} file can be modified to 
include the twitter maven repo:

{code:java}
<repository>
  <id>twitter</id>
  <name>twitter</name>
  <url>http://maven.twttr.com</url>
</repository>
{code}

After adding this, {{mvn verify}} works. The proper solution, however, is to 
include this repo in the POM files.



> Problem with Maven repo specifications in POMs of dependencies in some 
> development environments
> -----------------------------------------------------------------------------------------------
>
>                 Key: PARQUET-1556
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1556
>             Project: Parquet
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Andy Grove
>            Assignee: Andy Grove
>            Priority: Major
>             Fix For: 1.12.0
>
>
> Running {{mvn verify}} based on the instructions in the README results in 
> this error
> {code:java}
> Could not resolve dependencies for project 
> org.apache.parquet:parquet-thrift:jar:1.11.0: Could not find artifact 
> com.hadoop.gplcompression:hadoop-lzo:jar:0.4.16{code}
> As a workaround, the local {{~/.m2/settings.xml}} file can be modified to 
> include the twitter maven repo:
> {code:java}
> <repository>
>   <id>twitter</id>
>   <name>twitter</name>
>   <url>http://maven.twttr.com</url>
> </repository>
> {code}
> After adding this, {{mvn verify}} works. This should not be necessary though, 
> since the artifact is a transitive dependency and the POM of the direct 
> dependency (elephant-bird) contains the repo specification, which works in 
> most environments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to