diff --git a/NOTICE b/NOTICE index fbf59c2..97b97b6 100644 --- a/NOTICE +++ b/NOTICE @@ -10,8 +10,8 @@ This software includes third party software subject to the following licenses: Digipost JAXB Resolver - com.sun.xml.bind under The Apache Software License, Version 2.0 JavaBeans Activation Framework API jar under CDDL/GPLv2+CE + JAXB Tools :: JAXB Basics :: Runtime under BSD-Style License jaxb-api under CDDL 1.1 or GPL2 w/ CPE - JAXB2 Basics - Runtime under BSD-Style License Old JAXB Core under CDDL+GPL License Old JAXB Runtime under Eclipse Distribution License - v 1.0 Posten signering - API JAXB Classes under The Apache Software License, Version 2.0 diff --git a/jaxb/NOTICE b/jaxb/NOTICE index d1ea46f..86452fb 100644 --- a/jaxb/NOTICE +++ b/jaxb/NOTICE @@ -10,8 +10,8 @@ This software includes third party software subject to the following licenses: Digipost JAXB Resolver - com.sun.xml.bind under The Apache Software License, Version 2.0 JavaBeans Activation Framework API jar under CDDL/GPLv2+CE + JAXB Tools :: JAXB Basics :: Runtime under BSD-Style License jaxb-api under CDDL 1.1 or GPL2 w/ CPE - JAXB2 Basics - Runtime under BSD-Style License Old JAXB Core under CDDL+GPL License Old JAXB Runtime under Eclipse Distribution License - v 1.0 Posten signering - API JAXB Classes under The Apache Software License, Version 2.0 diff --git a/jaxb/pom.xml b/jaxb/pom.xml index dbe78a4..289fe94 100644 --- a/jaxb/pom.xml +++ b/jaxb/pom.xml @@ -30,7 +30,8 @@ signature-api-specification-jaxb - ${project.basedir}/target/generated-resources/xsd + ${project.build.directory}/generated-resources/xsd + ${project.build.directory}/generated-sources/xjc @@ -38,7 +39,7 @@ org.junit junit-bom - 5.9.2 + 5.10.0 pom import @@ -63,9 +64,9 @@ runtime - org.jvnet.jaxb2_commons + org.jvnet.jaxb jaxb2-basics-runtime - 0.12.0 + 2.0.9 no.digipost.signature @@ -105,13 +106,13 @@ nl.jqno.equalsverifier equalsverifier - 3.14 + 3.15.1 test org.javers javers-core - 6.9.1 + 6.14.0 test @@ -123,13 +124,13 @@ org.slf4j slf4j-api - 2.0.6 + 2.0.9 test org.slf4j slf4j-simple - 2.0.6 + 2.0.9 test @@ -144,9 +145,51 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - 0.14.0 + org.jvnet.jaxb + jaxb-maven-plugin + 2.0.9 + + 2.3 + ${xsd.directory} + ${xsd.directory}/catalog.xml + false + true + ${project.basedir}/src/main/jaxb + + -Xxew + -Xxew:instantiate lazy + -Xxew:control ${project.basedir}/src/main/jaxb/xew-control.properties + -XtoString + -XtoString-toStringStrategyClass=no.digipost.signature.jaxb.basics.LessFuzzToStringStrategy + -Xjavadoc + -Xvalue-constructor + -Xfluent-api + -Xinheritance + -Xannotate + + + + org.jvnet.jaxb + jaxb2-basics + 2.0.9 + + + org.jvnet.jaxb + jaxb-basics-annotate + 2.0.9 + + + org.apache.cxf.xjcplugins + cxf-xjc-javadoc + 3.3.2 + + + com.github.jaxb-xew-plugin + jaxb-xew-plugin + 1.11 + + + maven-javadoc-plugin @@ -176,79 +219,100 @@ - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin + org.jvnet.jaxb + jaxb-maven-plugin + xmldsig + + generate + + + bindings-xmldsig.xjb + ${xjc.build.directory}/xmldsig + + thirdparty/xmldsig-core-schema.xsd + + + + + xades generate + + bindings-xades.xjb + ${xjc.build.directory}/xades + + thirdparty/XAdES.xsd + + + -b + ${xjc.build.directory}/xmldsig/META-INF/sun-jaxb.episode + + + + + asice + + generate + + + bindings-ts_102918v010201.xjb + ${xjc.build.directory}/asice + + thirdparty/ts_102918v010201.xsd + + + -b + ${xjc.build.directory}/xmldsig/META-INF/sun-jaxb.episode + + + + + sign + + generate + + + bindings-sign.xjb + ${xjc.build.directory}/sign + + direct-and-portal.xsd + + + -b + ${xjc.build.directory}/asice/META-INF/sun-jaxb.episode + -b + ${xjc.build.directory}/xades/META-INF/sun-jaxb.episode + + + + + + + maven-antrun-plugin + + + process-sources + + run + + + + + + + + - - - org.glassfish.jaxb - jaxb-runtime - 2.3.8 - - - - 2.2 - ${xsd.directory} - - direct-and-portal.xsd - thirdparty/*.xsd - - ${xsd.directory}/catalog.xml - false - true - true - ${project.basedir}/src/main/jaxb - - -Xxew - -Xxew:instantiate lazy - -Xxew:control ${project.basedir}/src/main/jaxb/xew-control.properties - -XtoString - -XtoString-toStringStrategyClass=no.digipost.signature.jaxb.basics.LessFuzzToStringStrategy - -Xjavadoc - -Xvalue-constructor - -Xfluent-api - -Xinheritance - -Xannotate - - - - org.jvnet.jaxb2_commons - jaxb2-basics - 0.12.0 - - - org.jvnet.jaxb2_commons - jaxb2-basics-annotate - 1.1.0 - - - org.jvnet.jaxb2_commons - jaxb2-fluent-api - 3.0 - - - org.jvnet.jaxb2_commons - jaxb2-value-constructor - 3.0 - - - org.apache.cxf.xjcplugins - cxf-xjc-javadoc - 3.3.1 - - - com.github.jaxb-xew-plugin - jaxb-xew-plugin - 1.10 - - - diff --git a/jaxb/src/main/jaxb/bindings.xjb b/jaxb/src/main/jaxb/bindings-sign.xjb similarity index 90% rename from jaxb/src/main/jaxb/bindings.xjb rename to jaxb/src/main/jaxb/bindings-sign.xjb index 70ca4b9..d28fed7 100644 --- a/jaxb/src/main/jaxb/bindings.xjb +++ b/jaxb/src/main/jaxb/bindings-sign.xjb @@ -134,20 +134,4 @@ - - - - - - - - - - - - - - - - diff --git a/jaxb/src/main/jaxb/bindings-ts_102918v010201.xjb b/jaxb/src/main/jaxb/bindings-ts_102918v010201.xjb new file mode 100644 index 0000000..e84e9be --- /dev/null +++ b/jaxb/src/main/jaxb/bindings-ts_102918v010201.xjb @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/jaxb/src/main/jaxb/bindings-xades.xjb b/jaxb/src/main/jaxb/bindings-xades.xjb new file mode 100644 index 0000000..af412c2 --- /dev/null +++ b/jaxb/src/main/jaxb/bindings-xades.xjb @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + diff --git a/jaxb/src/main/jaxb/bindings-xmldsig.xjb b/jaxb/src/main/jaxb/bindings-xmldsig.xjb new file mode 100644 index 0000000..097155a --- /dev/null +++ b/jaxb/src/main/jaxb/bindings-xmldsig.xjb @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 308a1fa..f89e121 100644 --- a/pom.xml +++ b/pom.xml @@ -50,19 +50,19 @@ maven-dependency-plugin - 3.5.0 + 3.6.0 maven-help-plugin - 3.3.0 + 3.4.0 maven-clean-plugin - 3.2.0 + 3.3.1 maven-resources-plugin - 3.3.0 + 3.3.1 maven-compiler-plugin @@ -70,7 +70,7 @@ maven-enforcer-plugin - 3.2.1 + 3.4.1 @@ -90,7 +90,7 @@ maven-surefire-plugin - 3.0.0-M9 + 3.1.2 maven-jar-plugin @@ -98,21 +98,25 @@ maven-install-plugin - 3.1.0 + 3.1.1 maven-deploy-plugin + 3.1.1 + + + maven-antrun-plugin 3.1.0 org.codehaus.mojo versions-maven-plugin - 2.15.0 + 2.16.0 com.mycila license-maven-plugin - 4.2.rc3 + 4.2 @@ -128,7 +132,7 @@ com.github.siom79.japicmp japicmp-maven-plugin - 0.17.2 + 0.17.3 diff --git a/schema/pom.xml b/schema/pom.xml index 71b9deb..d1f29b5 100644 --- a/schema/pom.xml +++ b/schema/pom.xml @@ -48,7 +48,7 @@ org.codehaus.mojo xml-maven-plugin - 1.0.2 + 1.1.0 src/validation/catalog.xml