Author: xuhaihong
Date: Sat Oct  8 08:55:13 2011
New Revision: 1180338

URL: http://svn.apache.org/viewvc?rev=1180338&view=rev
Log:
Add assembly plugin configuration

Added:
    openejb/branches/openejb-3.0.x/src/main/assembly/   (with props)
    openejb/branches/openejb-3.0.x/src/main/assembly/src.xml
Modified:
    openejb/branches/openejb-3.0.x/pom.xml

Modified: openejb/branches/openejb-3.0.x/pom.xml
URL: 
http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/pom.xml?rev=1180338&r1=1180337&r2=1180338&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/pom.xml (original)
+++ openejb/branches/openejb-3.0.x/pom.xml Sat Oct  8 08:55:13 2011
@@ -316,6 +316,26 @@
               </execution>
             </executions>
           </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <inherited>false</inherited>
+            <configuration>
+              <descriptors>
+                <descriptor>src/main/assembly/src.xml</descriptor>
+              </descriptors>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <finalName>openejb-${project.version}-src</finalName>
+            </configuration>
+            <executions>
+              <execution>
+                <id>make-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>

Propchange: openejb/branches/openejb-3.0.x/src/main/assembly/
------------------------------------------------------------------------------
    bugtraq:number = true

Added: openejb/branches/openejb-3.0.x/src/main/assembly/src.xml
URL: 
http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/src/main/assembly/src.xml?rev=1180338&view=auto
==============================================================================
--- openejb/branches/openejb-3.0.x/src/main/assembly/src.xml (added)
+++ openejb/branches/openejb-3.0.x/src/main/assembly/src.xml Sat Oct  8 
08:55:13 2011
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+
+<assembly>
+  <formats>
+    <format>zip</format>
+    <format>tar.gz</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>.</directory>
+      <outputDirectory>/</outputDirectory>
+      <excludes>
+        <exclude>**/target/**</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>


Reply via email to