wsdl2java ( axis 1.4 ) pom 文档

来源:互联网 发布:2个excel表格数据合并 编辑:程序博客网 时间:2024/06/06 20:51

<?xml version="1.0"?><project>
  <parent>
    <artifactId>msp-libs</artifactId>
    <groupId>com.max.msp</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.max.msp</groupId>
  <artifactId>scmobile-lib</artifactId>
  <name>scmobile-lib</name>
  <version>1.0-SNAPSHOT</version>
  <url>/msp/libs/scmobile-lib</url>
    <build>
        <resources>
            <resource>
                <directory>
                    target/generated-sources/axis2/wsdl2code/resources
                </directory>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>axistools-maven-plugin</artifactId>
                <version>1.3</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <databindingName>adb</databindingName>
                    <packageSpace>com.max.msp.hx.scmobile</packageSpace>
                    <namespaceToPackages>
                        bogus=bogus
                    </namespaceToPackages>
                    <wsdlFile>src/main/wsdl/service.wsdl</wsdlFile>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>axis</groupId>
                        <artifactId>axis</artifactId>
                        <version>1.4</version>
                    </dependency>
                    <dependency>
                        <groupId>wsdl4j</groupId>
                        <artifactId>wsdl4j</artifactId>
                        <version>1.6.1</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <configuration>
                    <encoding>utf-8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <compilerArguments>
                        <encoding>utf-8</encoding>
                    </compilerArguments>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>   
        <dependency>
            <groupId>axis</groupId>
            <artifactId>axis</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <scope>runtime</scope>
        </dependency>               
    </dependencies>
</project>