Author: jeffyu
Date: Wed Feb 10 10:03:22 2010
New Revision: 908425

URL: http://svn.apache.org/viewvc?rev=908425&view=rev
Log:
* apply the ODE-752 patch.

Added:
    ode/trunk/distro/src/main/assembly/src.xml
Modified:
    ode/trunk/distro/pom.xml

Modified: ode/trunk/distro/pom.xml
URL: 
http://svn.apache.org/viewvc/ode/trunk/distro/pom.xml?rev=908425&r1=908424&r2=908425&view=diff
==============================================================================
--- ode/trunk/distro/pom.xml (original)
+++ ode/trunk/distro/pom.xml Wed Feb 10 10:03:22 2010
@@ -115,6 +115,21 @@
               <tarLongFileMode>gnu</tarLongFileMode>
             </configuration>
           </execution>
+          <execution>
+            <id>source-distro</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>apache-ode-sources-${project.version}</finalName>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>src/main/assembly/src.xml</descriptor>
+              </descriptors>
+              <tarLongFileMode>gnu</tarLongFileMode>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
      </plugins>

Added: ode/trunk/distro/src/main/assembly/src.xml
URL: 
http://svn.apache.org/viewvc/ode/trunk/distro/src/main/assembly/src.xml?rev=908425&view=auto
==============================================================================
--- ode/trunk/distro/src/main/assembly/src.xml (added)
+++ ode/trunk/distro/src/main/assembly/src.xml Wed Feb 10 10:03:22 2010
@@ -0,0 +1,51 @@
+<?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>
+  <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
+  <id>src</id>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <formats>
+    <format>zip</format>
+  </formats>
+
+  <fileSets>
+
+    <fileSet>
+      <directory>..</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+       <include>**/*</include>
+      </includes>
+      <excludes>
+       <exclude>.svn</exclude>
+       <exclude>**/.svn</exclude>
+           <exclude>**/target</exclude>
+           <exclude>**/target/**/*</exclude>
+           <exclude>**/.settings</exclude>
+               <exclude>**/.settings/**/*</exclude>
+           <exclude>**/.classpath</exclude>
+           <exclude>**/.project</exclude>
+      </excludes>
+    </fileSet>
+
+  </fileSets>
+
+
+</assembly>


Reply via email to