Fixed: Update build.gradle to the latest dependencies (OFBIZ-12092)
After last changes jdom is missing when using framework only, certainly due to a
3rd party lib change that included it.
This fixes the issue, by not only adding last jdom lib ('org.jdom:jdom:2.0.2')
in build.gradle but also changing the import where used: they changed to jdom2!
This commit is contained in:
@@ -42,7 +42,7 @@ import org.apache.ofbiz.entity.Delegator;
|
||||
import org.apache.ofbiz.entity.util.EntityUtilProperties;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.jdom.JDOMException;
|
||||
import org.jdom2.JDOMException;
|
||||
|
||||
/**
|
||||
* ScaleImage Class
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ import org.apache.ofbiz.service.DispatchContext;
|
||||
import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.jdom.JDOMException;
|
||||
import org.jdom2.JDOMException;
|
||||
|
||||
public class FrameImage {
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.jdom.JDOMException;
|
||||
import org.jdom2.JDOMException;
|
||||
|
||||
/**
|
||||
* Product Services
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ import org.apache.ofbiz.service.GenericServiceException;
|
||||
import org.apache.ofbiz.service.LocalDispatcher;
|
||||
import org.apache.ofbiz.service.ModelService;
|
||||
import org.apache.ofbiz.service.ServiceUtil;
|
||||
import org.jdom.JDOMException;
|
||||
import org.jdom2.JDOMException;
|
||||
|
||||
/**
|
||||
* Product Services
|
||||
|
||||
+3
-3
@@ -202,13 +202,13 @@ dependencies {
|
||||
implementation 'oro:oro:2.0.8'
|
||||
implementation 'wsdl4j:wsdl4j:1.6.3'
|
||||
implementation 'com.auth0:java-jwt:3.11.0'
|
||||
implementation 'org.jdom:jdom:2.0.0'
|
||||
|
||||
implementation 'org.jdom:jdom:2.0.2'
|
||||
|
||||
testImplementation 'org.hamcrest:hamcrest-library:2.2' // Enable junit4 to not depend on hamcrest-1.3
|
||||
testImplementation 'org.mockito:mockito-core:3.6.28'
|
||||
testImplementation 'org.jmockit:jmockit:1.49'
|
||||
testImplementation 'com.pholser:junit-quickcheck-generators:1.0'
|
||||
|
||||
|
||||
runtimeOnly 'javax.xml.soap:javax.xml.soap-api:1.4.0'
|
||||
runtimeOnly 'de.odysseus.juel:juel-spi:2.2.7'
|
||||
runtimeOnly 'net.sf.barcode4j:barcode4j-fop-ext:2.1'
|
||||
|
||||
Reference in New Issue
Block a user