You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by tc...@apache.org on 2009/06/20 21:45:57 UTC
svn commit: r786895 - in /webservices/juddi/branches/v3_trunk/juddi-dist: ./
assembly.xml build.xml pom.xml
Author: tcunning
Date: Sat Jun 20 19:45:57 2009
New Revision: 786895
URL: http://svn.apache.org/viewvc?rev=786895&view=rev
Log:
JUDDI-188
Add juddi-dist module, which produces a .zip and .tar.gz with docs and WAR.
Added:
webservices/juddi/branches/v3_trunk/juddi-dist/
webservices/juddi/branches/v3_trunk/juddi-dist/assembly.xml
webservices/juddi/branches/v3_trunk/juddi-dist/build.xml
webservices/juddi/branches/v3_trunk/juddi-dist/pom.xml
Added: webservices/juddi/branches/v3_trunk/juddi-dist/assembly.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-dist/assembly.xml?rev=786895&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-dist/assembly.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-dist/assembly.xml Sat Jun 20 19:45:57 2009
@@ -0,0 +1,13 @@
+<assembly>
+ <id></id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}/dist</directory>
+ <outputDirectory></outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
Added: webservices/juddi/branches/v3_trunk/juddi-dist/build.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-dist/build.xml?rev=786895&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-dist/build.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-dist/build.xml Sat Jun 20 19:45:57 2009
@@ -0,0 +1,16 @@
+<project name="juddi-dist" default="package-dist" basedir=".">
+ <property file="package.properties"/>
+ <property name="dist.dir" value="${basedir}/target/dist"/>
+
+ <target name="package-dist">
+ <mkdir dir="${dist.dir}"/>
+ <mkdir dir="${dist.dir}/docs"/>
+ <copy file="${dependency.juddi.war}"
+ tofile="${dist.dir}/juddi.war"/>
+ <copy todir="${dist.dir}/docs">
+ <fileset dir="${basedir}/../docs">
+ <exclude name="**/*.odt"/>
+ </fileset>
+ </copy>
+ </target>
+</project>
Added: webservices/juddi/branches/v3_trunk/juddi-dist/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-dist/pom.xml?rev=786895&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-dist/pom.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-dist/pom.xml Sat Jun 20 19:45:57 2009
@@ -0,0 +1,96 @@
+<?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.0.SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.juddi</groupId>
+ <artifactId>juddi-dist</artifactId>
+ <version>3.0.0.SNAPSHOT</version>
+ <name>jUDDI Distribution Packaging</name>
+ <url>http://maven.apache.org</url>
+ <packaging>pom</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.juddi</groupId>
+ <artifactId>juddi-war</artifactId>
+ <version>3.0.0.SNAPSHOT</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.juddi.war" value="${maven.dependency.org.apache.juddi.juddi-war.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>
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org