Author: jeff.yuchang
Date: 2010-01-27 03:32:01 -0500 (Wed, 27 Jan 2010)
New Revision: 479
Added:
branches/ODE/ODE-2.0-maven/distro/src/main/assembly/src.xml
Modified:
branches/ODE/ODE-2.0-maven/distro/pom.xml
Log:
* add source distro assembly script.
Modified: branches/ODE/ODE-2.0-maven/distro/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/distro/pom.xml 2010-01-26 09:37:42 UTC (rev 478)
+++ branches/ODE/ODE-2.0-maven/distro/pom.xml 2010-01-27 08:32:01 UTC (rev 479)
@@ -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: branches/ODE/ODE-2.0-maven/distro/src/main/assembly/src.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/distro/src/main/assembly/src.xml
(rev 0)
+++ branches/ODE/ODE-2.0-maven/distro/src/main/assembly/src.xml 2010-01-27 08:32:01 UTC
(rev 479)
@@ -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>