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/05 00:36:32 UTC

svn commit: r1564563 - in /servicemix/smx4/bundles/trunk: ./ spring-webmvc-portlet-4.0.1.RELEASE/ spring-webmvc-portlet-4.0.1.RELEASE/src/ spring-webmvc-portlet-4.0.1.RELEASE/src/main/ spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/ spring-webm...

Author: jbonofre
Date: Tue Feb  4 23:36:31 2014
New Revision: 1564563

URL: http://svn.apache.org/r1564563
Log:
[SMX4-1670] Create OSGi bundle for spring-webmvc-portlet 4.0.1.RELEASE

Added:
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/pom.xml
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.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=1564563&r1=1564562&r2=1564563&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Tue Feb  4 23:36:31 2014
@@ -79,6 +79,7 @@
         <module>spring-webmvc-3.2.7.RELEASE</module>
         <module>spring-webmvc-4.0.1.RELEASE</module>
         <module>spring-webmvc-portlet-3.2.7.RELEASE</module>
+        <module>spring-webmvc-portlet-4.0.1.RELEASE</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/pom.xml?rev=1564563&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/pom.xml Tue Feb  4 23:36:31 2014
@@ -0,0 +1,158 @@
+<?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-portlet</artifactId>
+    <version>4.0.1.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <properties>
+        <pkgGroupId>org.springframework</pkgGroupId>
+        <pkgArtifactId>spring-webmvc-portlet</pkgArtifactId>
+        <pkgVersion>4.0.1.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.portlet;resolution:=optional,
+            javax.portlet.filter;resolution:=optional,
+            javax.servlet;version="[2.5,4)";resolution:=optional,
+            javax.servlet.http;version="[2.5,4)";resolution:=optional,
+            javax.xml;resolution:=optional,
+            javax.xml.namespace;resolution:=optional,
+            org.apache.commons.fileupload;resolution:=optional,
+            org.apache.commons.fileupload.disk;resolution:=optional,
+            org.apache.commons.fileupload.portlet;resolution:=optional,
+            org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
+            org.springframework.beans;version=${pkgVersion},
+            org.springframework.beans.factory;version=${pkgVersion},
+            org.springframework.beans.factory.config;version=${pkgVersion},
+            org.springframework.beans.factory.support;version=${pkgVersion},
+            org.springframework.beans.factory.xml;version=${pkgVersion},
+            org.springframework.context;version=${pkgVersion};resolution:=optional,
+            org.springframework.context.event;version=${pkgVersion};resolution:=optional,
+            org.springframework.context.i18n;version=${pkgVersion};resolution:=optional,
+            org.springframework.context.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.core;version=${pkgVersion},
+            org.springframework.core.annotation;version=${pkgVersion},
+            org.springframework.core.env;version=${pkgVersion},
+            org.springframework.core.io;version=${pkgVersion},
+            org.springframework.core.io.support;version=${pkgVersion},
+            org.springframework.core.style;version=${pkgVersion},
+            org.springframework.http;version=${pkgVersion};resolution:=optional,
+            org.springframework.http.converter;version=${pkgVersion};resolution:=optional,
+            org.springframework.jndi;version=${pkgVersion};resolution:=optional,
+            org.springframework.stereotype;version=${pkgVersion};resolution:=optional,
+            org.springframework.ui;version=${pkgVersion};resolution:=optional,
+            org.springframework.util;version=${pkgVersion},
+            org.springframework.validation;version=${pkgVersion};resolution:=optional,
+            org.springframework.validation.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.bind;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.bind.annotation;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.bind.annotation.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.bind.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.request;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.multipart;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.multipart.commons;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.servlet;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.servlet.mvc.annotation;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.util;version=${pkgVersion};resolution:=optional,
+            org.xml.sax;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-beans</artifactId>
+                </exclusion>
+                <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>
+                <exclusion>
+                    <groupId>org.springframework</groupId>
+                    <artifactId>spring-webmvc</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>
+                                    <excludes>
+                                        <exclude>**/*</exclude>
+                                    </excludes>
+                                </filter>
+                            </filters>
+                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                            <createDependencyReducedPom>true</createDependencyReducedPom>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/OSGI-INF/bundle.info?rev=1564563&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/OSGI-INF/bundle.info (added)
+++ servicemix/smx4/bundles/trunk/spring-webmvc-portlet-4.0.1.RELEASE/src/main/resources/OSGI-INF/bundle.info Tue Feb  4 23:36:31 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 Struts module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m