The message „
Error reading signed content“ is generated in org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/SignatureVerifier.java,
line 79, which means that a GeneralSecurityException was caught. Unfortunately, Tycho doesn’t show the stack trace of that exception.
It should. If you agree, please
open a bug report.
Regards
Tobias
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Mark Wallace
Sent: Sonntag, 28. Oktober 2012 13:53
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Error reading signed content
Hi
having trouble with using a P2 repository I created. Here is what I did:
-
Created update site for my product
-
Generated a p2 repository from the update site
-
Edited my pom.xml to include this repository (using file url, see below)
-
Start build and I get an error downloading one of the artifacts in my p2 repository
Anyone know what I've done wrong?
thanks
Mark
<repositories>
<repository>
<id>notes853Local</id>
<layout>p2</layout>
<url>file:/C:/Temp/siteRepo/</url>
</repository>
</repositories>
[INFO] Fetching org.apache.commons.logging_1.1.1.v201101211721.jar.pack.gz from
http://download.eclipse.org/releases/juno/201209280900/plugins/ (1.72kB of 32.73kB at 0B/s)
[INFO] Downloading com.ibm.designer.runtime.acl
[INFO] Downloading com.ibm.domino.commons
[INFO] Downloading com.ibm.domino.services
[INFO] Downloading com.ibm.xsp.extlib
[INFO] Downloading com.ibm.xsp.extlib.core
[INFO] Downloading com.ibm.xsp.extlib.controls
[INFO] Downloading com.ibm.xsp.extlib.mobile
[INFO] Downloading com.ibm.xsp.extlib.oneui
[INFO] Downloading com.ibm.xsp.extlib.domino
[ERROR] Internal error: java.lang.RuntimeException: "Messages while trying children repositories.": ["": ["Problems downloading artifact: osgi.bundle,com.ibm.designer.runtime.acl,8.5.3.20110915-2025.": ["Error reading signed content:C:\Users\Mark\AppData\Local\Temp\signatureFile2899147675087973841.jar"]]]
-> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "Messages while trying children repositories.": ["": ["Problems downloading artifact: osgi.bundle,com.ibm.designer.runtime.acl,8.5.3.20110915-2025.": ["Error reading signed
content:C:\Users\Mark\AppData\Local\Temp\signatureFile2899147675087973841.jar"]]]
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: "Messages while trying children repositories.": ["": ["Problems downloading artifact: osgi.bundle,com.ibm.designer.runtime.acl,8.5.3.20110915-2025.": ["Error reading signed content:C:\Users\Mark\AppData\Local\Temp\signatureFile2899147675087973841.jar"]]]
at org.eclipse.tycho.p2.target.P2ArtifactDownloadTool.downloadArtifactsToLocalMavenRepository(P2ArtifactDownloadTool.java:59)
at org.eclipse.tycho.p2.target.TargetPlatformImpl.downloadArtifacts(TargetPlatformImpl.java:213)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:128)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:80)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:377)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:354)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:103)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException