Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 7f8204a27 -> ea003af6e


SM-2857. Create bundle of Jest


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

Branch: refs/heads/master
Commit: ea003af6e7e7c311fa77167032088ab972133385
Parents: 7f8204a
Author: Charles Moulliard <[email protected]>
Authored: Sat Feb 6 14:24:15 2016 +0100
Committer: Charles Moulliard <[email protected]>
Committed: Sat Feb 6 14:24:15 2016 +0100

----------------------------------------------------------------------
 jest-0.1.6/pom.xml                              | 145 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  35 +++++
 2 files changed, 180 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ea003af6/jest-0.1.6/pom.xml
----------------------------------------------------------------------
diff --git a/jest-0.1.6/pom.xml b/jest-0.1.6/pom.xml
new file mode 100644
index 0000000..3e17e35
--- /dev/null
+++ b/jest-0.1.6/pom.xml
@@ -0,0 +1,145 @@
+<?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>10</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.jest</artifactId>
+    <version>0.1.6_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: Jest</name>
+    <description>This OSGi bundle wraps jest and jest-common ${pkgVersion} jar 
file.</description>
+
+    <properties>
+        <pkgGroupId>io.searchbox</pkgGroupId>
+        <pkgVersion>0.1.6</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            io.searchbox.*
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.google.common.base;version="[13,20)",
+            com.google.common.collect;version="[13,20)",
+            com.google.common.reflect;version="[13,20)",
+            com.google.common.util.concurrent;version="[13,20)",
+            com.google.gson;version="[2.3,3)",
+            org.apache.http;version="[4.4,5)",
+            org.apache.http.auth;version="[4.4,5)",
+            org.apache.http.client;version="[4.4,5)",
+            org.apache.http.client.config;version="[4.4,5)",
+            org.apache.http.client.entity;version="[4.4,5)",
+            org.apache.http.client.methods;version="[4.4,5)",
+            org.apache.http.concurrent;version="[4.4,5)",
+            org.apache.http.config;version="[4.4,5)",
+            org.apache.http.conn;version="[4.4,5)",
+            org.apache.http.conn.routing;version="[4.4,5)",
+            org.apache.http.conn.socket;version="[4.4,5)",
+            org.apache.http.conn.ssl;version="[4.4,5)",
+            org.apache.http.entity;version="[4.4,5)",
+            org.apache.http.impl.client;version="[4.4,5)",
+            org.apache.http.impl.conn;version="[4.4,5)",
+            org.apache.http.impl.nio.client;version="[4.4,5)",
+            org.apache.http.util;version="[4.4,5)",
+            org.apache.commons.lang3;version="[3.3,4)",
+            org.apache.commons.lang3.builder;version="[3.3,4)",
+            org.apache.commons.lang3.tuple;version="[3.3,4)",
+            org.slf4j;version="[1.7,2)"
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>jest</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>jest-common</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>jest</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>jest-common</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </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}:jest</include>
+                                    
<include>${pkgGroupId}:jest-common</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:jest</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    
<artifact>${pkgGroupId}:jest-common</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            
<createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/ea003af6/jest-0.1.6/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/jest-0.1.6/src/main/resources/OSGI-INF/bundle.info 
b/jest-0.1.6/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..84ded28
--- /dev/null
+++ b/jest-0.1.6/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,35 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/struts-core/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/struts-extras/${pkgVersion}\u001B[0m
+        \u001B[33mmvn:${pkgGroupId}/struts-tiles/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    The Apache Struts web framework is a free open-source solution for 
creating Java web applications.
+
+    Web applications differ from conventional websites in that web 
applications can create a dynamic response.
+    Many websites deliver only static pages. A web application can interact 
with databases and business logic engines
+    to customize a response.
+
+    Web applications based on JavaServer Pages sometimes commingle database 
code, page design code, and control flow
+    code. In practice, we find that unless these concerns are separated, 
larger applications become difficult to
+    maintain.
+
+    One way to separate concerns in a software application is to use a 
Model-View-Controller (MVC) architecture. The
+    Model represents the business or database code, the View represents the 
page design code, and the Controller
+    represents the navigational code. The Struts framework is designed to help 
developers create web applications that
+    utilize a MVC architecture.
+
+    The framework provides three key components:
+
+        * A "request" handler provided by the application developer that is 
mapped to a standard URI.
+        * A "response" handler that transfers control to another resource 
which completes the response.
+        * A tag library that helps developers create interactive form-based 
applications with server pages.
+
+    The framework's architecture and tags are buzzword compliant. Struts works 
well with conventional REST applications
+    and with nouveau technologies like SOAP and AJAX.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://struts.apache.org/\u001B[0m

Reply via email to