Could you try the recently release 1.6 version?
If it also fails, please file an issue ticket [1] and provide a small
project that can be used to reproduce the issue.

/Anders

[1] https://jira.codehaus.org/browse/MJAXB


On Thu, Mar 13, 2014 at 11:29 PM, blipsman <b_lips...@yahoo.com> wrote:

> I found solution:
> To eliminate problem, which was to enforce using  JAXB 2.1 ( which is
> included in JAVA 6) , but not JAXB 2.2 I have added
> to the parent POM:
>
> *<pluginManagement>
>         <plugins>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>jaxb2-maven-plugin</artifactId>
>                 <version>1.5</version>
>
>             </plugin>
>
>         </plugins>
>  </pluginManagement>*
>
> fixed the error in POM.xml
>
> Still had to use *<target>2.1</target>* to make sure the 2.1 JAXB is used
> instead of JAXB 2.2
>
> Boris
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-while-executing-org-codehaus-mojo-jaxb2-maven-plugin-1-6-xjc--tp5788280p5788281.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to