4.0.0 com.baeldung xml 0.1-SNAPSHOT xml com.baeldung parent-modules 1.0.0-SNAPSHOT jibx.sf.net JiBX repository http://jibx.sf.net/maven2 never false jibx.sf.net JiBX repository http://jibx.sf.net/maven2 never false dom4j dom4j ${dom4j.version} jaxen jaxen ${jaxen.version} org.jdom jdom2 ${jdom2.version} 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 true process-classes bind org.jibx maven-jibx-plugin 1.3.1 src/main/resources *-binding.xml true 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