servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1455774 - in /servicemix/smx4/bundles/trunk/drools-5.5.0: ./ pom.xml src/ src/main/ src/main/resources/ src/main/resources/OSGI-INF/ src/main/resources/OSGI-INF/bundle.info
Date Wed, 13 Mar 2013 01:58:05 GMT
Author: ffang
Date: Wed Mar 13 01:58:05 2013
New Revision: 1455774

URL: http://svn.apache.org/r1455774
Log:
[SMX4-1381]create uber-bundle for drools 5.5.0.Final for the split package issue

Added:
    servicemix/smx4/bundles/trunk/drools-5.5.0/
    servicemix/smx4/bundles/trunk/drools-5.5.0/pom.xml
    servicemix/smx4/bundles/trunk/drools-5.5.0/src/
    servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/
    servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/
    servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/bundle.info

Added: servicemix/smx4/bundles/trunk/drools-5.5.0/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/drools-5.5.0/pom.xml?rev=1455774&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/drools-5.5.0/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/drools-5.5.0/pom.xml Wed Mar 13 01:58:05 2013
@@ -0,0 +1,253 @@
+<?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>
+
+    <parent>
+        <groupId>org.apache.servicemix.bundles</groupId>
+        <artifactId>bundles-pom</artifactId>
+        <version>10</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.drools</artifactId>
+    <version>5.5.0.Final_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>org.drools</pkgGroupId>
+        <pkgArtifactId>drools</pkgArtifactId>
+        <pkgVersion>5.5.0.Final</pkgVersion>
+        <servicemix.osgi.import.pkg>
+            javax.management*,
+            javax.swing*,
+            javax.xml*,
+            org.osgi.framework,
+            org.osgi.util.tracker,
+            org.w3c.dom,
+            org.xml.sax*,
+            org.eclipse.jdt*;resolution:=optional,
+            org.quartz;resolution:=optional,
+            com.sun*;resolution:=optional,
+            sun*;resolution:=optional,
+            com.thoughtworks.xstream*;resolution:=optional,
+            javax.jcr*;resolution:=optional,
+            javax.rules*;resolution:=optional,
+            org.apache.jackrabbit*;resolution:=optional,
+            org.codehaus.janino*;resolution:=optional,
+            org.slf4j*;version="[1.5,2.0)";resolution:=optional,
+            org.tmatesoft*;resolution:=optional,
+            org.antlr.stringtemplate*;resolution:=optional,
+            com.google.protobuf;resolution:=optional, 
+            javax.inject;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.export>
+            org.drools*;version=${pkgVersion};-split-package:=merge-first,
+            !org.mvel2*;-split-package:=merge-first,
+            !jxl*;-split-package:=merge-first,
+        </servicemix.osgi.export>
+        <servicemix.osgi.private.pkg>
+            org.mvel2*,
+            jxl*,
+            org.antlr.runtime*
+        </servicemix.osgi.private.pkg>
+        <servicemix.osgi.embed.dependency>
+            *;inline=META-INF/drools*
+        </servicemix.osgi.embed.dependency>
+    </properties>
+
+    <repositories>
+        <repository>
+            <id>jboss</id>
+            <name>JBoss Maven Repository</name>
+            <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>knowledge-api</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>knowledge-internal-api</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-compiler</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-core</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-decisiontables</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-jsr94</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>knowledge-api</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>knowledge-internal-api</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-compiler</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-core</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-decisiontables</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>drools-jsr94</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <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}:drools-analytics</include>
+                                    <include>${pkgGroupId}:drools-ant</include>
+                                    <include>${pkgGroupId}:drools-compiler</include>
+                                    <include>${pkgGroupId}:drools-core</include>
+                                    <include>${pkgGroupId}:drools-decisiontables</include>
+                                    <include>${pkgGroupId}:drools-jsr94</include>
+                                    <include>${pkgGroupId}:knowledge-api</include>
+                                    <include>${pkgGroupId}:knowledge-internal-api</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-analytics</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-ant</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-compiler</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-core</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-decisiontables</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-jsr94</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:drools-repository</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/bundle.info?rev=1455774&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/drools-5.5.0/src/main/resources/OSGI-INF/bundle.info Wed
Mar 13 01:58:05 2013
@@ -0,0 +1,17 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:https://repository.jboss.org/nexus/content/groups/public/:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Drools is a business rule management system (BRMS) with a forward chaining
+    inference based rules engine, more correctly known as a production rule system,
+    using an enhanced implementation of the Rete algorithm.
+
+    Drools supports the JSR-94 standard for its business rule engine and enterprise
+    framework for the construction, maintenance, and enforcement of business policies
+    in an organization, application, or service.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.jboss.org/drools\u001B[0m



Mime
View raw message