Skip to main content

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

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


Back to the top