When I read the documentation
<http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html>
again, I guess that we cannot mix /descriptors/ and /descriptorRefs/,
and I was trying to do just that. Any recommendations on how to approach
this problem?
Thanks,
Stefan
On 9.11.2011 ?. 10:49 ?., Stefan wrote:
Hi guys,
I'm pretty stuck on the following problem and would appreciate any
help. Here's the situation: we have about 15 artifacts which were
living in the same place and used a common component descriptor which
was living one level up. These artifacts are all different
customizations of basically the same thing - i.e. they have different
UI, modified configuration, specific dependencies (but the server is
pretty much the same). What we are trying to do is to decouple the
common server components from the customizations and we're almost
there. However, there's one thing that we haven't figured out yet -
what to do with our common component descriptor. We've placed
customizations and normal code on one level and the component
descriptor one level above, which prevents decoupling - ideally one
should be able to work only on the normal code/custom code.
I tried packaging the component descriptor as an artifact and add
it as a dependency to the assembly plugin (like it was assembly
descriptor) and it makes its way to the classpath. However, I'm not
sure if it is allowed to reference this component descriptor in the
project's specific assembly descriptor, if so - how?
I hope my explanations weren't total mess.
Many thanks,
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]