Author: rdonkin
Date: Thu May 14 14:16:17 2009
New Revision: 774776
URL: http://svn.apache.org/viewvc?rev=774776&view=rev
Log:
Added basic assembly
Added:
james/mpt/trunk/assemble/ (with props)
james/mpt/trunk/assemble/pom.xml (with props)
james/mpt/trunk/assemble/src/
james/mpt/trunk/assemble/src/assemble/
james/mpt/trunk/assemble/src/assemble/bin.xml (with props)
james/mpt/trunk/assemble/src/assemble/src.xml (with props)
Modified:
james/mpt/trunk/pom.xml
Propchange: james/mpt/trunk/assemble/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 14 14:16:17 2009
@@ -0,0 +1,2 @@
+.*
+target
Added: james/mpt/trunk/assemble/pom.xml
URL:
http://svn.apache.org/viewvc/james/mpt/trunk/assemble/pom.xml?rev=774776&view=auto
==============================================================================
--- james/mpt/trunk/assemble/pom.xml (added)
+++ james/mpt/trunk/assemble/pom.xml Thu May 14 14:16:17 2009
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+ <!--
+ 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.
+ -->
+ <parent>
+ <artifactId>apache-james-mpt-project</artifactId>
+ <groupId>org.apache.james</groupId>
+ <version>0.1-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-james-mpt</artifactId>
+ <name>Apache James MPT Assembly</name>
+ <version>0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <description>
+This module assembles distributions
+MPT is a functional test framework specialised for the ASCII line-base
protocols common in mail.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jmock</groupId>
+ <artifactId>jmock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-antunit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <configuration>
+
<descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase> <!-- append to the packaging phase. -->
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: james/mpt/trunk/assemble/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: james/mpt/trunk/assemble/src/assemble/bin.xml
URL:
http://svn.apache.org/viewvc/james/mpt/trunk/assemble/src/assemble/bin.xml?rev=774776&view=auto
==============================================================================
--- james/mpt/trunk/assemble/src/assemble/bin.xml (added)
+++ james/mpt/trunk/assemble/src/assemble/bin.xml Thu May 14 14:16:17 2009
@@ -0,0 +1,75 @@
+<assembly>
+ <!--
+ 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.
+ -->
+ <id>bin</id>
+ <!--
+ Generates a jar file including the binary jar and the runtime dependencies.
+ including NOTICE and LICENSE in the root.
+ -->
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>LICENSE.*</include>
+ <include>NOTICE.*</include>
+ <include>RELEASE_NOTES.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../antlib/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-james-mpt*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../util/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-james-mpt*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../main/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-james-mpt*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../target/site/apidocs</directory>
+ <outputDirectory>/apidocs</outputDirectory>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/lib/</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <scope>runtime</scope>
+ <excludes>
+ <exclude>apache-james-mpt*</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets>
+</assembly>
\ No newline at end of file
Propchange: james/mpt/trunk/assemble/src/assemble/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: james/mpt/trunk/assemble/src/assemble/src.xml
URL:
http://svn.apache.org/viewvc/james/mpt/trunk/assemble/src/assemble/src.xml?rev=774776&view=auto
==============================================================================
--- james/mpt/trunk/assemble/src/assemble/src.xml (added)
+++ james/mpt/trunk/assemble/src/assemble/src.xml Thu May 14 14:16:17 2009
@@ -0,0 +1,42 @@
+<assembly>
+ <!--
+ 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.
+ -->
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory></outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>.*</exclude>
+ <exclude>.*/**</exclude>
+ <exclude>**.bak</exclude>
+ <exclude>*.jar</exclude>
+ <exclude>**/james-project/**</exclude>
+ <exclude>**/site/**</exclude>
+ <exclude>**/.*</exclude>
+ </excludes>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
Propchange: james/mpt/trunk/assemble/src/assemble/src.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: james/mpt/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/mpt/trunk/pom.xml?rev=774776&r1=774775&r2=774776&view=diff
==============================================================================
--- james/mpt/trunk/pom.xml (original)
+++ james/mpt/trunk/pom.xml Thu May 14 14:16:17 2009
@@ -39,7 +39,8 @@
<modules>
<module>main</module>
<module>antlib</module>
- <module>app</module>
+ <module>app</module>
+ <module>assemble</module>
</modules>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/james/mpt/trunk</connection>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]