blob: 0642a4efd8fcf8ced0955548f851fca062d5f10f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright 2001-2009 The Apache Software Foundation.
*
* Licensed 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">
<parent>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-parent</artifactId>
<version>3.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-dist</artifactId>
<version>3.0.1</version>
<name>jUDDI Distribution Packaging</name>
<url>http://maven.apache.org</url>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddiv3-war</artifactId>
<version>3.0.1</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-core</artifactId>
<version>3.0.1</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-core</artifactId>
<version>3.0.1</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddi-docs</artifactId>
<version>3.0.1</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.apache.juddi</groupId>
<artifactId>juddiv3-samples</artifactId>
<version>3.0.1</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>test</id>
<phase>package</phase>
<configuration>
<tasks>
<property name="compile_classpath" refid="maven.compile.classpath"/>
<property name="runtime_classpath" refid="maven.runtime.classpath"/>
<property name="test_classpath" refid="maven.test.classpath"/>
<property name="plugin_classpath" refid="maven.plugin.classpath"/>
<property name="project.version" value="${project.version}"/>
<property name="dependency.juddiv3.war" value="${maven.dependency.org.apache.juddi.juddiv3-war.war.path}"/>
<property name="dependency.juddi.javadoc" value="${maven.dependency.org.apache.juddi.juddi-core.javadoc.jar.path}"/>
<property name="dependency.juddi.sources" value="${maven.dependency.org.apache.juddi.juddi-core.sources.jar.path}"/>
<property name="dependency.juddi.docs" value="${maven.dependency.org.apache.juddi.juddi-docs.tar.gz.path}"/>
<property name="dependency.juddi.samples" value="${maven.dependency.org.apache.juddi.juddiv3-samples.war.path}"/>
<ant antfile="${basedir}/build.xml">
<target name="package-dist"/>
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
<configuration>
<descriptors>
<descriptor>${basedir}/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>