diff --git a/boolean-test/pom.xml b/boolean-test/pom.xml index 86c565a8..e678f9fc 100644 --- a/boolean-test/pom.xml +++ b/boolean-test/pom.xml @@ -44,11 +44,6 @@ jaxb-xjc - - jaxme - jaxme2 - test - junit junit diff --git a/boolean-test/src/test/java/org/apache/cxf/xjc/bg/BooleanGetterPluginTest.java b/boolean-test/src/test/java/org/apache/cxf/xjc/bg/BooleanGetterPluginTest.java index 156f73e4..16ad6081 100644 --- a/boolean-test/src/test/java/org/apache/cxf/xjc/bg/BooleanGetterPluginTest.java +++ b/boolean-test/src/test/java/org/apache/cxf/xjc/bg/BooleanGetterPluginTest.java @@ -18,10 +18,7 @@ */ package org.apache.cxf.xjc.bg; -import javax.xml.bind.DatatypeConverter; - import org.apache.cxf.configuration.foo.Foo; -import org.apache.ws.jaxme.impl.DatatypeConverterImpl; import org.junit.Test; @@ -30,8 +27,6 @@ public class BooleanGetterPluginTest { @Test public void testBooleanGetter() throws Exception { - DatatypeConverter.setDatatypeConverter(new DatatypeConverterImpl()); - Foo foo = new org.apache.cxf.configuration.foo.ObjectFactory().createFoo(); foo.getBooleanAttr(); diff --git a/boolean-test/src/test/java/org/apache/cxf/xjc/bgi/BooleanGetAndIsPluginTest.java b/boolean-test/src/test/java/org/apache/cxf/xjc/bgi/BooleanGetAndIsPluginTest.java index ef8a108d..0acf46ab 100644 --- a/boolean-test/src/test/java/org/apache/cxf/xjc/bgi/BooleanGetAndIsPluginTest.java +++ b/boolean-test/src/test/java/org/apache/cxf/xjc/bgi/BooleanGetAndIsPluginTest.java @@ -18,10 +18,7 @@ */ package org.apache.cxf.xjc.bgi; -import javax.xml.bind.DatatypeConverter; - import org.apache.cxf.configuration.foo1.Foo; -import org.apache.ws.jaxme.impl.DatatypeConverterImpl; import org.junit.Test; @@ -30,8 +27,6 @@ public class BooleanGetAndIsPluginTest { @Test public void testBooleanGetAndIs() throws Exception { - DatatypeConverter.setDatatypeConverter(new DatatypeConverterImpl()); - Foo foo = new org.apache.cxf.configuration.foo1.ObjectFactory().createFoo(); foo.getBooleanAttr(); diff --git a/dv-test/pom.xml b/dv-test/pom.xml index 5e862ce9..27f2bc07 100644 --- a/dv-test/pom.xml +++ b/dv-test/pom.xml @@ -47,11 +47,6 @@ jaxb-xjc - - jaxme - jaxme2 - test - junit junit diff --git a/dv-test/src/test/java/org/apache/cxf/xjc/dv/DefaultValueTest.java b/dv-test/src/test/java/org/apache/cxf/xjc/dv/DefaultValueTest.java index 1c4e09d4..1e5d0b2f 100644 --- a/dv-test/src/test/java/org/apache/cxf/xjc/dv/DefaultValueTest.java +++ b/dv-test/src/test/java/org/apache/cxf/xjc/dv/DefaultValueTest.java @@ -36,7 +36,6 @@ import javax.xml.validation.SchemaFactory; import org.apache.cxf.configuration.foo.Foo; -import org.apache.ws.jaxme.impl.DatatypeConverterImpl; import org.junit.Assert; import org.junit.Test; @@ -48,8 +47,6 @@ public class DefaultValueTest extends Assert { @Test public void testFooDefaultValues() throws Exception { - DatatypeConverter.setDatatypeConverter(new DatatypeConverterImpl()); - Foo foo = new org.apache.cxf.configuration.foo.ObjectFactory().createFoo(); // verify default values @@ -82,9 +79,9 @@ private void assertDefaultAttributeValues(Foo foo) { assertEquals("Unexpected value for attribute decimalAttr", new BigDecimal("115"), foo.getDecimalAttr()); assertEquals("Unexpected value for attribute floatAttr", - new Float(116F), new Float(foo.getFloatAttr())); + 116F, foo.getFloatAttr(), 0F); assertEquals("Unexpected value for attribute doubleAttr", - new Double(117D), new Double(foo.getDoubleAttr())); + 117D, foo.getDoubleAttr(), 0D); assertEquals("Unexpected value for attribute byteAttr", 118, foo.getByteAttr()); @@ -189,9 +186,9 @@ private void assertDefaultElementValues(Foo foo) { assertEquals("Unexpected value for element decimalElem", new BigDecimal("15"), foo.getDecimalElem()); assertEquals("Unexpected value for element floatElem", - new Float(16F), foo.getFloatElem()); + 16F, foo.getFloatElem(), 0F); assertEquals("Unexpected value for element doubleElem", - new Double(17D), foo.getDoubleElem()); + 17D, foo.getDoubleElem(), 0D); assertEquals("Unexpected value for element byteElem", (byte)18, foo.getByteElem().byteValue()); diff --git a/dv-test/src/test/resources/schemas/configuration/foo.xsd b/dv-test/src/test/resources/schemas/configuration/foo.xsd index 98d0633e..bc0e0ec3 100644 --- a/dv-test/src/test/resources/schemas/configuration/foo.xsd +++ b/dv-test/src/test/resources/schemas/configuration/foo.xsd @@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License. --> - + diff --git a/pom.xml b/pom.xml index 7cb59be5..d0236971 100644 --- a/pom.xml +++ b/pom.xml @@ -107,11 +107,6 @@ junit 4.12 - - jaxme - jaxme2 - 0.5.1 - org.apache.maven maven-plugin-api @@ -581,19 +576,19 @@ - javax.annotation - javax.annotation-api - 1.3.1 + jakarta.annotation + jakarta.annotation-api + 1.3.5 - javax.xml.ws - jaxws-api - 2.3.0 + jakarta.xml.ws + jakarta.xml.ws-api + 2.3.2 - javax.activation - activation - 1.1.1 + jakarta.activation + jakarta.activation-api + 1.2.1