On Tue, Oct 11, 2011 at 16:04, Thomas Mortagne <thomas.mortagne(a)xwiki.com>wrote;wrote:
hi devs,
The idea is that in Maven in general you should never embed anything
except for final distribution packages that are not supposed to be
used as dependencies of other maven projects (installers, standalone
packages, etc.). This will also allow us to properly setup
dependencies in xar so that dependency is installed when installing a
xar in Extension Manager without its pages being imported twice.
So I propose the following changes:
* in xar plugin:
** stop embedding dependencies as default behavior
** introduce an optional property for it.
* in XE/XEM have two different xars:
** a normal one with just XE pages and proper dependencies setup
** a "standalone" one which embed all XE dependencies xar (basically
the one we have now)
WDYT ?
+0, for short term, it helps, but if we expect more xar to be build and
managed, the XAR plugin is far from what you would use in maven. IMO the
assembly-plugin is better suited and properly extendable for this task. It
would not require specific knowledge or ways to describe how you want your
assembly, and it will be the real maven way.
Here is my +1
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO