That sounds like a bug, but also it wouldn't work the way you think. It shouldn't choke on the swf, it should really just ignore it. The plugin is not designed to also do the job of the assembly plugin. To work around the bug, try adding an artifactSet with excludes.

To get the SWF into the eventual artifact, you should have it as a resource in the original artifact. This could be done with the dependency:copy goal.

Cheers,
Brett


On 02/04/2009, at 10:15 AM, Allan Ditzel wrote:

Hi,

I'm trying to use the shade plugin to build a jar file that includes swf files from modules that are being built by a pom's parent. However, when I
try to build (clean install) I get the following error:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating shaded jar.

Embedded error: error in opening zip file

Is the plugin trying to unzip the included dependency, which in this case is a swf? If so, is there any way to configure the plugin such that it just
pulls in the dependency and doesn't try to unzip it?

Thanks,

Allan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to