servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1130889 - in /servicemix/smx4/bundles/trunk: avalon-framework-4.3.1/ avalon-framework-4.3.1/pom.xml pom.xml
Date Fri, 03 Jun 2011 02:46:22 GMT
Author: ffang
Date: Fri Jun  3 02:46:21 2011
New Revision: 1130889

URL: http://svn.apache.org/viewvc?rev=1130889&view=rev
Log:
[SMX4-854|SMX4-855]add avalon-framework-4.3.1 wrapper bundle

Added:
    servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/
    servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/pom.xml
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/pom.xml?rev=1130889&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/avalon-framework-4.3.1/pom.xml Fri Jun  3 02:46:21 2011
@@ -0,0 +1,104 @@
+<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">
+
+    <!--
+
+        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>
+
+    <parent>
+	    <groupId>org.apache.servicemix.bundles</groupId>
+	    <artifactId>bundles-pom</artifactId>
+	    <version>6</version>
+	    <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.avalon-framework</artifactId>
+    <packaging>bundle</packaging>
+    <version>4.3.1_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: avalon-framework</name>
+    <description>This OSGi bundle wraps avalon-framework-api and avalon-framework-impl
${pkgVersion} jar files.</description>
+
+    <properties>
+        <pkgGroupId>org.apache.avalon.framework</pkgGroupId>
+        <pkgVersion>4.3.1</pkgVersion>
+        <servicemix.osgi.export.pkg>org.apache.avalon.framework</servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !org.apache.avalon.framework*,
+            org.apache.log*;resolution:=optional,
+            *
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.failok>true</servicemix.osgi.failok>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>avalon-framework-api</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>avalon-framework-impl</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <artifactSet>
+                                <includes>
+                                    <include>${pkgGroupId}:avalon-framework-api</include>
+                                    <include>${pkgGroupId}:avalon-framework-impl</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:avalon-framework-api</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:avalon-framework-impl</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1130889&r1=1130888&r2=1130889&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Fri Jun  3 02:46:21 2011
@@ -61,6 +61,7 @@
         <module>velocity-1.7</module>
         <module>velocity-1.6.2</module>
         <module>velocity-1.6.4</module>
-    </modules>
+        <module>avalon-framework-4.3.1</module>
+     </modules>
 
 </project>



Mime
View raw message