| <!-- |
| 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.sandesha2</groupId> |
| <artifactId>sandesha2-parent</artifactId> |
| <version>1.4</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>distribution</artifactId> |
| <name>Sandesha2 - Distribution</name> |
| <description>Sandesha2 - Distribution</description> |
| <packaging>pom</packaging> |
| |
| <!-- This needs to be set explicitly because the project structure implies that the Maven calculated defaults are wrong --> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/axis/axis2/java/sandesha/tags/1_4/modules/distribution</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/axis/axis2/java/sandesha/tags/1_4/modules/distribution</developerConnection> |
| <url>http://svn.apache.org/viewvc/axis/axis2/java/sandesha/tags/1_4/modules/distribution</url> |
| </scm> |
| <!-- This also needs to be set explicitly because the Maven calculated URL would point to nowhere --> |
| <url>http://axis.apache.org/axis2/java/sandesha/</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-client-constants</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-policy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-rampart-integration</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-persistence</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2</artifactId> |
| <version>${project.version}</version> |
| <type>mar</type> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-core</artifactId> |
| <version>${project.version}</version> |
| <classifier>sources</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/sources/</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-interop</artifactId> |
| <version>${project.version}</version> |
| <classifier>sources</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/sources/</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.sandesha2</groupId> |
| <artifactId>sandesha2-rampart-integration</artifactId> |
| <version>${project.version}</version> |
| <classifier>sources</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/sources/</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.5</version> |
| <executions> |
| <execution> |
| <id>javadoc-generation</id> |
| <phase>package</phase> |
| <goals> |
| <goal>javadoc</goal> |
| </goals> |
| <configuration> |
| <sourcepath>target/sources</sourcepath> |
| <excludePackageNames>org.tempuri</excludePackageNames> |
| <reportOutputDirectory>${project.build.directory}/docs/apidocs</reportOutputDirectory> |
| <windowtitle>Sandesha2 API</windowtitle> |
| <doctitle>Sandesha2</doctitle> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-5</version> |
| <executions> |
| <execution> |
| <id>distribution-package</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| <descriptor>src/main/assembly/doc.xml</descriptor> |
| </descriptors> |
| <finalName>sandesha2-${project.version}</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <generateReports>false</generateReports> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- We don't want to deploy the distributions to the Maven repository. |
| Reasons: |
| * Deploying the distributions will 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> |
| <!-- Generating checksums will make it easier to prepare distributions for upload --> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <createChecksum>true</createChecksum> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |