diff --git a/jackson-databind.spec b/jackson-databind.spec index b586ae4..51d584a 100644 --- a/jackson-databind.spec +++ b/jackson-databind.spec @@ -39,8 +39,6 @@ Jackson Annotations for configuration. %pom_xpath_inject "//pom:properties" " 11" %pom_xpath_inject "//pom:properties" " 1.6" -%pom_change_dep org.junit:junit-bom junit:junit - cp -p src/main/resources/META-INF/NOTICE . sed -i 's/\r//' LICENSE NOTICE @@ -51,14 +49,8 @@ rm src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkar %pom_xpath_remove '//pom:compilerArgs/pom:arg[contains(text(),"enable-preview")]' # TestTypeFactoryWithClassLoader fails to compile -# - it's the only test that uses powermock, so drop the powermock dependencies # - mockito is only transitively pulled in by powermock, so add it back -%pom_remove_dep org.powermock: %pom_add_dep org.mockito:mockito-core::test -rm src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java - -# Off test that require connection with the web -rm src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java %mvn_file : %{name}