You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ac...@apache.org on 2016/09/02 07:51:45 UTC

servicemix-bundles git commit: [SM-3092] Create OSGi bundle for Cglib 3.2.4

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master da33304e1 -> 5ccee8c45


[SM-3092] Create OSGi bundle for Cglib 3.2.4


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/5ccee8c4
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/5ccee8c4
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/5ccee8c4

Branch: refs/heads/master
Commit: 5ccee8c456664d1f240df21a57ebe34e5bbe6b25
Parents: da33304
Author: Andrea Cosentino <an...@gmail.com>
Authored: Fri Sep 2 09:49:41 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Fri Sep 2 09:49:41 2016 +0200

----------------------------------------------------------------------
 cglib-3.2.4/pom.xml                             | 105 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  12 +++
 pom.xml                                         |   1 +
 3 files changed, 118 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5ccee8c4/cglib-3.2.4/pom.xml
----------------------------------------------------------------------
diff --git a/cglib-3.2.4/pom.xml b/cglib-3.2.4/pom.xml
new file mode 100644
index 0000000..af5f6ab
--- /dev/null
+++ b/cglib-3.2.4/pom.xml
@@ -0,0 +1,105 @@
+<?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>12</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
+    <packaging>bundle</packaging>
+    <version>3.2.4_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps cglib-nodep ${pkgVersion} jar file.</description>
+
+    <scm>
+        <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection>
+        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+        <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url>
+    <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>cglib</pkgGroupId>
+        <pkgArtifactId>cglib</pkgArtifactId>
+        <pkgVersion>3.2.4</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            net.sf.cglib
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            net.sf.cglib.asm.util;resolution:=optional,
+            org.apache.tools.ant*;version="[1.6,2)";resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-nodep</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}-nodep</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+        </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}-nodep</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}-nodep</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5ccee8c4/cglib-3.2.4/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/cglib-3.2.4/src/main/resources/OSGI-INF/bundle.info b/cglib-3.2.4/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..6bd7274
--- /dev/null
+++ b/cglib-3.2.4/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/cglib-nodep/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    cglib is a powerful, high performance and quality Code Generation Library, It is used to extend JAVA
+    classes and implements interfaces at runtime.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://cglib.sourceforge.net/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5ccee8c4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f1cd8e2..cc99bd7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,6 +59,7 @@
         <module>okio-1.10.0</module>
         <module>orbitz-consul-client-0.12.7</module>
         <module>jedis-2.9.0</module>
+        <module>cglib-3.2.4</module>
     </modules>
 
 </project>