Maven 1.x Ear Plugin

Support generation of application.xml for J2EE 1.4

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    maven-1.0.1
  • Number of attachments :
    0

Description

generate application.xml for J2EE 1.4

in plugin.jeyy extend

<j:switch on="${maven.ear.appxml.version}">
<j:case value="1.3">
<x:doctype name="application" publicId="-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" systemId="http://java.sun.com/dtd/application_1_3.dtd"/>
</j:case>
<j:default>
<x:doctype name="application" publicId="-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" systemId="http://java.sun.com/j2ee/dtds/application_1_2.dtd"/>
</j:default>
</j:switch>

to cater for <j:case value="1.4>

and generate the following header (however that is done in xdoc)

<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4">

Activity

Hide
Felipe Leme added a comment -

I'm afraid the solution is not that simple, as J2EE 1.4 uses XML Schema and the Jelly XML taglib doesn't seems to support it (if it does, I didn't realize how .

Anyway, I opened an issue on the Jelly tags:

http://nagoya.apache.org/jira/browse/JELLY-173

– Felipe

Show
Felipe Leme added a comment - I'm afraid the solution is not that simple, as J2EE 1.4 uses XML Schema and the Jelly XML taglib doesn't seems to support it (if it does, I didn't realize how . Anyway, I opened an issue on the Jelly tags: http://nagoya.apache.org/jira/browse/JELLY-173 – Felipe
Hide
Diogo Bacelar Quintela added a comment -

I've added a patch for jelly at
http://issues.apache.org/jira/browse/JELLY-213

I had the same needs

Show
Diogo Bacelar Quintela added a comment - I've added a patch for jelly at http://issues.apache.org/jira/browse/JELLY-213 I had the same needs

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: