You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Problem with a war-file that i want to convert to a Bundle. In this war-file is a swf included. I want to keep this file in the target bundle. It seems to be, that a swf file is interpreted like a jar file and p2-maven-plugin wants to open it...
swf-files should not opened like zip-file, but copied to target file. Or maybe it can be excluded.
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.reficio:p2-maven-plugin:1.3.0:site failed: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.reficio.p2.P2Mojo.execute(P2Mojo.java:250)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
... 21 more
Caused by: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.reficio.p2.utils.BundleUtils.isBundle(BundleUtils.java:82)
at org.reficio.p2.P2Validator.validateArtifactConfig(P2Validator.java:46)
at org.reficio.p2.P2Validator.validateBundleRequest(P2Validator.java:35)
at org.reficio.p2.P2Mojo.bundleArtifact(P2Mojo.java:477)
at org.reficio.p2.P2Mojo.processTransitiveArtifacts(P2Mojo.java:329)
at org.reficio.p2.P2Mojo.processArtifacts(P2Mojo.java:290)
at org.reficio.p2.P2Mojo.execute(P2Mojo.java:243)
... 22 more
Caused by: java.util.zip.ZipException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:64)
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:43)
at aQute.bnd.osgi.Jar.(Jar.java:79)
at aQute.bnd.osgi.Jar.(Jar.java:99)
at org.reficio.p2.utils.BundleUtils.isBundle(BundleUtils.java:79)
... 28 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:49)
... 32 more
The text was updated successfully, but these errors were encountered:
I have a Problem with a war-file that i want to convert to a Bundle. In this war-file is a swf included. I want to keep this file in the target bundle. It seems to be, that a swf file is interpreted like a jar file and p2-maven-plugin wants to open it...
swf-files should not opened like zip-file, but copied to target file. Or maybe it can be excluded.
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.reficio:p2-maven-plugin:1.3.0:site failed: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.reficio.p2.P2Mojo.execute(P2Mojo.java:250)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
... 21 more
Caused by: java.lang.RuntimeException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at org.reficio.p2.utils.BundleUtils.isBundle(BundleUtils.java:82)
at org.reficio.p2.P2Validator.validateArtifactConfig(P2Validator.java:46)
at org.reficio.p2.P2Validator.validateBundleRequest(P2Validator.java:35)
at org.reficio.p2.P2Mojo.bundleArtifact(P2Mojo.java:477)
at org.reficio.p2.P2Mojo.processTransitiveArtifacts(P2Mojo.java:329)
at org.reficio.p2.P2Mojo.processArtifacts(P2Mojo.java:290)
at org.reficio.p2.P2Mojo.execute(P2Mojo.java:243)
... 22 more
Caused by: java.util.zip.ZipException: The JAR/ZIP file ({path to file}.swf) seems corrupted, error: error in opening zip file
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:64)
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:43)
at aQute.bnd.osgi.Jar.(Jar.java:79)
at aQute.bnd.osgi.Jar.(Jar.java:99)
at org.reficio.p2.utils.BundleUtils.isBundle(BundleUtils.java:79)
... 28 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:155)
at java.util.zip.ZipFile.(ZipFile.java:169)
at aQute.bnd.osgi.ZipResource.build(ZipResource.java:49)
... 32 more
The text was updated successfully, but these errors were encountered: