jaxb-gradle-plugin icon indicating copy to clipboard operation
jaxb-gradle-plugin copied to clipboard

Configuration for removal package-info.java

Open miPlodder opened this issue 3 years ago • 0 comments

package-info.json

@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.miplodder.com/shorify/responsemodel", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package com.miplodder.shortify.xml.schema;
  1. Is there any way via configuration to remove package-info.java?
  2. Moreover, on what basis is namespace attribute values coming here for XmlSchema(namespace = "http://www.miplodder.com/shorify/responsemodel")
  3. I see namespace are enabled by default, how can this disable this behavior via this plugin? Also, I see all namespaces are added in all the xmls, can this behaviour be changed via plugin)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:my-request 
xmlns:ns2="http://www.miplodder.com/response" 
xmlns:ns3="http://www.miploder.com/request">
    <ns3:about>
        <ns3:name>saksham</ns3:name>
        <ns3:surname>handu</ns3:surname>
    </ns3:about>
</ns3:my-request>

miPlodder avatar May 26 '21 14:05 miPlodder