[infinispan-dev] Error building Infinispan distribution

Galder Zamarreno galder at redhat.com
Fri Jan 15 05:42:27 EST 2010


I've wiped my 
/home/g/.m2/repository/org/apache/httpcomponents/httpclient/4.0/ and it 
seems to be working fine now.

On 01/15/2010 11:34 AM, Galder Zamarreno wrote:
>
>
> On 01/14/2010 02:29 PM, Manik Surtani wrote:
>> 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...
>
> The slf4j one seems to be fixed now
> (http://fisheye.jboss.org/browse/Infinispan/trunk/server/rest/pom.xml?r1=1350&r2=1369
> - thx Manik)
>
> There's still another failure:
>
> [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.apache.httpcomponents:httpclient:pom:4.0:compile'
> is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> 1 error
> [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
>
> Command line
> was:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../bin/javadoc @options
> @packages
>
> I'm looking into it.
>
>>
>>
>>
>> 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
>>
>>
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list