Description
The maven2 wsdl2code plugin reports
java.lang.RuntimeException: JAX-B RI JARs not on classpath
even though
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-runtime</artifactId>
<version>0.5.2</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2</version>
<scope>runtime</scope>
</dependency>
are included in the project pom.xml.
Probably the check is best implemented by looking for the API classes.