servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r707302 - in /servicemix/smx4/bundles/trunk: pom.xml rhino-1.7-R1/ rhino-1.7-R1/pom.xml
Date Thu, 23 Oct 2008 08:00:29 GMT
Author: lhein
Date: Thu Oct 23 01:00:28 2008
New Revision: 707302

URL: http://svn.apache.org/viewvc?rev=707302&view=rev
Log:
added bundle for Rhino JavaScript library version 1.7R1

Added:
    servicemix/smx4/bundles/trunk/rhino-1.7-R1/
    servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml   (with props)
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=707302&r1=707301&r2=707302&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Thu Oct 23 01:00:28 2008
@@ -76,6 +76,7 @@
         <module>osworkflow-2.7.0</module>
         <module>propertyset-1.3</module>
         <module>quartz-1.5.2</module>
+        <module>rhino-1.7-R1</module>
         <module>saaj-impl-1.3</module>
         <module>saxon-9.1.0.1</module>
         <module>woodstox-3.2.7</module>

Added: servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml?rev=707302&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml Thu Oct 23 01:00:28 2008
@@ -0,0 +1,98 @@
+<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>2</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.rhino</artifactId>
+    <version>1.7_R1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix Bundles: ${pkgArtifactId}-${pkgVersion}</name>
+    <description>
+        This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
+    </description>
+
+    <properties>
+        <pkgGroupId>rhino</pkgGroupId>
+        <pkgArtifactId>js</pkgArtifactId>
+        <pkgVersion>1.7R1</pkgVersion>
+        <servicemix.osgi.import.pkg>
+            javax.swing*;resolution:=optional,
+            javax.xml*;resolution:=optional,
+            org.apache.xmlbeans*;resolution:=optional,
+            org.mozilla*;resolution:=optional,
+            org.w3c*;resolution:=optional,
+            org.xml*;resolution:=optional,
+            *
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.export>
+            org.mozilla*;version=${pkgVersion};-split-package:=merge-first
+        </servicemix.osgi.export>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</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}:${pkgArtifactId}</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/bundles/trunk/rhino-1.7-R1/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message