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 2018/06/28 12:15:38 UTC
[02/17] servicemix-bundles git commit: [SM-3744] Create OSGi bundles
for Spring 4.3.18.RELEASE
http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/24d92f69/spring-websocket-4.3.18.RELEASE/pom.xml
----------------------------------------------------------------------
diff --git a/spring-websocket-4.3.18.RELEASE/pom.xml b/spring-websocket-4.3.18.RELEASE/pom.xml
new file mode 100644
index 0000000..5e13989
--- /dev/null
+++ b/spring-websocket-4.3.18.RELEASE/pom.xml
@@ -0,0 +1,222 @@
+<?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.spring-websocket</artifactId>
+ <version>4.3.18.RELEASE_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+ <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>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.springframework</pkgGroupId>
+ <pkgArtifactId>spring-websocket</pkgArtifactId>
+ <pkgVersion>4.3.18.RELEASE</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ org.springframework
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ com.fasterxml.jackson.core.io;resolution:=optional,
+ com.fasterxml.jackson.databind;resolution:=optional,
+ io.undertow.client;resolution:=optional,
+ io.undertow.connector;resolution:=optional,
+ io.undertow.server;resolution:=optional,
+ io.undertow.servlet.api;resolution:=optional,
+ io.undertow.servlet.websockets;resolution:=optional,
+ io.undertow.util;resolution:=optional,
+ io.undertow.websockets.core;resolution:=optional,
+ io.undertow.websockets.core.protocol;resolution:=optional,
+ io.undertow.websockets.core.protocol.version07;resolution:=optional,
+ io.undertow.websockets.core.protocol.version08;resolution:=optional,
+ io.undertow.websockets.core.protocol.version13;resolution:=optional,
+ io.undertow.websockets.jsr;resolution:=optional,
+ io.undertow.websockets.jsr.annotated;resolution:=optional,
+ io.undertow.websockets.jsr.handshake;resolution:=optional,
+ io.undertow.websockets.spi;resolution:=optional,
+ javax.servlet;resolution:=optional,
+ javax.servlet.http;resolution:=optional,
+ javax.websocket;resolution:=optional,
+ javax.websocket.server;resolution:=optional,
+ org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
+ org.apache.tomcat.websocket.server;resolution:=optional,
+ org.eclipse.jetty.client;resolution:=optional,
+ org.eclipse.jetty.client.api;resolution:=optional,
+ org.eclipse.jetty.client.util;resolution:=optional,
+ org.eclipse.jetty.http;resolution:=optional,
+ org.eclipse.jetty.websocket.api;resolution:=optional,
+ org.eclipse.jetty.websocket.api.annotations;resolution:=optional,
+ org.eclipse.jetty.websocket.api.extensions;resolution:=optional,
+ org.eclipse.jetty.websocket.client;resolution:=optional,
+ org.eclipse.jetty.websocket.common;resolution:=optional,
+ org.eclipse.jetty.websocket.server;resolution:=optional,
+ org.eclipse.jetty.websocket.servlet;resolution:=optional,
+ org.glassfish.tyrus.core;resolution:=optional,
+ org.glassfish.tyrus.servlet;resolution:=optional,
+ org.glassfish.tyrus.server;resolution:=optional,
+ org.glassfish.tyrus.spi;resolution:=optional,
+ org.glassfish.tyrus.websockets;resolution:=optional,
+ org.springframework.beans;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory.annotation;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory.config;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory.parsing;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory.support;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.beans.factory.xml;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.context;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.context.event;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.context.annotation;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.core;version="[${pkgVersion},4.4)",
+ org.springframework.core.annotation;version="[${pkgVersion},4.4)",
+ org.springframework.core.convert;version="[${pkgVersion},4.4)",
+ org.springframework.core.task;version="[${pkgVersion},4.4)",
+ org.springframework.http;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.http.client;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.http.converter;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.http.converter.json;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.http.server;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.converter;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.handler;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.handler.annotation.support;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.handler.invocation;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp.annotation.support;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp.broker;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp.config;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp.stomp;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.simp.user;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.support;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.messaging.tcp;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.scheduling;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.scheduling.concurrent;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.stereotype;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.util;version="[${pkgVersion},4.4)",
+ org.springframework.util.concurrent;version="[${pkgVersion},4.4)",
+ org.springframework.util.xml;version="[${pkgVersion},4.4)",
+ org.springframework.web;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.client;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.context;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.context.support;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.cors;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.filter;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.method;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.servlet;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.servlet.handler;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.springframework.web.util;version="[${pkgVersion},4.4)";resolution:=optional,
+ org.w3c.dom;resolution:=optional,
+ org.xnio;resolution:=optional,
+ org.xnio.channels;resolution:=optional
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ </exclusions>
+ </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>
+ <includes>
+ <include>**/*.xsd</include>
+ <include>META-INF/spring*</include>
+ </includes>
+ </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/24d92f69/spring-websocket-4.3.18.RELEASE/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/spring-websocket-4.3.18.RELEASE/src/main/resources/OSGI-INF/bundle.info b/spring-websocket-4.3.18.RELEASE/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..a3feb22
--- /dev/null
+++ b/spring-websocket-4.3.18.RELEASE/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
+ Spring Framework WebSocket module.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m