3 - Modify the XWiki Packager Plugin:
* Do not include any dep by default, instead only rely on the plugin
user’s
declared deps. Users of the plugin will use flavors as deps.
* Split the current PackageMojo into 2 mojos:
** WarMojo: generates a WAR file (WAR distribution)
** StandalonePackageMojo: generates a standalone ZIP (Jetty+HSQLDB)
4 - Refactor functional tests in xwiki-platform to use the new
StandalonePackageMojo with deps on xwiki-platform-flavor-test
5 - Introduce Distribution modules in xwiki-platform:
xwiki-platform/xwiki-platform-distributions/
|_ xwiki-platform-distribution-war/
|_ xwiki-platform-distribution-standalone/
|_ xwiki-platform-distribution-installers/
|_ xwiki-platform-distribution-images/
|_ xwiki-platform-distribution-image-mysql/
|_ (more later)
|_ xwiki-platform-distribution-archetype/
|_ xwiki-platform-distribution-xar/
where:
* xwiki-platform-distribution-war and
xwiki-platform-distribution-standalone will
use the XWiki Packager Plugin’s
mojos and will have a dep on xwiki-platform-flavor-xwiki in their POM
* xwiki-platform-distribution-images provides
Docker images (that we’ll
publish to the Docker Hub:
https://hub.docker.com/)
* xwiki-platform-distribution-archetype is the
move of
xwiki-enterprise-archetype/. Its goal is to create the build for new
products based on XWiki. It’s to help OEMs.
* xwiki-platform-distribution-xar contains the
full XARs (for the main
wiki and subwikis) for those who don’t or cannot use the
DW/EM and want to
import them manually.
6 - Move functional tests from xwiki-enterprise to xwiki-platform.
* Ideally move specific tests to the module they’re testing
* Move the rest to
xwiki-platform/xwiki-platform-distributions/xwiki-platform-distribution-tests/
7 - Remove xwiki-enterprise and start advertising the new distribution
(update of
xwiki.org)
When
=====
My goal would be to achieve this in the XWiki 7.x cycle (i.e. before the
end of
the year).
Misc
====
Previous thread on related topic:
*
http://markmail.org/message/n2yove6lr3rlzh6j
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org