1
我怎麼只能按需執行maven-jaxb2-plugin
插件(例如,從命令行或SOEM配置)Maven的禁用插件
<?xml version="1.0" encoding="UTF-8"?>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.13.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<schemaLanguage>WSDL</schemaLanguage>
<generatePackage>com.example.action.wsdl</generatePackage>
<schemas>
<schema>
<url>http://localhost:8080/wsSecond/action.wsdl</url>
</schema>
</schemas>
</configuration>
</plugin>
</plugins>