The JAXBElement test probably fails because @XmlElement cannot be on
method parameters in JAXB 2.1 (JDK 1.6).  You'll need JAXB 2.2 for
that.  I think there's some special configuration in the main pom.xml
for this.  I'm not sure right now what other configuration is required
to put JAXB 2.2 on the classpath ahead of JAXB 2.1 if you're running
JDK 1.6.

On Mon, Oct 25, 2010 at 9:54 PM, Jason Dillon <[email protected]> wrote:
> Been seeing this failure when compiling tests:
>
> ERROR] 
> /opt/grid/slave/workspace/Wink/jdk/java-6x/label/ubuntu/wink-server/src/test/java/org/apache/wink/server/internal/providers/entity/JAXBProvidersWithXmlElementAnnoTest.java:[112,66]
>  annotation type not applicable to this kind of declaration
>
> ( https://grid.sonatype.org/ci/job/Wink/jdk=java-6x,label=ubuntu/32/console )
>
> Last good build was on 10/18/10 ( https://grid.sonatype.org/ci/job/Wink/16/ ).
>
> Any idea why its unhappy?  Is this a JDK problem?  It builds fine on my Mac 
> locally using 1.6.0_22, but fails on our grid slave using 1.6.0_19 and 
> 1.5.0_22
>
> --jason

Reply via email to