On 11/13/2014 03:53 PM, Piotr Kliczewski wrote:
On Thu, Nov 13, 2014 at 11:12 AM, Shubhendu Tripathi
<shtripat(a)redhat.com> wrote:
> On 11/13/2014 02:19 PM, Piotr Kliczewski wrote:
>> On Thu, Nov 13, 2014 at 9:26 AM, Shubhendu Tripathi <shtripat(a)redhat.com>
>> wrote:
>>> On 11/13/2014 12:54 PM, Sandro Bonazzola wrote:
>>>> Il 13/11/2014 06:16, Shubhendu Tripathi ha scritto:
>>>>> Hi,
>>>>>
>>>>> Today I rebased with master and getting below error while building
the
>>>>> engine.
>>>>>
>>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>>> vdsbroker ---
>>>>> [INFO] Compiling 312 source files to
>>>>>
>>>>>
<Home>/work/ovirt-engine/backend/manager/modules/vdsbroker/target/classes
>>>>> [INFO] -------------------------------------------------------------
>>>>> [ERROR] COMPILATION ERROR :
>>>>> [INFO] -------------------------------------------------------------
>>>>> [ERROR] error: error reading
>>>>>
>>>>>
>>>>>
<Home>/.m2/repository/org/ovirt/vdsm-jsonrpc-java/vdsm-jsonrpc-java-client/1.1.0-SNAPSHOT/vdsm-jsonrpc-java-client-1.1.0-SNAPSHOT.jar;
>>>>> error in
>>>>> opening zip file
>>>>> [INFO] 1 error
>>>>>
>>>>> Kindly help resolving the same.
>>>>
>>>> Looks like your jar file got corrupted.
>>>> Can you try removing
>>>>
>>>>
~/.m2/repository/org/ovirt/vdsm-jsonrpc-java/vdsm-jsonrpc-java-client/1.1.0-SNAPSHOT/vdsm-jsonrpc-java-client-1.1.0-SNAPSHOT.jar
>>>> and rebuild?
>>>
>>> Sandro,
>>>
>>> I removed the whole dir ~/.m2 and tried again, but still the issue.
>>>
>> Is the build failing with the same issue: " error opening zip" or
>> something else?
>
> Even after deleting the whole dir it was failing with same.
> So explicitly I downloaded the JAR from
>
https://oss.sonatype.org/content/repositories/snapshots/org/ovirt/vdsm-js....
> After this build works fine. Not sure how come during build some wrong jar
> is getting downloaded which is corrupt.
>
What is the mirror that is configured in your settings.xml?
Once I deleted ~/.m2 and executed build again I dont have a settings.xml
explicitly.
>>> I did one more analysis where I took latest master and reset to the state
>>> one patch below change-id Ib69768ab2b384136308e16624a365c98583fba63
>>> (jsonrpc: json version bumped).
>>> Then the build went through.
>>> If I apply the above mentioned patch again, build fails. So I guess this
>>> issue is specific to some packages (though a weird guess).
>>>
>>> Regards,
>>> Shubhendu
>>>
>>>
>>>>> Regards,
>>>>> Shubhendu
>>>>>
>>>>> _______________________________________________
>>>>> Devel mailing list
>>>>> Devel(a)ovirt.org
>>>>>
http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/devel
>>