[ 
https://issues.apache.org/jira/browse/SYNCOPE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535808#comment-13535808
 ] 

Andrei Shakirin commented on SYNCOPE-251:
-----------------------------------------

Hi Francesco,

Jan is in vacation until new year, I try the answer your question.
The easiest way to reproduce the issue is just to add cxf dependencies in pom 
file (I attach patch for the trunk with cxf deps). You will see that some tests 
(depending on soap connector) will be failed.
If you manually remove cxf jars from ConnId soap bundle in local maven 
repository and run tests again - they will be green.
CXF branch still has some failures in integration tests, we are working on it 
(basically we successfully migrated UserController and RoleController, but as 
far as other tests still using "old" rest interface to access Users and Roles, 
there are some failures). 

Regarding the ConnId problem, I see 3 alternatives:
1) Produce two versions of ConnId bundles: with and without dependencies
2) Make classloading in ConnId configurable: provide a possibility to switch 
off lib/ jars from class loader
3) Experiment with non-default CXF bus (although Dan Kulp expects problem with 
this approach)

Andrei.

                
> Fix Dependency issues with ConnID Bundle deployment 
> ----------------------------------------------------
>
>                 Key: SYNCOPE-251
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-251
>             Project: Syncope
>          Issue Type: Sub-task
>          Components: core
>         Environment: Linked issue on ConnId: 
> http://code.google.com/p/connid/issues/detail?id=55
>            Reporter: Jan Bernhardt
>            Assignee: Jan Bernhardt
>             Fix For: 1.2.0
>
>         Attachments: cxf-deps.patch
>
>
> SOAP ConnID Bundle contains CXF dependencies, which cause Classloading issues 
> when migrating Syncope to CXF,
> Currently maven-dependency-plugin:copy is used to generate bundle jars, but 
> this plugin does not support to exclude transitive dependencies. Maybe 
> another maven plugin (maven-assembly-plugin ?) can be used to exclude CXF 
> dependencies from SOAP ConnID Bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to