Guide - 7.9 Migration 3rd Party Libraries

1 3rd Party Library Changes for Axis2

The following libraries were contained in pf_axis2 as static libraries:

axis2-transport-local-1.7.2.jar
axis2-xmlbeans-1.7.2.jar 
esapi-2.0GA.jar 
mex-1.6.2-impl.jar 
neethi-3.0.3.jar 
opensaml1-1.1.jar 
opensaml-2.5.1-1.jar 
openws-1.4.2-1.jar 
rampart-core-1.6.2.jar 
rampart-policy-1.6.2.jar 
rampart-trust-1.6.2.jar 
sandesha2-client-constants-1.6.2.jar 
sandesha2-core-1.6.2.jar 
sandesha2-persistence-1.6.2.jar 
sandesha2-policy-1.6.2.jar 
sandesha2-rampart-integration-1.6.2.jar 
velocity-1.5.jar 
woden-api-1.0M9.jar 
wss4j-1.6.4.jar 
xmlsec-1.4.6.jar 
xmltooling-1.3.2-1.jar 
axiom-api-1.2.19.jar 
axiom-dom-1.2.19.jar 
axiom-impl-1.2.19.jar 
axiom-jaxb-1.2.19.jar 
axis2-adb-1.7.2.jar 
axis2-adb-codegen-1.7.2.jar 
axis2-ant-plugin-1.7.2.jar 
axis2-codegen-1.7.2.jar 
axis2-corba-1.7.2.jar 
axis2-fastinfoset-1.7.2.jar 
axis2-java2wsdl-1.7.2.jar 
axis2-jaxbri-1.7.2.jar 
axis2-jaxws-1.7.2.jar 
axis2-jibx-1.7.2.jar 
axis2-json-1.7.2.jar 
axis2-kernel-1.7.2.jar 
axis2-metadata-1.7.2.jar 
axis2-mtompolicy-1.7.2.jar 
axis2-saaj-1.7.2.jar 
axis2-soapmonitor-servlet-1.7.2.jar 
axis2-spring-1.7.2.jar 
axis2-transport-http-1.7.2.jar 

They were replaced by the following Gradle dependencies:

compile ('com.intershop.platform:pf_axis2')
{
    exclude module: 'axiom-api'
    exclude module: 'axiom-impl'
    exclude module: 'axis2-kernel'
    exclude module: 'axis2-transport-http'
    exclude module: 'axis2-transport-local'
    exclude module: 'geronimo-jta_1.1_spec'
    exclude module: 'servlet-api'
    exclude module: 'geronimo-activation_1.1_spec'
}

compile ('org.apache.axis2:axis2-kernel')
{
    exclude module: 'axiom-api'
    exclude module: 'axiom-impl'
    exclude module: 'geronimo-activation_1.1_spec'
    exclude module: 'geronimo-jta_1.1_spec'
    exclude module: 'geronimo-ws-metadata_2.0_spec'
    exclude module: 'geronimo-stax-api_1.0_spec'
    exclude module: 'jsr311-api'
    exclude module: 'neethi'
    exclude module: 'servlet-api'
}
compile ('org.apache.axis2:axis2-transport-local')
{
    exclude module: 'axis2-kernel'
    exclude module: 'axiom-api'
    exclude module: 'axiom-impl'
    exclude module: 'jsr311-api'
    exclude module: 'geronimo-jta_1.1_spec'
    exclude module: 'servlet-api'
    exclude module: 'geronimo-activation_1.1_spec'
}
compile ('org.apache.axis2:axis2-transport-http')
{
    exclude module: 'axis2-kernel'
    exclude module: 'axiom-api'
    exclude module: 'axiom-impl'
    exclude module: 'jsr311-api'
    exclude module: 'geronimo-jta_1.1_spec'
    exclude module: 'servlet-api'
    exclude module: 'geronimo-activation_1.1_spec'
}

If you want to use Axis2 in your projects, you need to add these Gradle dependencies in your build.gradle.

2 Changelog for 7.8.2

2.1 3rd Party Library Updates for HttpClient

HttpClient was updated from:

version.org.apache.httpcomponents.httpclient=4.3.6
version.org.apache.httpcomponents.httpcore=4.3.3
version.org.apache.httpcomponents.httpmime=4.3.6

to:

version.org.apache.httpcomponents.httpclient=4.5.2
version.org.apache.httpcomponents.httpcore=4.4.5
version.org.apache.httpcomponents.httpmime=4.5.2

2.2 3rd Party Library Changes for HtmlUnit

The following static libraries were removed:

/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/cssparser-0.9.13.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/htmlunit-2.14-LICENSE.txt
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/htmlunit-2.14.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/htmlunit-core-js-2.14.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/jetty-http-8.1.14.v20131031.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/jetty-io-8.1.14.v20131031.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/jetty-util-8.1.14.v20131031.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/jetty-websocket-8.1.14.v20131031.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/nekohtml-1.9.20.jar
/componentsets/p_platform/branches/SB_12/tool_webtest_htmlunit/staticfiles/lib/sac-1.3.jar

They were replaced by the following Gradle dependencies:

version.org.eclipse.jetty.websocket.websocket-api=9.2.12.v20150709
version.org.eclipse.jetty.websocket.websocket-client=9.2.12.v20150709
version.org.eclipse.jetty.websocket.websocket-common=9.2.12.v20150709
version.org.eclipse.jetty.jetty-io=9.2.12.v20150709
version.org.eclipse.jetty.jetty-util=9.2.12.v20150709
version.org.eclipse.jetty.jetty-http=9.2.12.v20150709
version.net.sourceforge.nekohtml.nekohtml=1.9.22
version.net.sourceforge.cssparser.cssparser=0.9.16
version.org.w3c.css.sac=1.3
version.net.sourceforge.htmlunit.htmlunit-core-js=2.17
version.net.sourceforge.htmlunit.htmlunit=2.18

3 Gradle Dependencies Instead of Static Libraries

Since the static emf libraries are replaced by Gradle dependencies, the following dependencies have to be added within app_sf_responsive and app_sf_responsive_test:

dependencies {    
	compile 'org.eclipse.emf:org.eclipse.emf.common'
    compile 'org.eclipse.emf:org.eclipse.emf.ecore'
}

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets