Maven Repository - POM file for Web Service axis2-codegen 1.5.1 1.5.1

Summary

Apache Axis2 - Code Generation.

Axis2 Code Generation module.

Declaration

Here is the list of declaration for axis2-codegen. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.axis2</groupId>
   <artifactId>axis2-codegen</artifactId>
   <version>1.5.1</version>
</dependency>

If you think this Maven repository POM file listing for axis2-codegen is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.

Plugin

The following plugins are used in the axis2-codegen-1.5.1.jar

  1. maven-antrun-plugin
  2. maven-surefire-plugin




Packages

The following packages are defined in the axis2-codegen-1.5.1.jar

org.apache.axis2.wsdl
org.apache.axis2.wsdl.codegen
org.apache.axis2.wsdl.codegen.emitter
org.apache.axis2.wsdl.codegen.emitter.jaxws
org.apache.axis2.wsdl.codegen.extension
org.apache.axis2.wsdl.codegen.schema
org.apache.axis2.wsdl.codegen.schema.exception
org.apache.axis2.wsdl.codegen.writer
org.apache.axis2.wsdl.databinding
org.apache.axis2.wsdl.i18n
org.apache.axis2.wsdl.util




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-parent</artifactId>
        <version>1.5.1</version>
        <relativePath>../parent/pom.xml</relativePath>
    </parent>
    <artifactId>axis2-codegen</artifactId>
    <name>Apache Axis2 - Code Generation</name>
    <description>Axis2 Code Generation module</description>
    <dependencies>
        <dependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>axis2-kernel</artifactId>
          <version>${project.version}</version>
        </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>axis2-adb</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>axis2-transport-local</artifactId>
        <version>${project.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>axis2-transport-http</artifactId>
        <version>${project.version}</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
    <build>
        <sourceDirectory>src</sourceDirectory>
        <testSourceDirectory>test</testSourceDirectory>
        <resources>
            <resource>
                <directory>conf</directory>
                <excludes>
                    <exclude>**/*.properties</exclude>
                </excludes>
                <filtering>false</filtering>
            </resource>
            <resource>
                <directory>src</directory>
                <excludes>
                    <exclude>**/*.java</exclude>
                </excludes>
            </resource>
            <resource>
                <directory>../..</directory>
                <includes>
                    <include>NOTICE.txt</include>
                    <include>LICENSE.txt</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>test</directory>
                <includes>
                    <include>**/*.xsl</include>
                </includes>
            </testResource>
            <testResource>
                <directory>../adb-codegen/src</directory>
                <includes>
                    <include>**/*.xsl</include>
                </includes>
            </testResource>
            <testResource>
                <directory>../xmlbeans/src</directory>
                <includes>
                    <include>**/*.xsl</include>
                </includes>
            </testResource>
            <testResource>
                <directory>../jaxbri/src</directory>
                <includes>
                    <include>**/*.xsl</include>
                </includes>
            </testResource>
            <testResource>
                <directory>../jibx/src</directory>
                <includes>
                    <include>**/*.xsl</include>
                </includes>
            </testResource>
        </testResources>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <inherited>true</inherited>
            <configuration>
              <skip>false</skip>
              <includes>
                <include>**/*Test.java</include>
              </includes>
            </configuration>
          </plugin>

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                  <execution>
                    <id>generate-test-sources</id>
                    <phase>generate-test-sources</phase>
                    <configuration>
                      <tasks>
                        <!-- Set a property that can be picked up from the ant build.xml's -->
                        <property name="maven.class.path" refid="maven.test.classpath"/>
                        <echo>Building WSDLs...</echo>
                        <property name="axis2.home" value="${basedir}/../target"/>
                        <property name="maven.junit.jvmargs" value=""/>
                        <path id="maven.dependency.classpath">
                          <path refid="maven.compile.classpath"/>
                        </path>
                        <ant antfile="build-wsdls.xml" inheritall="true" inheritrefs="true"
                             dir="." target="wsdl-codegen"/>
                      </tasks>
                    </configuration>
                    <goals>
                      <goal>run</goal>
                    </goals>
                  </execution>
                  <execution>
                    <id>process-resources</id>
                    <phase>process-resources</phase>
                    <configuration>
                      <tasks>
                        <tstamp>
                          <format property="build.time" pattern="MMM dd, yyyy (hh:mm:ss z)" locale="en"/>
                        </tstamp>
                        <copy toDir="${basedir}/target/classes/" overwrite="true" filtering="on">
                          <fileset dir="${basedir}/src/" includes="**/*.xsl"/>
                          <filterset begintoken="#" endtoken="#">
                            <filter token="axisVersion" value="${version}"/>
                            <filter token="today" value=" Built on : ${build.time}"/>
                          </filterset>
                        </copy>
                      </tasks>
                    </configuration>
                    <goals>
                      <goal>run</goal>
                    </goals>
                  </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>