[ 
https://issues.apache.org/jira/browse/HIVE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879950#action_12879950
 ] 

Carl Steinbach commented on HIVE-1095:
--------------------------------------

The patch applies cleanly, but I get the following error when I run the 
prepare-maven-publish target:

{code}

% ant maven-publish-artifact
Buildfile: /Users/carl/Projects/hive/build.xml

ant-task-download:
      [get] Getting: 
http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.0/maven-ant-tasks-2.1.0.jar
      [get] To: /Users/carl/Projects/hive/build/maven-ant-tasks-2.1.0.jar

mvn-taskdef:

maven-publish-artifact:
[artifact:pom] An error has occurred while processing the Maven artifact tasks.
[artifact:pom]  Diagnosis:
[artifact:pom] 
[artifact:pom] Unable to initialize POM hive-${hive.project}-0.6.0.pom: Could 
not find the model file 
'/Users/carl/Projects/hive/build/maven/poms/hive-${hive.project}-0.6.0.pom'. 
for project unknown
[artifact:pom] 
/Users/carl/Projects/hive/build/maven/poms/hive-${hive.project}-0.6.0.pom (No 
such file or directory)

BUILD FAILED
/Users/carl/Projects/hive/build.xml:410: Unable to initialize POM 
hive-${hive.project}-0.6.0.pom:
Could not find the model file 
'/Users/carl/Projects/hive/build/maven/poms/hive-${hive.project}-0.6.0.pom'. 
for project unknown

Total time: 5 seconds
{code}

It looks like the make-pom target needs to depend on ivy-init?


> Hive in Maven
> -------------
>
>                 Key: HIVE-1095
>                 URL: https://issues.apache.org/jira/browse/HIVE-1095
>             Project: Hadoop Hive
>          Issue Type: Task
>          Components: Build Infrastructure
>    Affects Versions: 0.6.0
>            Reporter: Gerrit Jansen van Vuuren
>            Priority: Minor
>         Attachments: HIVE-1095-trunk.patch, hiveReleasedToMaven.tar.gz
>
>
> Getting hive into maven main repositories
> Documentation on how to do this is on:
> http://maven.apache.org/guides/mini/guide-central-repository-upload.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to