On Friday 01 April 2011 11:10:33 AM Benson Margulies wrote: > I just got a brand new, completely clean ,tree, and ran into the following.
Sounds like you have an older Neethi snapshot. Can you try : "mvn -U -cpu" to force an update and see if that helps? I just did a complete build from a perfectly clean ~/.m2/repository this morning so I know it SHOULD be OK. Dan > [INFO] Total time: 15.717s (Wall Clock) > [INFO] Finished at: Fri Apr 01 11:08:56 EDT 2011 > [INFO] Final Memory: 33M/85M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) on project cxf-api: Compilation failure: Compilation > failure: > [ERROR] > /Users/benson/asf/cxf/api/src/main/java/org/apache/cxf/ws/policy/Assertion > InfoMap.java:[108,74] incompatible types > [ERROR] found : > java.util.Iterator<java.util.List<org.apache.neethi.PolicyComponent>> > [ERROR] required: > java.util.Iterator<java.util.List<org.apache.neethi.Assertion>> > [ERROR] > /Users/benson/asf/cxf/api/src/main/java/org/apache/cxf/ws/policy/Assertion > InfoMap.java:[130,71] incompatible types > [ERROR] found : > java.util.Iterator<java.util.List<org.apache.neethi.PolicyComponent>> > [ERROR] required: > java.util.Iterator<java.util.List<org.apache.neethi.Assertion>> > [ERROR] > /Users/benson/asf/cxf/api/src/main/java/org/apache/cxf/ws/policy/builder/p > rimitive/PrimitiveAssertion.java:[52,8] cannot find symbol > [ERROR] symbol : constructor > PrimitiveAssertion(javax.xml.namespace.QName,boolean,boolean,java.util.Map< > javax.xml.namespace.QName,java.lang.String>) [ERROR] location: class > org.apache.neethi.builders.PrimitiveAssertion [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command [ERROR] mvn <goals> -rf :cxf-api -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
