[Mondrian] Build problems: bad Ivy links to Pentaho artifactory?

Eric McDermid mcdermid at stonecreek.com
Wed Nov 12 16:02:06 EST 2008


I've been running into problems building Mondrian that appear to be  
ivy-related.

In particular, ivy seems to occasionally be pulling down odd versions  
of things like servlet-api.jar and log4j.jar  -- typically source or  
documentation archives.  From the looks of it, ivy is expecting to  
find the correct versions of these jar files out at the Pentaho  
artifactory repository but can't, and then has a hard time finding a  
proper alternative elsewhere.  Eventually it settles for a source  
archive (or in one case so far, a documentation archive).

I don't have any prior experience with ivy, so I don't know yet why it  
thinks a source archive is an acceptable substitute.  But on a more  
immediate front, do we expect that log4j.jar, servlet-api.jar,  
etcetera should be available at the Pentaho artifactory repository?  I  
don't see them when I browse the repository tree, but I don't know if  
that's a recent change or the way it has always been.

Appended to this email is a snippet of the output from "ant -d" that  
covers log4j.jar, for anyone who is interested.

  -- Eric

[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->*]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] 	using chain to resolve log4j#log4j;1.2.9
[ivy:resolve] chain: Checking cache for: dependency: log4j#log4j;1.2.9  
{*=[*]}
[ivy:resolve] 	no ivy file in cache for log4j#log4j;1.2.9: tried /home/ 
eric/.ivy2/cache/log4j/log4j/ivy-1.2.9.xml
[ivy:resolve] 	no ivy file in cache for log4j#log4j;1.2.9: tried /home/ 
eric/.ivy2/cache/log4j/log4j/ivy-1.2.9.xml
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] HTTP response status: 404 url=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] CLIENT ERROR: Not Found url=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] HTTP response status: 404 url=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] CLIENT ERROR: Not Found url=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	pentaho-rep: no ivy file nor artifact found for  
log4j#log4j;1.2.9
[ivy:resolve] 	no ivy file in cache for log4j#log4j;1.2.9: tried /home/ 
eric/.ivy2/cache/log4j/log4j/ivy-1.2.9.xml
[ivy:resolve] 	 trying http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom
[ivy:resolve] 		tried http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom
[ivy:resolve] 	ibiblio: found md file for log4j#log4j;1.2.9
[ivy:resolve] 		=> http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom 
  (1.2.9)
[ivy:resolve] 	parser = pom parser
[ivy:resolve] 	no ivy file in cache for log4j#log4j;1.2.9: tried /home/ 
eric/.ivy2/cache/log4j/log4j/ivy-1.2.9.xml
[ivy:resolve] downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom 
  ...
[ivy:resolve] 	ibiblio: downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom
[ivy:resolve] 		to /home/eric/.ivy2/cache/log4j/log4j/ 
ivy-1.2.9.xml.original.part
[ivy:resolve] sha1 file found for http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom 
: checking...
[ivy:resolve] 	ibiblio: downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom.sha1
[ivy:resolve] 		to /tmp/ivytmp29619sha1
[ivy:resolve] sha1 OK for http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.pom
[ivy:resolve] 	[SUCCESSFUL ] log4j#log4j;1.2.9!log4j.pom(pom.original)  
(329ms)
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	 trying http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 		tried http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	 trying http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-sources.jar
[ivy:resolve] 		tried http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-sources.jar
[ivy:resolve] source artifact found for log4j#log4j;1.2.9
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j-1.2.9.jar
[ivy:resolve] 	 trying http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 		tried http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	pentaho-rep: resource not reachable for log4j#log4j; 
1.2.9: res=http://repo.pentaho.org/artifactory/repo/log4j/log4j/1.2.9/log4j.jar
[ivy:resolve] 	 trying http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-javadoc.jar
[ivy:resolve] 		tried http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-javadoc.jar
[ivy:resolve] HTTP response status: 404 url=http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-javadoc.jar
[ivy:resolve] CLIENT ERROR: Not Found url=http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-javadoc.jar
[ivy:resolve] 	ibiblio: resource not reachable for log4j#log4j;1.2.9:  
res=http://repo1.maven.org/maven2/log4j/log4j/1.2.9/log4j-1.2.9-javadoc.jar
[ivy:resolve] no javadoc artifact found for log4j#log4j;1.2.9
[ivy:resolve] 	default-cache: parsed downloaded md file for  
log4j#log4j;1.2.9; parsed=log4j#log4j;1.2.9
[ivy:resolve] 	checking log4j#log4j;1.2.9 from ibiblio against [none]
[ivy:resolve] 	module revision kept as first found: log4j#log4j;1.2.9  
from ibiblio
[ivy:resolve] 	found log4j#log4j;1.2.9 in ibiblio
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->runtime]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->compile]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->master]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->compile]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->compile(*)]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default
[ivy:resolve] == resolving dependencies pentaho#mondrian;3.1.0- 
 >log4j#log4j;1.2.9 [default->master(*)]
[ivy:resolve] loadData of log4j#log4j;1.2.9 of rootConf=default




More information about the Mondrian mailing list