Sounds good. I would take this opportunity to not migrate what's in
xwiki-enterprise-installers/xwiki-enterprise-installer-generic and
xwiki-enterprise-installers/xwiki-enterprise-installer-window but
that's another discussion.
On Tue, Mar 3, 2015 at 10:23 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi devs,
I’d like to work on the following (and any help will be most welcome).
What
====
1 - Finish moving XE pages into xwiki-platform
2 - Introduce flavor concept in xwiki-platform:
xwiki-platform/xwiki-platform-core/xwiki-platform-flavors/
|_ xwiki-platform-flavor-minimal/
|_ xwiki-platform-flavor-xwiki/
|_ xwiki-platform-flavor-xwiki-main/
|_ xwiki-platform-flavor-xwiki-wiki/
|_ xwiki-platform-flavor-test/
where:
* minimal: the base for the “xwiki” and “test” flavors. Contains the core deps that need
to be present in any xwiki runtime
* xwiki: the only runtime flavor that we distribute as part of the xwiki github
organization. A generic flavor with no vertical. See
http://markmail.org/message/keo7cs6u3fuf676w
* test: minimal + the export feature (since when writing functional tests there's is
often the need to export pages as XAR)
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