[GRADLE-3449] Ear plugin generates wrong descriptor for JEE 7 Created: 11/May/16  Updated: 12/May/16  Resolved: 12/May/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.14-rc-1

Type: Bug
Reporter: Paul Merlin Assignee: Paul Merlin
Resolution: Fixed Votes: 0


 Description   

Schema location is missing:

<?xml version="1.0"?>
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="7"/>

It should be:

<?xml version="1.0"?>
<application xmlns="http://xmlns.jcp.org/xml/ns/javaee/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee/ http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd" version="7"/>

See https://discuss.gradle.org/t/ear-plugin-deployment-descriptor-wrong-xml-namespace-for-java-ee-7/1534


Generated at Wed Jun 30 12:49:08 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.