You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by eg...@apache.org on 2009/05/05 13:33:10 UTC

svn commit: r771670 - in /cxf/dosgi/trunk/distribution: pom.xml sources/ sources/pom.xml sources/src/ sources/src/main/ sources/src/main/assembly/ sources/src/main/assembly/src.xml

Author: eglynn
Date: Tue May  5 11:33:07 2009
New Revision: 771670

URL: http://svn.apache.org/viewvc?rev=771670&view=rev
Log:
[dOSGi] Added support for building source distro

Added:
    cxf/dosgi/trunk/distribution/sources/
    cxf/dosgi/trunk/distribution/sources/pom.xml
    cxf/dosgi/trunk/distribution/sources/src/
    cxf/dosgi/trunk/distribution/sources/src/main/
    cxf/dosgi/trunk/distribution/sources/src/main/assembly/
    cxf/dosgi/trunk/distribution/sources/src/main/assembly/src.xml
Modified:
    cxf/dosgi/trunk/distribution/pom.xml

Modified: cxf/dosgi/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/pom.xml?rev=771670&r1=771669&r2=771670&view=diff
==============================================================================
--- cxf/dosgi/trunk/distribution/pom.xml (original)
+++ cxf/dosgi/trunk/distribution/pom.xml Tue May  5 11:33:07 2009
@@ -40,5 +40,6 @@
     <modules>
       <module>multi-bundle</module>
       <module>single-bundle</module>
+      <module>sources</module>
     </modules> 
 </project>

Added: cxf/dosgi/trunk/distribution/sources/pom.xml
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/sources/pom.xml?rev=771670&view=auto
==============================================================================
--- cxf/dosgi/trunk/distribution/sources/pom.xml (added)
+++ cxf/dosgi/trunk/distribution/sources/pom.xml Tue May  5 11:33:07 2009
@@ -0,0 +1,65 @@
+<!--
+  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.
+-->
+<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">
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.cxf.dosgi</groupId>
+    <artifactId>cxf-dosgi-ri-source-distribution</artifactId>
+    <version>1.1-SNAPSHOT</version>
+    <name>Distributed OSGI Source Distribution</name>
+    <url>http://cxf.apache.org</url>
+
+    <parent>
+        <groupId>org.apache.cxf.dosgi</groupId>
+        <artifactId>cxf-dosgi-ri-distribution-parent</artifactId>
+        <version>1.1-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <properties>
+        <maven.test.skip>true</maven.test.skip>
+        <dosgi.version>${pom.version}</dosgi.version>
+        <topDirectoryLocation>../..</topDirectoryLocation>
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>distribution-package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: cxf/dosgi/trunk/distribution/sources/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/sources/src/main/assembly/src.xml?rev=771670&view=auto
==============================================================================
--- cxf/dosgi/trunk/distribution/sources/src/main/assembly/src.xml (added)
+++ cxf/dosgi/trunk/distribution/sources/src/main/assembly/src.xml Tue May  5 11:33:07 2009
@@ -0,0 +1,59 @@
+<?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>false</includeBaseDirectory>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>../..</directory>
+            <outputDirectory>apache-cxf-dosgi-ri-${dosgi.version}-src</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+            <excludes>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**/*</exclude>
+                <exclude>**/build</exclude>
+                <exclude>**/build/**/*</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.pmd</exclude>
+                <exclude>**/.checkstyle</exclude>
+                <exclude>**/.ruleset</exclude>
+                <exclude>**/pmd-eclipse.log</exclude>
+                <exclude>**/.classpath</exclude>
+                <exclude>**/.project</exclude>
+                <exclude>**/.wtpmodules</exclude>
+                <exclude>**/surefire*</exclude>
+                <exclude>**/cobertura.ser</exclude>
+                <exclude>**/velocity.log</exclude>
+                <exclude>**/var/journal</exclude>
+                <exclude>**/build.out*</exclude>
+                <exclude>**/discovery/distributed</exclude>
+                <exclude>**/discovery/distributed/**/*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>