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 2011/06/23 11:01:58 UTC
svn commit: r1138777 - in /servicemix/smx4/bundles/trunk: ./ smack-3.2.0/
smack-3.2.0/src/ smack-3.2.0/src/main/ smack-3.2.0/src/main/resources/
smack-3.2.0/src/main/resources/OSGi-INF/
Author: jbonofre
Date: Thu Jun 23 09:01:57 2011
New Revision: 1138777
URL: http://svn.apache.org/viewvc?rev=1138777&view=rev
Log:
[SMX4-866] Create OSGi bundle for Smack 3.2.0.
Added:
servicemix/smx4/bundles/trunk/smack-3.2.0/
servicemix/smx4/bundles/trunk/smack-3.2.0/pom.xml
servicemix/smx4/bundles/trunk/smack-3.2.0/src/
servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/
servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/
servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/
servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/bundle.info
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=1138777&r1=1138776&r2=1138777&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Thu Jun 23 09:01:57 2011
@@ -45,6 +45,7 @@
<module>java-apns-0.1.6</module>
<module>quartz-2.0.1</module>
<module>scalaj-collection-1.0</module>
+ <module>smack-3.2.0</module>
</modules>
</project>
Added: servicemix/smx4/bundles/trunk/smack-3.2.0/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/smack-3.2.0/pom.xml?rev=1138777&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/smack-3.2.0/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/smack-3.2.0/pom.xml Thu Jun 23 09:01:57 2011
@@ -0,0 +1,124 @@
+<?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>6</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.smack</artifactId>
+ <packaging>bundle</packaging>
+ <version>3.2.0_1-SNAPSHOT</version>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps smack, and smackx ${pkgVersion} jar files.</description>
+
+ <properties>
+ <pkgGroupId>org.igniterealtime.smack</pkgGroupId>
+ <pkgArtifactId>smack</pkgArtifactId>
+ <pkgVersion>3.2.0</pkgVersion>
+ <servicemix.osgi.export>
+ org.jivesoftware*;version=${pkgVersion};-split-package:=merge-first,
+ com.jcraft.jzlib*;version=${pkgVersion};-split-package:=merge-first,
+ org.xmlpull*;version=${pkgVersion};-split-package:=merge-first
+ </servicemix.osgi.export>
+ <servicemix.osgi.import.pkg>
+ !org.jivesoftware*,
+ !com.jcraft.jzlib*,
+ !org.xmlpull*;resolution:=optional,
+ *
+ </servicemix.osgi.import.pkg>
+ <servicemix.osgi.embed.dependency>
+ *;inline=META-INF/smack.providers|META-INF/smack-config.xml|META-INF/services/*
+ </servicemix.osgi.embed.dependency>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>smack</artifactId>
+ <version>${pkgVersion}</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>smackx</artifactId>
+ <version>${pkgVersion}</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
+ <repositories>
+ <!-- ServiceMix repository -->
+ <repository>
+ <id>smx-m2-repo</id>
+ <name>ServiceMix Maven Repository</name>
+ <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
+ </repository>
+ </repositories>
+
+ <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}:smack</include>
+ <include>${pkgGroupId}:smackx</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+ <artifact>${pkgGroupId}:smack</artifact>
+ <excludes>
+ <exclude>**</exclude>
+ </excludes>
+ </filter>
+ <filter>
+ <artifact>${pkgGroupId}:smackx</artifact>
+ <excludes>
+ <exclude>**</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Added: servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/bundle.info?rev=1138777&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/smack-3.2.0/src/main/resources/OSGi-INF/bundle.info Thu Jun 23 09:01:57 2011
@@ -0,0 +1,14 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URLs:
+ \u001B[33mmvn:${pkgGroupId}/smack/${pkgVersion}\u001B[0m
+ \u001B[33mmvn:${pkgGroupId}/smackx/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it
+ can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such
+ as sending notification messages and presence-enabling devices.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://www.igniterealtime.org/projects/smack/\u001B[0m