Details
-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
Any appropriate Maven2 environment.
-
maven plugin application development
-
Description
The Attached ZIP file contains the source code (with LGPL license) for a Maven Plugin that takes the external Code (Velocity, JavaScript, CSS, Groovy etc) and merges it into a given XML file which must be first exported from XWiki.
With that plugin a developer can develop a project (like blog) outside of the XML file and without the XML encoding etc. Therefore the language support of an IDE can be used without interference of the XML. When the project is ready to be deployed this tool can be used to merge the code with the XML file and together with the XAR plugin a XAR file can be created for deployment.
The plugin uses JDOM to parse the XML file, find the elements to place the code inside and uses CDATA to avoid having to encode the code.
- Andy