You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joe Stein (JIRA)" <ji...@apache.org> on 2013/07/13 11:01:53 UTC

[jira] [Commented] (KAFKA-974) can't use public release maven repo because of failure of downloaded dependency

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

Joe Stein commented on KAFKA-974:
---------------------------------

tried this, same error

diff --git a/project/Build.scala b/project/Build.scala
index bad93db..c758178 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -39,7 +39,21 @@ object KafkaBuild extends Build {
     <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
     <distribution>repo</distribution>
   </license>
-</licenses>,
+</licenses>
+<dependencies>
+  <exclusion>
+    <groupId>com.sun.jmx</groupId>
+    <artifactId>jmxri</artifactId>
+  </exclusion>
+  <exclusion>
+    <groupId>com.sun.jdmk</groupId>
+    <artifactId>jmxtools</artifactId>
+  </exclusion>
+  <exclusion>
+    <groupId>javax.jms</groupId>
+    <artifactId>jms</artifactId>
+  </exclusion>
+</dependencies>,
     scalacOptions ++= Seq("-deprecation", "-unchecked", "-g:none"),
     crossScalaVersions := Seq("2.8.0","2.8.2", "2.9.1", "2.9.2"),
     scalaVersion := "2.8.0",

                
> can't use public release maven repo because of failure of downloaded dependency
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-974
>                 URL: https://issues.apache.org/jira/browse/KAFKA-974
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Joe Stein
>             Fix For: 0.8
>
>         Attachments: KAFKA-974.patch
>
>
> trying to use the 0.8.0-beta1 release from public maven
> name := "Stub"
> version := "1.0.0.0"
> scalaVersion := "2.9.2"
> mainClass := Some("Stub")
> libraryDependencies ++= Seq(
> 	"org.apache.kafka" % "kafka_2.9.2" % "0.8.0-beta1"
> )
> results in
> Joes-MacBook-Air:stub joestein$ ./sbt compile
> [info] Set current project to default-63d5f2 (in build file:/opt/medialets/SymanticManager/scala/stub/)
> [info] Updating {file:/opt/medialets/SymanticManager/scala/stub/}default-63d5f2...
> [warn] 	[NOT FOUND  ] javax.jms#jms;1.1!jms.jar (50ms)
> [warn] ==== public: tried
> [warn]   http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
> [warn] 	[NOT FOUND  ] com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar (12ms)
> [warn] ==== public: tried
> [warn]   http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
> [warn] 	[NOT FOUND  ] com.sun.jmx#jmxri;1.2.1!jmxri.jar (71ms)
> [warn] ==== public: tried
> [warn]   http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
> [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
> [warn] 	::              FAILED DOWNLOADS            ::
> [warn] 	:: ^ see resolution messages for details  ^ ::
> [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
> [warn] 	:: javax.jms#jms;1.1!jms.jar
> [warn] 	:: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
> [warn] 	:: com.sun.jmx#jmxri;1.2.1!jmxri.jar
> [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
> [info] 
> [warn] :: problems summary ::
> [warn] :::: WARNINGS
> [warn] 		[NOT FOUND  ] javax.jms#jms;1.1!jms.jar (50ms)
> [warn] 	==== public: tried
> [warn] 	  http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
> [warn] 		[NOT FOUND  ] com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar (12ms)
> [warn] 	==== public: tried
> [warn] 	  http://repo1.maven.org/maven2/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
> [warn] 		[NOT FOUND  ] com.sun.jmx#jmxri;1.2.1!jmxri.jar (71ms)
> [warn] 	==== public: tried
> [warn] 	  http://repo1.maven.org/maven2/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
> [warn] 		::::::::::::::::::::::::::::::::::::::::::::::
> [warn] 		::              FAILED DOWNLOADS            ::
> [warn] 		:: ^ see resolution messages for details  ^ ::
> [warn] 		::::::::::::::::::::::::::::::::::::::::::::::
> [warn] 		:: javax.jms#jms;1.1!jms.jar
> [warn] 		:: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
> [warn] 		:: com.sun.jmx#jmxri;1.2.1!jmxri.jar
> [warn] 		::::::::::::::::::::::::::::::::::::::::::::::
> [info] 
> [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> [error] {file:/opt/medialets/SymanticManager/scala/stub/}default-63d5f2/*:update: sbt.ResolveException: download failed: javax.jms#jms;1.1!jms.jar
> [error] download failed: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
> [error] download failed: com.sun.jmx#jmxri;1.2.1!jmxri.jar
> [error] Total time: 3 s, completed Jul 13, 2013 1:55:36 AM

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira