Project

General

Profile

Bug #222 ยป richclient sign error.txt

Dirk Petrautzki, 04/18/2013 01:43 PM

 
1
[INFO] --- maven-jarsigner-plugin:1.2:sign (default) @ richclient ---
2
[DEBUG] org.apache.maven.plugins:maven-jarsigner-plugin:jar:1.2:
3
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
4
[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
5
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.6:compile
6
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
7
[DEBUG]       org.apache.maven:maven-model:jar:2.0.6:compile
8
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
9
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
10
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
11
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
12
[DEBUG]          junit:junit:jar:3.8.1:compile
13
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
14
[DEBUG]    org.apache.maven:maven-artifact:jar:2.0.6:compile
15
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
16
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-jarsigner-plugin:1.2
17
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-jarsigner-plugin:1.2
18
[DEBUG]   Imported:  < maven.api
19
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-jarsigner-plugin:1.2
20
[DEBUG]   Included: org.apache.maven.plugins:maven-jarsigner-plugin:jar:1.2
21
[DEBUG]   Included: junit:junit:jar:3.8.1
22
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
23
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
24
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
25
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
26
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
27
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
28
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
29
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
30
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
31
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
32
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
33
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
34
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-jarsigner-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@7dc4cd9]
35
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign' with basic configurator -->
36
[DEBUG]   (f) alias = selfsigned
37
[DEBUG]   (f) arguments = []
38
[DEBUG]   (f) keypass = 123456
39
[DEBUG]   (f) keystore = src/package/resources/keystore/keystore.jks
40
[DEBUG]   (f) processAttachedArtifacts = true
41
[DEBUG]   (f) processMainArtifact = true
42
[DEBUG]   (f) project = MavenProject: org.openecard.clients:richclient:1.1.0-SNAPSHOT @ C:\Users\Dirk\git\ecard-client\clients\richclient\pom.xml
43
[DEBUG]   (f) removeExistingSignatures = false
44
[DEBUG]   (f) skip = false
45
[DEBUG]   (f) storepass = 123456
46
[DEBUG]   (f) verbose = false
47
[DEBUG] -- end configuration --
48
[DEBUG] Verarbeite C:\Users\Dirk\git\ecard-client\clients\richclient\target\richclient-1.1.0-SNAPSHOT.jar
49
[DEBUG] 'cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_02\jre\..\bin\jarsigner.exe" -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' C:\Users\Dirk\git\ecard-client\clients\richclient\target\richclient-1.1.0-SNAPSHOT.jar selfsigned"'
50
[DEBUG] jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: META-INF/maven/org.openecard.clients/richclient/pom.xml
51
[INFO] ------------------------------------------------------------------------
52
[INFO] BUILD FAILURE
53
[INFO] ------------------------------------------------------------------------
54
[INFO] Total time: 9.512s
55
[INFO] Finished at: Thu Apr 18 13:34:46 CEST 2013
56
[INFO] Final Memory: 44M/452M
57
[INFO] ------------------------------------------------------------------------
58
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign (default) on project richclient: Ausf?hrung von 'cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_02\jre\..\bin\jarsigner.exe" -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' C:\Users\Dirk\git\ecard-client\clients\richclient\target\richclient-1.1.0-SNAPSHOT.jar selfsigned"' fehlgeschlagen - Ergebniscode (1) -> [Help 1]
59
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign (default) on project richclient: Ausf?hrung von 'cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_02\jre\..\bin\jarsigner.exe" -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' C:\Users\Dirk\git\ecard-client\clients\richclient\target\richclient-1.1.0-SNAPSHOT.jar selfsigned"' fehlgeschlagen - Ergebniscode (1)
60
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
61
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
62
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
63
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
64
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
65
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
66
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
67
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
68
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
69
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
70
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
71
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
72
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
73
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
74
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
75
	at java.lang.reflect.Method.invoke(Method.java:601)
76
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
77
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
78
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
79
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
80
Caused by: org.apache.maven.plugin.MojoExecutionException: Ausf?hrung von 'cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_02\jre\..\bin\jarsigner.exe" -keystore src/package/resources/keystore/keystore.jks -storepass '*****' -keypass '*****' C:\Users\Dirk\git\ecard-client\clients\richclient\target\richclient-1.1.0-SNAPSHOT.jar selfsigned"' fehlgeschlagen - Ergebniscode (1)
81
	at org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo.processArchive(AbstractJarsignerMojo.java:495)
82
	at org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo.processArtifact(AbstractJarsignerMojo.java:372)
83
	at org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo.execute(AbstractJarsignerMojo.java:197)
84
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
85
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
86
	... 19 more
87
[ERROR] 
88
[ERROR] 
89
[ERROR] For more information about the errors and possible solutions, please read the following articles:
90
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    (1-1/1)