Reputation: 2329
I want to install pig-maven, I download it and run mvn install command, then it tell me an error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project pig-main: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.hive:hive-exec:jar:core:0.14.0-SNAPSHOT`
here is some relevant information in pom.xml:
<repositories>
<repository>
<id>repo.apache.snapshots</id>
<url>http://repository.apache.org/content/groups/snapshots-group/</url>
</repository>
<repository>
<id>repo.jboss.org</id>
<url>http://repository.jboss.com/nexus/content/groups/public/</url>
</repository>
</repositories>
...
<hive.version>0.14.0-SNAPSHOT</hive.version>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive.version}</version>
<scope>compile</scope>
<classifier>core</classifier>
</dependency>
in specified snapshot repository I find it has some information of target jar but havent jar and pom. So then what should I do to install pig. The relate data as below:
Upvotes: 0
Views: 68
Reputation: 12953
It seems you are trying to install the development version of the project, however it depends on SNAPSHOT dependencies which are not available on your configured repositories.
Depending on what you really want you can:
hive-exec-0.14.0-SNAPSHOT
, the one your are showing does not contain the dependency orhive-exec-0.14.0-SNAPSHOT.jar
from either a commit from the source code or a .jar
file.Upvotes: 1
Reputation: 1153
What you are trying to install is the last version on github, it's a snapshot version and uses snapshots dependencies. You may try follow the tutorial of PIG and install a stable version.
Upvotes: 2