We are trying to get the hive jar but are getting an error message see below. I've searched Artifactory's remote repo's and it says it is in the BinTray repo - bintray / jcenter / org.apache.hive:hive / 0.13.0 and the pom is below. I'm using the maven ant task with the dependency <dependency groupId="org.apache.hive" artifactId="hive" version="0.13.0"/>. I don't think it is ant task related because we can't get it to work in a Maven POM either. We get another error saying we can't download it. However, if we don't use Artifactory and go directly to Maven Central, it works just fine. Are we doing anything wrong?
***************POM *************** <modelVersion>4.0.0</modelVersion> -<parent> <groupId>org.apache</groupId> <artifactId>apache</artifactId> <version>14</version> </parent> <groupId>org.apache.hive</groupId> <artifactId>hive</artifactId> <version>0.13.0</version> <packaging>pom</packaging> <name>Hive</name> <url>http://hive.apache.org</url> . . . - *******Error ***************** [dependencies] Downloading: org/apache/hive/hive/0.13.0/hive-0.13.0.pom from rep ository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 36K from central [dependencies] Downloading: org/apache/apache/14/apache-14.pom from repository c entral at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 14K from central [dependencies] Downloading: org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.pom from r epository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 3K from central [dependencies] Downloading: org/slf4j/slf4j-parent/1.7.5/slf4j-parent-1.7.5.pom from repository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 11K from central [dependencies] Downloading: org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.po m from repository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 2K from central [dependencies] Downloading: log4j/log4j/1.2.17/log4j-1.2.17.pom from repository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 22K from central [dependencies] Downloading: org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar from r epository central at http://actrepo:8081/artifactory/libs-release [dependencies] Downloading: org/apache/hive/hive/0.13.0/hive-0.13.0.jar from rep ository central at http://actrepo:8081/artifactory/libs-release [dependencies] Downloading: log4j/log4j/1.2.17/log4j-1.2.17.jar from repository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 25K from central [dependencies] Downloading: org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.ja r from repository central at http://actrepo:8081/artifactory/libs-release [dependencies] Transferring 9K from central [dependencies] Transferring 478K from central [dependencies] Unable to locate resource in repository [dependencies] [INFO] Unable to find resource 'org.apache.hive:hive:jar:0.13.0' in repository central (http://actrepo:8081/artifactory/libs-release) [dependencies] Downloading: org/apache/hive/hive/0.13.0/hive-0.13.0.jar from rep ository snapshots at http://actrepo:8081/artifactory/libs-snapshot [dependencies] Unable to locate resource in repository [dependencies] [INFO] Unable to find resource 'org.apache.hive:hive:jar:0.13.0' in repository snapshots (http://actrepo:8081/artifactory/libs-snapshot) [dependencies] An error has occurred while processing the Maven artifact tasks. [dependencies] Diagnosis: [dependencies] [dependencies] Unable to resolve artifact: Missing: [dependencies] ---------- [dependencies] 1) org.apache.hive:hive:jar:0.13.0 [dependencies] [dependencies] Try downloading the file manually from the project website. [dependencies] [dependencies] Then, install it using the command: [dependencies] mvn install:install-file -DgroupId=org.apache.hive -Dartifa ctId=hive -Dversion=0.13.0 -Dpackaging=jar -Dfile=/path/to/file [dependencies] [dependencies] Alternatively, if you host your own repository you can deploy t he file there: [dependencies] mvn deploy:deploy-file -DgroupId=org.apache.hive -Dartifact Id=hive -Dversion=0.13.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] [dependencies] [dependencies] Path to dependency: [dependencies] 1) org.apache.maven:super-pom:pom:2.0 [dependencies] 2) org.apache.hive:hive:jar:0.13.0 [dependencies] [dependencies] ---------- [dependencies] 1 required artifact is missing. [dependencies] [dependencies] for artifact: [dependencies] org.apache.maven:super-pom:pom:2.0 [dependencies] [dependencies] from the specified remote repositories: [dependencies] snapshots (http://actrepo:8081/artifactory/libs-snapshot), [dependencies] central (http://actrepo:8081/artifactory/libs-release) [dependencies] [dependencies] [dependencies] BUILD FAILED C:\SourceCode\builddev\common\dev\AcCommon.xml:15: The following error occurred while executing this line: C:\SourceCode\builddev\Build\Ant\java.xml:175: The following error occurred whil e executing this line: C:\SourceCode\builddev\Build\Ant\repo.xml:32: Unable to resolve artifact: Missin g: ---------- 1) org.apache.hive:hive:jar:0.13.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.hive -DartifactId=hive -Dver sion=0.13.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.hive -DartifactId=hive -Dversi on=0.13.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) org.apache.hive:hive:jar:0.13.0 ---------- 1 required artifact is missing. for artifact: org.apache.maven:super-pom:pom:2.0 from the specified remote repositories: snapshots (http://actrepo:8081/artifactory/libs-snapshot), central (http://actrepo:8081/artifactory/libs-release) -- View this message in context: http://forums.jfrog.org/Unable-to-get-hive-JAR-tp7580304.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
