| <!-- | |
| ~ 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.7.0-SNAPSHOT</version> | |
| <relativePath>../parent/pom.xml</relativePath> | |
| </parent> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>distribution</artifactId> | |
| <name>Apache Axis2 - Distribution</name> | |
| <description>Apache Axis2 Distribution</description> | |
| <packaging>pom</packaging> | |
| <properties> | |
| <docs.folder.version>1_4</docs.folder.version> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-java2wsdl</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-kernel</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-adb</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-codegen</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-adb-codegen</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-xmlbeans</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-jibx</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-json</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-spring</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-soapmonitor-servlet</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-fastinfoset</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-jaxbri</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-jaxws</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-metadata</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-clustering</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-saaj</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-ant-plugin</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>mex</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>mex</artifactId> | |
| <version>${project.version}</version> | |
| <type>jar</type> | |
| <classifier>impl</classifier> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-corba</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-mtompolicy</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-transport-http</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-transport-local</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>soapmonitor</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>addressing</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>ping</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>scripting</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>mtompolicy</artifactId> | |
| <version>${project.version}</version> | |
| <type>mar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>version</artifactId> | |
| <version>${project.version}</version> | |
| <type>aar</type> | |
| </dependency> | |
| <!-- Axis2 has always been shipped with Sun's implementations of | |
| JavaMail and JAF, although Axiom depends on (and has been tested | |
| with) Geronimo's implementations. This should probably reevaluated. --> | |
| <dependency> | |
| <groupId>javax.mail</groupId> | |
| <artifactId>mail</artifactId> | |
| <version>${javax.mail.version}</version> | |
| </dependency> | |
| <!-- Jalopy is used by the PrettyPrinter class in the kernel, | |
| but it is invoked using reflection (and only if it is | |
| found on the classpath). Therefore it is not automatically | |
| added as a transitive dependency. --> | |
| <dependency> | |
| <groupId>jalopy</groupId> | |
| <artifactId>jalopy</artifactId> | |
| </dependency> | |
| <!-- None of the Axis2 artifacts should have a dependency on log4j | |
| because we don't want to impose a particular logging implementation | |
| on our users. However, for the binary distribution, we need to | |
| choose one. --> | |
| <dependency> | |
| <groupId>log4j</groupId> | |
| <artifactId>log4j</artifactId> | |
| </dependency> | |
| <!-- This is needed to build the WAR distribution --> | |
| <dependency> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-webapp</artifactId> | |
| <version>${project.version}</version> | |
| <type>war</type> | |
| </dependency> | |
| <!-- These are needed to run JAX-WS tools --> | |
| <dependency> | |
| <groupId>com.sun.xml.ws</groupId> | |
| <artifactId>jaxws-rt</artifactId> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.sun.xml.ws</groupId> | |
| <artifactId>jaxws-rt</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>com.sun.xml.bind</groupId> | |
| <artifactId>jaxb-xjc</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jvnet.staxex</groupId> | |
| <artifactId>stax-ex</artifactId> | |
| <version>1.4</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.sun.xml.stream.buffer</groupId> | |
| <artifactId>streambuffer</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| </dependencies> | |
| <url>http://axis.apache.org/axis2/java/core/</url> | |
| <scm> | |
| <connection>scm:svn:http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/distribution</connection> | |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/distribution</developerConnection> | |
| <url>http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/distribution</url> | |
| </scm> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.gmaven</groupId> | |
| <artifactId>gmaven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>generate-timestamp</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>execute</goal> | |
| </goals> | |
| <configuration> | |
| <source> | |
| import java.util.Date | |
| import java.text.MessageFormat | |
| project.properties['buildTimestamp'] = MessageFormat.format("{0,date,dd-MM-yyyy}", new Date()) | |
| </source> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.axis2</groupId> | |
| <artifactId>axis2-repo-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>create-repository</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/tmp-repository</outputDirectory> | |
| <generateFileLists>true</generateFileLists> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>distribution-package</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <configuration> | |
| <finalName>axis2-${project.version}</finalName> | |
| <descriptors> | |
| <descriptor>src/main/assembly/war-assembly.xml</descriptor> | |
| <descriptor>src/main/assembly/src-assembly.xml</descriptor> | |
| <descriptor>src/main/assembly/bin-assembly.xml</descriptor> | |
| </descriptors> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- Prepare some additional dependencies required by specific samples. We could | |
| also do this by invoking the relevant download.jars targets in the provided | |
| ant scripts, but this may cause issues with HTTP proxies and has the disadvantage | |
| that the JARs are downloaded every time instead of being copied from the local | |
| Maven repository. --> | |
| <plugin> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>test-dependencies</id> | |
| <phase>integration-test</phase> | |
| <goals> | |
| <goal>copy</goal> | |
| </goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>org.codehaus.castor</groupId> | |
| <artifactId>castor</artifactId> | |
| <version>1.0.4</version> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>net.java.dev.stax-utils</groupId> | |
| <artifactId>stax-utils</artifactId> | |
| <version>20060502</version> | |
| </artifactItem> | |
| <artifactItem> | |
| <groupId>xerces</groupId> | |
| <artifactId>xercesImpl</artifactId> | |
| <version>2.9.1</version> | |
| </artifactItem> | |
| </artifactItems> | |
| <outputDirectory>${project.build.directory}/axis2-${project.version}/samples/databinding/lib</outputDirectory> | |
| <overWriteReleases>false</overWriteReleases> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- Now unpack the distribution and run some automated tests on the samples --> | |
| <plugin> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>test-samples</id> | |
| <phase>integration-test</phase> | |
| <goals> | |
| <goal>run</goal> | |
| </goals> | |
| <configuration> | |
| <tasks> | |
| <unzip src="${project.build.directory}/axis2-${project.version}-bin.zip" dest="${project.build.directory}" /> | |
| <!-- Test of the databinding sample --> | |
| <ant dir="${project.build.directory}/axis2-${project.version}/samples/databinding"/> | |
| <!-- Test of the mtom sample --> | |
| <ant dir="${project.build.directory}/axis2-${project.version}/samples/mtom" target="generate.service"/> | |
| <ant dir="${project.build.directory}/axis2-${project.version}/samples/mtom" target="generate.client"/> | |
| <!-- Test of the faulthandling sample --> | |
| <ant dir="${project.build.directory}/axis2-${project.version}/samples/faulthandling" target="generate.service"/> | |
| </tasks> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-invoker-plugin</artifactId> | |
| <version>1.5</version> | |
| <executions> | |
| <execution> | |
| <id>build-maven-samples</id> | |
| <phase>integration-test</phase> | |
| <goals> | |
| <goal>run</goal> | |
| </goals> | |
| <configuration> | |
| <projectsDirectory>${project.build.directory}/axis2-${project.version}/samples</projectsDirectory> | |
| <pomIncludes> | |
| <pomInclude>*/pom.xml</pomInclude> | |
| </pomIncludes> | |
| <streamLogs>true</streamLogs> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <!-- We don't want to deploy the distributions to the Maven repository. | |
| Reasons: | |
| * Deploying the distributions will heavily increase the size of | |
| each release on the Maven repos. | |
| * There is also the risk that users may start downloading the non-Maven | |
| archives from Maven repos rather than the mirrors. --> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <configuration> | |
| <skip>true</skip> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>apache-release</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-install-plugin</artifactId> | |
| <configuration> | |
| <createChecksum>true</createChecksum> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |