Below is how I have included jaxb2-maven-plugin to generate the schema. I am getting error: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:1.5:schemagen (default-cli) on project domain: The parameters 'includes' for goal org.codehaus.mojo:jaxb2-maven-plugin:1.5:schemagen are missing or invalid.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <version>1.5</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>schemagen</goal> </goals> </execution> </executions> <configuration> <includes> <include>${project.build.sourceDirectory}/com/abc/domain</include> </includes> <outputDirectory>${project.build.directory}/schemas</outputDirectory> <excludes> <exclude>**/aspect/*.java</exclude> </excludes> <verbose>true</verbose> </configuration> </plugin> Thanks in advance. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email