I have an EJB-maven-Project that has several generated classes (generated by JAXB). They are generated in: target/generated-sources/jaxb/
Now, with the maven-ejb-plugin, I want them (i.e. their compiled classes) to be included in the client jar, something like this:
<plugin> <artifactId>maven-ejb-plugin</artifactId> <version>2.3</version> <configuration> <ejbVersion>3.1</ejbVersion> <generateClient>true</generateClient> <clientIncludes> <clientInclude>com/bla/ch/authorization/client/**</clientInclude> <clientInclude>target/generated-sources/jaxb/**</clientInclude> </clientIncludes> </configuration> </plugin>
This does not work, the generated classes are not part of the ejb-client-jar. (Although they are in ejb-jar). How can I do it right?
source share