Author: rdonkin
Date: Mon Jan 26 23:17:26 2009
New Revision: 737934

URL: http://svn.apache.org/viewvc?rev=737934&view=rev
Log:
Added maven assembly

Added:
    james/mailet/base/trunk/src/assemble/
    james/mailet/base/trunk/src/assemble/bin.xml
    james/mailet/base/trunk/src/assemble/src.xml
Modified:
    james/mailet/base/trunk/pom.xml

Modified: james/mailet/base/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailet/base/trunk/pom.xml?rev=737934&r1=737933&r2=737934&view=diff
==============================================================================
--- james/mailet/base/trunk/pom.xml (original)
+++ james/mailet/base/trunk/pom.xml Mon Jan 26 23:17:26 2009
@@ -163,6 +163,22 @@
           </execution>
         </executions>
       </plugin>
+      <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>
          <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-doap-plugin</artifactId>

Added: james/mailet/base/trunk/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/james/mailet/base/trunk/src/assemble/bin.xml?rev=737934&view=auto
==============================================================================
--- james/mailet/base/trunk/src/assemble/bin.xml (added)
+++ james/mailet/base/trunk/src/assemble/bin.xml Mon Jan 26 23:17:26 2009
@@ -0,0 +1,61 @@
+<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>
+  <includeSiteDirectory>true</includeSiteDirectory>  
+  <fileSets>
+    <fileSet>
+      <directory>target/maven-shared-archive-resources/META-INF/</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>*</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory></directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>RELEASE_NOTES.txt</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>stage</directory>
+      <outputDirectory>/lib</outputDirectory>
+      <includes>
+        <include>**/activation.LICENSE</include>
+        <include>**/mail.LICENSE</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/lib/</outputDirectory>
+      <useProjectArtifact>false</useProjectArtifact>
+      <scope>runtime</scope>
+    </dependencySet>
+  </dependencySets>
+</assembly>
\ No newline at end of file

Added: james/mailet/base/trunk/src/assemble/src.xml
URL: 
http://svn.apache.org/viewvc/james/mailet/base/trunk/src/assemble/src.xml?rev=737934&view=auto
==============================================================================
--- james/mailet/base/trunk/src/assemble/src.xml (added)
+++ james/mailet/base/trunk/src/assemble/src.xml Mon Jan 26 23:17:26 2009
@@ -0,0 +1,44 @@
+<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>
+  <!-- 
+  Generates a file including all the source tree excluding files/folders
+  starting with "." , *.bak and the target
+  -->
+  <formats>
+    <format>zip</format>
+    <format>tar.gz</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>.</directory>
+      <outputDirectory></outputDirectory>
+      <excludes>
+        <exclude>**/target/**</exclude>
+        <exclude>.*</exclude>
+        <exclude>.*/**</exclude>
+        <exclude>**.bak</exclude>
+        <exclude>*.jar</exclude>
+        <exclude>*.log</exclude>
+      </excludes>
+      <useDefaultExcludes>true</useDefaultExcludes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to