4.0.0 xml 0.1-SNAPSHOT xml com.baeldung parent-modules 1.0.0-SNAPSHOT dom4j dom4j ${dom4j.version} jaxen jaxen ${jaxen.version} org.jdom jdom2 ${jdom2.version} javax.xml jaxb-api 2.1 javax.xml jaxp-api 1.4.2 javax.xml.stream stax-api 1.0-2 commons-io commons-io ${commons-io.version} org.apache.commons commons-collections4 ${commons-collections4.version} org.apache.commons commons-lang3 ${commons-lang3.version} org.jibx jibx-run ${jibx-version} commons-lang commons-lang ${commons-lang.version} xml src/main/resources true schemaGen org.jibx maven-jibx-plugin ${maven-jibx-plugin.version} generate-java-code-from-schema schema-codegen src/main/resources Order.xsd true compile-binding bind target/generated-sources true true true generate-test-code-from-schema generate-test-sources test-schema-codegen compile-test-binding process-test-classes test-bind target/generated-test-sources org.apache.maven.plugins maven-surefire-plugin ${maven-surefire-plugin.version} CustomerTest.java bindGen org.jibx maven-jibx-plugin org.jibx maven-jibx-plugin ${maven-jibx-plugin.version} src/main/resources *-binding.xml template-binding.xml src/main/resources *-binding.xml true process-classes process-classes bind process-test-classes process-test-classes test-bind org.apache.maven.plugins maven-compiler-plugin ${java-version} ${java-version} maven-assembly-plugin ${project.basedir} jar-with-dependencies com.baeldung.xml.jibx.JiBXDemoApplication make-assembly package attached 1.6.1 1.1.6 2.0.6 2.5 4.1 1.2.4.5 3.5 2.4 1.8 1.3.1