Hi,

How do you add an arbitrary dependency in an assembly descriptor?

I have a maven project that builds a war file. I want to assemble this war
file together with a zip file. I have this zip file in my repository. I
currently have added the zip file as a dependency in my pom.xml and added a
<dependencySet/> element to include this zip file (with unpack to true) and
also an element for the war (with unpack to false).

This works fine, but the zip is not a dependency of the war itself, so I
don't like that I had to add it in my pom.xml. I tried setting the scope to
'provided' but then the assembly cannot find that zip file it seems.

Is there some other way to have a nicer solution?

regards,

Wim

Reply via email to