[infinispan-dev] Error building Infinispan distribution

Manik Surtani manik at jboss.org
Thu Jan 14 08:29:31 EST 2010


Hmm, looks like a corrupted jar in maven:

[msurtani at cluster09 ispn-tr]$ ls -l ~/.m2/repository/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.jar 
-rw-rw-r--  1 msurtani msurtani 358 Jan 12 11:26 /home/msurtani/.m2/repository/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.jar
[msurtani at cluster09 ispn-tr]$ jar tf ~/.m2/repository/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.jar 
[msurtani at cluster09 ispn-tr]$ 

Let me see where this is coming from... 



On 14 Jan 2010, at 10:27, Galder Zamarreno wrote:

> Hi,
> 
> I'm trying to build the Infinispan distribution (-Pdistribution) but I'm 
> getting the following error:
> 
> [WARNING] Removing: aggregate from forked lifecycle, to prevent 
> recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [javadoc:aggregate {execution: javadoc}]
> [WARNING] POM for 'org.slf4j:slf4j-simple:pom:1.5.8:compile' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.apache.httpcomponents:httpclient:pom:4.0:compile' 
> is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> 2 errors
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 
> - error: error reading 
> /home/g/.m2/repository/org/apache/httpcomponents/httpclient/4.0/httpclient-4.0.jar; 
> error in opening zip file
> error: error reading 
> /home/g/.m2/repository/org/slf4j/slf4j-simple/1.5.8/slf4j-simple-1.5.8.jar; 
> error in opening zip file
> 
> Command line 
> was:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../bin/javadoc @options 
> @packages
> 
> I've tried to wipe out /home/g/.m2/repository/org/apache/httpcomponents 
> and /home/g/.m2/repository/org/slf4j/ but I still get same issue. I'm 
> trying with a different JDK just in case...
> 
> Cheers,
> -- 
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list