<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xmlbeans</goal>
</goals>
</execution>
</executions>
<inherited>true</inherited>
<configuration>
<schemaDirectory>src/main/resources/xsd</schemaDirectory>
<sourceschemas>
<sourceschema>v1/forum_messages.xsd</sourceschema>
<sourceschema>v2/forum_messages.xsd</sourceschema>
</sourceschemas>
</configuration>
</plugin>
</plugins>
maven xmlbeans plugin 配置
猜你喜欢
转载自conquorer.iteye.com/blog/1938051
今日推荐
周排行