Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Getting "Problems downloading artifact" During Build

hard to tell without any details about your build or the concrete corrupted files, but this
looks like an invalid jar signature.

this can have many reasons (file corrupted during download, p2 mirror corrupted,...)

Also, note that there is a conceptual bug in p2 for the case of nested pack200'ed jars when unpacked with Java >= 7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=361628 

Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Ryan Baxter
Sent: Montag, 21. Oktober 2013 15:48
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] Getting "Problems downloading artifact" During Build

Bump, anyone have any ideas?

On Fri, Oct 18, 2013 at 8:53 AM, Ryan Baxter <rbaxter85@xxxxxxxxx> wrote:
> Hi Everyone,
>
> I am new to Tycho and exploring using it to build some Eclipse
> plugins.  I have generated some P2 repos using the Eclipse Metadata
> Generator [1] for the target platform I used to build the plugins
> against.  I have added the p2 repos as repositories in my POM and
> tried to run $ mvn install.  I see the build downloading bundles from
> the p2 repos I generated but then I run into the following error.
>
> [ERROR] Internal error: java.lang.RuntimeException: "Messages while
> trying children repositories.": ["": ["Problems downloading artifact:
> osgi.bundle,com.ibm.foo.bar,9.0.0.20130228-1411.": ["File has invalid
> content:C:\Users\RYANJB~1\AppData\Local\Temp\signatureFile605498303202507515.jar":
> ["Invalid content:copyright.txt", "Invalid
> content:META-INF/converter.properties"]]], "": ["Problems downloading
> artifact: osgi.bundle,com.ibm.foo,9.0.0.20130301-1431.": ["File has
> invalid content:C:\Users\RYANJB~1\AppData\Local\Temp\signatureFile2490767868643545712.jar":
> ["Invalid content:schema/ExtensionBundle.exsd"]]]] -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error:
> java.lang.RuntimeException: "Messages while trying children
> repositories.": ["": ["Problems downloading artifact:
> osgi.bundle,com.ibm.foo.bar,9.0.0.20130228-1411.": ["File has invalid
> content:C:\Users\RYANJB~1\AppData\Local\Temp\signatureFile605498303202507515.jar":
> ["Invalid content:copyright.txt", "Invalid
> content:META-INF/converter.properties"]]], "": ["Problems downloading
> artifact: osgi.bundle,com.ibm.foo,9.0.0.20130301-1431.": ["File has
> invalid content:C:\Users\RYANJB~1\AppData\Local\Temp\signatureFile2490767868643545712.jar":
> ["Invalid content:schema/ExtensionBundle.exsd"]]]]
>
>
> When I crack open com.ibm.foo.bar it does have a file called
> copyright.txt in it, but why is tycho concerned about that file?  I
> don't see how that would effect being able to compile my plugins.  Can
> anyone shed some light on this?
>
> [1] http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_metadata_generator.html
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top