Q:

which jaxb plugin to use?

Possible Duplicate:
Difference of Maven JAXB plugins 

I found two jaxb maven plugins:
1.
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>

2. 
    <groupId>com.sun.tools.xjc.maven2</groupId>
    <artifactId>maven-jaxb-plugin</artifactId>

What is difference in these two plugins?

A:

maven-jaxb-plugin supports jaxb1.0 and this has not been updated since June 2005.
The maven-jaxb2-plugin supports JAXB 2.1.
See more on this thread

