camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: [2/2] git commit: Upgrade CXF version to 3.0.0
Date Tue, 20 May 2014 15:30:25 GMT
Hi Claus,

Thanks for pointing that out, the build error is caused by the WSPasswordCallback is removed
in CXF 3.0.0, we need to do some work as we do in the integration tests to avoid using WSPasswordCallback
directly.

I just committed a quick for the the build error camel-example-reportincident-wssecurity,
I will check other issue tomorrow.



--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On May 20, 2014 at 2:00:49 PM, Claus Ibsen (claus.ibsen@gmail.com) wrote:
> Hi
>  
> I think the CXF upgrade broke some examples. I get this compile error now
>  
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project camel-example-reportincident-wssecurity:
> Compilation failure: Compilation failure:
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[26,29]
 
> error: package org.apache.ws.security does not exist
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,12]
 
> error: cannot find symbol
> [ERROR] symbol: class WSPasswordCallback
> [ERROR] location: class UTPasswordCallback
> [ERROR] /Users/davsclaus/workspace/camel/examples/camel-example-reportincident-wssecurity/src/main/java/org/apache/camel/example/reportincident/UTPasswordCallback.java:[50,37]
 
> error: cannot find symbol
> [ERROR] -> [Help 1]
>  
>  
> Also please check the maven archetypes we have with CXF as they may be
> broken/affected too.
>  
> And if there is an API breaking/change in CXF, we may need to upgrade
> the OSGi ranges for CXF to be [3,4)
>  
>  
>  
> On Tue, May 20, 2014 at 4:59 AM, wrote:
> > Upgrade CXF version to 3.0.0
> >
> >
> > Project: http://git-wip-us.apache.org/repos/asf/camel/repo
> > Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c1604024
> > Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c1604024
> > Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c1604024
> >
> > Branch: refs/heads/master
> > Commit: c160402483affab0f26fddd2abfeb5ec21e652b8
> > Parents: b93d3c5
> > Author: Willem Jiang  
> > Authored: Tue May 20 10:55:47 2014 +0800
> > Committer: Willem Jiang  
> > Committed: Tue May 20 10:55:47 2014 +0800
> >
> > ----------------------------------------------------------------------  
> > parent/pom.xml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > ----------------------------------------------------------------------  
> >
> >
> > http://git-wip-us.apache.org/repos/asf/camel/blob/c1604024/parent/pom.xml  
> > ----------------------------------------------------------------------  
> > diff --git a/parent/pom.xml b/parent/pom.xml
> > index 14659f8..b52b11f 100644
> > --- a/parent/pom.xml
> > +++ b/parent/pom.xml
> > @@ -107,7 +107,7 @@
> > 2.0
> > 1.4  
> > 2.5.2  
> > - 2.7.11
> > + 3.0.0
> > [2.6,4.0)
> > 2.7.0
> > 0.7
> >
>  
>  
>  
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>  


Mime
View raw message