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 2017/02/24 08:35:49 UTC
[1/2] servicemix-bundles git commit: [SM-3266] Create working OSGi
bundle for javax.websocket-api 1.1
Repository: servicemix-bundles
Updated Branches:
refs/heads/master 7a29d2626 -> 62379e0d9
[SM-3266] Create working OSGi bundle for javax.websocket-api 1.1
Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/683cc69b
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/683cc69b
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/683cc69b
Branch: refs/heads/master
Commit: 683cc69be3fc6828b9fd1893f080aff49748d23a
Parents: 7a29d26
Author: Christoph Fiehe <ch...@materna.de>
Authored: Thu Feb 23 09:36:14 2017 +0100
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Fri Feb 24 09:33:41 2017 +0100
----------------------------------------------------------------------
javax-websocket-api-1.1/pom.xml | 103 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 11 ++
2 files changed, 114 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/683cc69b/javax-websocket-api-1.1/pom.xml
----------------------------------------------------------------------
diff --git a/javax-websocket-api-1.1/pom.xml b/javax-websocket-api-1.1/pom.xml
new file mode 100644
index 0000000..fc1d6d3
--- /dev/null
+++ b/javax-websocket-api-1.1/pom.xml
@@ -0,0 +1,103 @@
+<?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>13</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.javax-websocket-api</artifactId>
+ <version>1.1_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+ <properties>
+ <pkgGroupId>javax.websocket</pkgGroupId>
+ <pkgArtifactId>javax.websocket-api</pkgArtifactId>
+ <pkgVersion>1.1</pkgVersion>
+ <servicemix.osgi.export>
+ javax.websocket*;${pkgVersion};-split-package:=merge-first
+ </servicemix.osgi.export>
+ <servicemix.osgi.private.pkg>
+ META-INF;-split-package:=merge-first,
+ </servicemix.osgi.private.pkg>
+ <servicemix.osgi.require.capability>
+ osgi.serviceloader;filter:="(osgi.serviceloader=javax.websocket.server.ServerEndpointConfig$Configurator)";cardinality:=multiple,osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)"
+ </servicemix.osgi.require.capability>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</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}</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>
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/683cc69b/javax-websocket-api-1.1/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/javax-websocket-api-1.1/src/main/resources/OSGI-INF/bundle.info b/javax-websocket-api-1.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..e3212f8
--- /dev/null
+++ b/javax-websocket-api-1.1/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,11 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ JSR 356: Java API for WebSocket.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://www.oracle.com/technetwork/articles/java/jsr356-1937161.html\u001B[0m
[2/2] servicemix-bundles git commit: [SM-3266] This closes #96
Posted by jb...@apache.org.
[SM-3266] This closes #96
Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/62379e0d
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/62379e0d
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/62379e0d
Branch: refs/heads/master
Commit: 62379e0d9e0a8c072c32cf91828009a140d10830
Parents: 7a29d26 683cc69
Author: Jean-Baptiste Onofr� <jb...@apache.org>
Authored: Fri Feb 24 09:35:36 2017 +0100
Committer: Jean-Baptiste Onofr� <jb...@apache.org>
Committed: Fri Feb 24 09:35:36 2017 +0100
----------------------------------------------------------------------
javax-websocket-api-1.1/pom.xml | 103 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 11 ++
2 files changed, 114 insertions(+)
----------------------------------------------------------------------