servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-3244] Create OSGi bundle for gwt-servlet 2.8.0
Date Sun, 19 Feb 2017 12:48:11 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 198ff06ad -> d18b09510


[SM-3244] Create OSGi bundle for gwt-servlet 2.8.0


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

Branch: refs/heads/master
Commit: d18b09510f59963f8c090cd37ac0795147d5e94a
Parents: 198ff06
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Sun Feb 19 13:47:26 2017 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Sun Feb 19 13:47:26 2017 +0100

----------------------------------------------------------------------
 gwt-servlet-2.8.0/pom.xml                       | 121 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  13 ++
 pom.xml                                         |   1 +
 3 files changed, 135 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d18b0951/gwt-servlet-2.8.0/pom.xml
----------------------------------------------------------------------
diff --git a/gwt-servlet-2.8.0/pom.xml b/gwt-servlet-2.8.0/pom.xml
new file mode 100644
index 0000000..d0fd36b
--- /dev/null
+++ b/gwt-servlet-2.8.0/pom.xml
@@ -0,0 +1,121 @@
+<?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-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.gwt-servlet</artifactId>
+    <version>2.8.0_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${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>com.google.gwt</pkgGroupId>
+        <pkgArtifactId>gwt-servlet</pkgArtifactId>
+        <pkgVersion>2.8.0</pkgVersion>
+        <servicemix.osgi.export>
+            com.google.gwt.user.client.rpc;version=${pkgVersion};-split-package:=merge-first,
+            com.google.gwt.user.client.rpc.*;version=${pkgVersion};-split-package:=merge-first,
+            com.google.web.bindery.requestfactory.vm.impl.*;version=${pkgVersion};-split-package:=merge-first,
+            org.hibernate.validator.engine;version=${pkgVersion};-split-package:=merge-first,
+            !javax.validation,
+            !org.hibernate.validator.*,
+            !*.client.*,
+            !*.impl.*,
+            *;version=${pkgVersion};-split-package:=merge-first
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            javax.servlet.*,
+            javax.validation;resolution:=optional,
+            javax.validation.*;resolution:=optional,
+            org.json;resolution:=optional,
+            <!--!com.google.gwt.*,-->
+            *;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            com.google.gwt.*;-split-package:=merge-first,
+            com.google.web.bindery.*;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+    </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>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d18b0951/gwt-servlet-2.8.0/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/gwt-servlet-2.8.0/src/main/resources/OSGI-INF/bundle.info b/gwt-servlet-2.8.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..3716cfb
--- /dev/null
+++ b/gwt-servlet-2.8.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,13 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex
browser-based applications.
+    GWT is used by many products at Google, including Google AdWords and Orkut. It's open
source, completely free,
+    and used by thousands of developers around the world.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://code.google.com/webtoolkit/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d18b0951/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4c277be..d6337bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,6 +82,7 @@
         <module>spring-websocket-4.3.6.RELEASE</module>
         <module>derby-10.13.1.1</module>
         <module>derbynet-10.13.1.1</module>
+        <module>gwt-servlet-2.8.0</module>
     </modules>
 
 </project>


Mime
View raw message