You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2012/06/05 17:51:45 UTC

svn commit: r1346441 - in /servicemix/smx4/bundles/trunk: ./ bundles-pom/ src-assembly/ src-assembly/src/ src-assembly/src/main/ src-assembly/src/main/resources/ src-assembly/src/main/resources/assemblies/

Author: jbonofre
Date: Tue Jun  5 15:51:44 2012
New Revision: 1346441

URL: http://svn.apache.org/viewvc?rev=1346441&view=rev
Log:
[SMX-1176] Provide src distribution for bundles

Added:
    servicemix/smx4/bundles/trunk/src-assembly/
    servicemix/smx4/bundles/trunk/src-assembly/pom.xml
    servicemix/smx4/bundles/trunk/src-assembly/src/
    servicemix/smx4/bundles/trunk/src-assembly/src/main/
    servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/
    servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/
    servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/src.xml
Modified:
    servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/bundles-pom/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/bundles-pom/pom.xml?rev=1346441&r1=1346440&r2=1346441&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/bundles-pom/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/bundles-pom/pom.xml Tue Jun  5 15:51:44 2012
@@ -235,6 +235,7 @@
                 </dependencies>
             </plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-remote-resources-plugin</artifactId>
                 <version>1.2.1</version>
                 <executions>
@@ -258,6 +259,32 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.3</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.servicemix.bundles</groupId>
+                        <artifactId>src-assembly</artifactId>
+                        <version>1.0-SNAPSHOT</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>make-src-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptorRefs>
+                                <descriptorRef>src</descriptorRef>
+                            </descriptorRefs>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1346441&r1=1346440&r2=1346441&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Tue Jun  5 15:51:44 2012
@@ -42,6 +42,8 @@
     <name>Apache ServiceMix :: Bundles</name>
 
     <modules>
+        <module>src-assembly</module>
+        <module>bundles-pom</module>
         <module>quickfix-1.5.2</module>
         <module>qpid-0.16</module>
         <module>ehcache-2.5.2</module>

Added: servicemix/smx4/bundles/trunk/src-assembly/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/src-assembly/pom.xml?rev=1346441&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/src-assembly/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/src-assembly/pom.xml Tue Jun  5 15:51:44 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        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.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>src-assembly</artifactId>
+    <version>1.0-SNAPSHOT</version>
+
+</project>
\ No newline at end of file

Added: servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/src.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/src.xml?rev=1346441&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/src.xml (added)
+++ servicemix/smx4/bundles/trunk/src-assembly/src/main/resources/assemblies/src.xml Tue Jun  5 15:51:44 2012
@@ -0,0 +1,20 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+
+    <id>src-descriptor-id</id>
+
+    <formats>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>**/*</include>
+            </includes>
+            <useDefaultExcludes>true</useDefaultExcludes>
+        </fileSet>
+    </fileSets>
+
+</assembly>
\ No newline at end of file