Hi

there has already been an issue for this.
http://team.ops4j.org/browse/PAXWEB-388
This has been fixed for 2.0.1
please reopen it for 1.1.4 if needed. I thought it was bound to Jetty 8
Or upgrade to a 2.0.x

regards, Achim

2012/8/7 László Hordós <[email protected]>:
> After I removed the three files it worked well. I was changing the wrong file 
> so If you think it's a bug should I issue a ticket or there is a reason to 
> have the signature in the jar?
>
>>
>>
>> Hi,
>>
>> I'm upgrading from 1.1.1 to 1.1.4 and I noticed this bug when I build my 
>> project on:
>>
>> Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>> Java version: 1.6.0_33, vendor: Apple Inc.
>> OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
>>
>> Since the pax-web-jetty-bundle-1.1.3 has the signature I can not build my 
>> project. I removed the following files and I repacked the jar.
>>
>> META-INF/ECLIPSEF.RSA and META-INF/ECLIPSEF.SF and META-INF/ECLIPSEF.inf
>>
>> Still I can not build it. It works well with 1.1.2 so for a while I stay 
>> with that version.
>>
>> Does anyone have a same issue or any solution? I checked the google and all 
>> I found to remove those files but I didn't worked.
>>
>> Thanks in advance,
>> Laszlo
>>
>>
>> [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr 
>> (generate-scr-scrdescriptor) on project openidm-filter: Execution 
>> generate-scr-scrdescriptor of goal 
>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Invalid signature file 
>> digest for Manifest main attributes -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal org.apache.felix:maven-scr-plugin:1.7.4:scr 
>> (generate-scr-scrdescriptor) on project openidm-filter: Execution 
>> generate-scr-scrdescriptor of goal 
>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Invalid signature file 
>> digest for Manifest main attributes
>>       at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>>       at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>       at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>       at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>       at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>       at 
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>       at 
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>       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:39)
>>       at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       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: org.apache.maven.plugin.PluginExecutionException: Execution 
>> generate-scr-scrdescriptor of goal 
>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Invalid signature file 
>> digest for Manifest main attributes
>>       at 
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>>       at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>       ... 19 more
>> Caused by: java.lang.SecurityException: Invalid signature file digest for 
>> Manifest main attributes
>>       at 
>> sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)
>>       at 
>> sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
>>       at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
>>       at java.util.jar.JarVerifier.update(JarVerifier.java:199)
>>       at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
>>       at java.util.jar.JarFile.getInputStream(JarFile.java:388)
>>       at 
>> sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:692)
>>       at sun.misc.Resource.cachedInputStream(Resource.java:61)
>>       at sun.misc.Resource.getByteBuffer(Resource.java:144)
>>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
>>       at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>       at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>       at java.security.AccessController.doPrivileged(Native Method)
>>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>       at java.lang.ClassLoader.defineClass1(Native Method)
>>       at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>>       at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>       at 
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>       at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>       at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>       at java.security.AccessController.doPrivileged(Native Method)
>>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>       at 
>> org.apache.felix.scrplugin.JavaClassDescriptorManager.getJavaClassDescription(JavaClassDescriptorManager.java:407)
>>       at 
>> org.apache.felix.scrplugin.JavaClassDescriptorManager.getSourceDescriptions(JavaClassDescriptorManager.java:365)
>>       at 
>> org.apache.felix.scrplugin.SCRDescriptorGenerator.execute(SCRDescriptorGenerator.java:234)
>>       at 
>> org.apache.felix.scrplugin.mojo.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:192)
>>       at 
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>       ... 20 more
>>
>>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
OPS4J Pax for Vaadin
<http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project
Lead
blog <http://notizblog.nierbeck.de/>

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to