Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14420

A Maven Plugin that merges external Document / Object Code with an XML File for a XAR file creation

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • Other
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            schaefa Andreas Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: