All Downloads are FREE. Search and download functionalities are using the official Maven repository.

thirdparty.jaxb2_commons.xml-element-wrapper.1.0.source-code.pom.xml Maven / Gradle / Ivy

Go to download

When generating XML schema from Java source code using the schemagen tool a common approach is to use the @XmlElementWrapper and @XmlElement annotations to handle schema generation for collections. However, when generating Java source from a schema using the xjc tool the resulting code is not created with these annotations. Instead, the generated Java source contains "injected" inner classes to accommodate the collection of elements contained within an element.

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.andromda.thirdparty.jaxb2_commons</groupId>
        <artifactId>project</artifactId>
        <version>0.4.1.5</version>
    </parent>
    <artifactId>xml-element-wrapper</artifactId>
    <version>1.0</version>
    <name>JAXB2 @XmlElementWrapper Plugin</name>
    <description>When generating XML schema from Java source code using the schemagen tool a common approach is to use
        the @XmlElementWrapper and @XmlElement annotations to handle schema generation for collections. However, when
        generating Java source from a schema using the xjc tool the resulting code is not created with these
        annotations. Instead, the generated Java source contains "injected" inner classes to accommodate the collection
        of elements contained within an element.
    </description>
    <url>https://jaxb2-commons.dev.java.net/</url>

    <dependencies>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-xjc</artifactId>
        </dependency>
    </dependencies>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy