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 2014/02/27 20:08:50 UTC

svn commit: r1572699 - in /servicemix/smx4/bundles/trunk: ./ spring-webmvc-4.0.2.RELEASE/ spring-webmvc-4.0.2.RELEASE/src/ spring-webmvc-4.0.2.RELEASE/src/main/ spring-webmvc-4.0.2.RELEASE/src/main/resources/ spring-webmvc-4.0.2.RELEASE/src/main/resour...

Author: jbonofre
Date: Thu Feb 27 19:08:49 2014
New Revision: 1572699

URL: http://svn.apache.org/r1572699
Log:
[SMX4-1698] Create OSGi bundle for spring-webmvc 4.0.2.RELEASE

Added:
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/pom.xml
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/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=1572699&r1=1572698&r2=1572699&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Thu Feb 27 19:08:49 2014
@@ -73,6 +73,7 @@
         <module>spring-test-4.0.2.RELEASE</module>
         <module>spring-tx-4.0.2.RELEASE</module>
         <module>spring-web-4.0.2.RELEASE</module>
+        <module>spring-webmvc-4.0.2.RELEASE</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/pom.xml?rev=1572699&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/pom.xml Thu Feb 27 19:08:49 2014
@@ -0,0 +1,162 @@
+<?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>11</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.spring-webmvc</artifactId>
+    <version>4.0.2.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <properties>
+        <pkgGroupId>org.springframework</pkgGroupId>
+        <pkgArtifactId>spring-webmvc</pkgArtifactId>
+        <pkgVersion>4.0.2.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            com.sun.syndication.*;version="[1.0.0, 2.0.0)";resolution:=optional,
+            com.lowagie.text.*;version="[2.0.8, 3.0.0)";resolution:=optional,
+            freemarker.*;version="[2.3.14, 3.0.0)";resolution:=optional,
+            javax.activation.*;resolution:=optional,
+            javax.el.*;version="[1.0.0, 3.0.0)";resolution:=optional,
+            javax.sql.*;resolution:=optional,
+            javax.servlet;version="[2.4.0, 4.0.0)",
+            javax.servlet.http;version="[2.4.0, 4.0.0)",
+            javax.servlet.jsp.*;version="[2.0.0, 3.0.0)";resolution:=optional,
+            javax.xml.*;resolution:=optional,
+            jxl.*;version="[2.6.6, 3.0.0)";resolution:=optional,
+            net.sf.jasperreports.*;version="[2.0.5, 4.0.0)";resolution:=optional,
+            org.aopalliance.aop;resolution:=optional,
+            org.aopalliance.intercept;resolution:=optional,
+            org.apache.commons.logging.*;version="[1.1.1, 2.0.0)";resolution:=optional,
+            org.apache.poi.*;version="[3.0.2.FINAL, 4.0.0)";resolution:=optional,
+            org.apache.tiles.*;version="[2.1.2, 3.0.0)";resolution:=optional,
+            org.apache.velocity.*;version="[1.5.0, 2.0.0)";resolution:=optional,
+            org.codehaus.jackson.*;version="[1.3.0, 2.0.0)";resolution:=optional, 
+            com.fasterxml.jackson.*;version="[2.0.0, 3.0.0)";resolution:=optional,
+            org.springframework.aop.framework;version=${pkgVersion};resolution:=optional,
+            org.springframework.aop.target;version=${pkgVersion};resolution:=optional,
+            org.springframework.beans.*;version="${pkgVersion}",
+            org.springframework.context.*;version="${pkgVersion}",
+            org.springframework.core.*;version="${pkgVersion}",
+            org.springframework.cglib*;version=${pkgVersion};resolution:=optional,
+            org.springframework.expression.*;version="${pkgVersion}",
+            org.springframework.format.*;version="${pkgVersion}",
+            org.springframework.http.*;version="${pkgVersion}",
+            org.springframework.oxm.*;version="${pkgVersion}";resolution:=optional,
+            org.springframework.objenesis;version=${pkgVersion};resolution:=optional,
+            org.springframework.stereotype;version="${pkgVersion}",
+            org.springframework.ui.*;version="${pkgVersion}",
+            org.springframework.util.*;version="${pkgVersion}",
+            org.springframework.validation.*;version="${pkgVersion}", 
+            org.springframework.web.*;version="${pkgVersion}",
+            org.xml.sax.*;resolution:=optional,
+            org.w3c.dom.*;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-aop</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-beans</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-expression</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-context</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-context-support</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>**/*.properties</include>
+                                        <include>**/*.ftl</include>
+                                        <include>**/*.vm</include>
+                                        <include>**/*.gif</include>
+                                        <include>**/*.xsd</include>
+                                        <include>META-INF/spring.*</include>
+                                    </includes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info?rev=1572699&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/spring-webmvc-4.0.2.RELEASE/src/main/resources/OSGI-INF/bundle.info Thu Feb 27 19:08:49 2014
@@ -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 Web MVC module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m