I'm trying to generate request/response classes using jaxb2-maven-plugin but I'm really struggling with it. I use code below to try and generate the classes but for some reason only thing that is generated is episode file. I tried with downloaded wsdl file and also with url but I can't make any of it work.
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.14.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<schemaDirectory>src/main/resources</schemaDirectory>
<generatePackage>com.example.wsdl</generatePackage>
<schemaIncludes>
<include>*.wsdl</include>
</schemaIncludes>
<generateDirectory>src/main/java</generateDirectory>
</configuration>
</plugin>