mxp: Build a full application zip
kiesel opened this issue · 1 comments
kiesel commented
XP applications should be packageable "as a whole", with all dependencies included, doc_root/, etc/, conf/ and xsl/ folders - potentially even more.
Possibly this is also possible w/ other maven plugins (eg. assembly plugin)?
kiesel commented
What this should do is this:
- create a zip/tar.gz/... with the following structure:
${artifactId}/
|- lib/
| |- *.xar (all .xar dependencies required for default scope)
| |- core (xp framework xars)
| `- tools (**/*.php - class.php, web.php, xar.php)
|- etc/
| `- **/*
|- doc_root/
| `- **/*
|- conf/
| `- **/*
`- project.pth (generated .pth file)
- possibly the archive's root directory needs to be configurable
- project.pth should be generated from the build
- the XP Framework "core" or base probably needs to be treated special
Btw, I am not saying this needs to be implemented in this plugin - we should check if some other maven plugins would be capable of at least parts of this.