servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1572859 - in /servicemix/smx4/bundles/trunk: ./ spring-struts-3.2.8.RELEASE/ spring-struts-3.2.8.RELEASE/src/ spring-struts-3.2.8.RELEASE/src/main/ spring-struts-3.2.8.RELEASE/src/main/resources/ spring-struts-3.2.8.RELEASE/src/main/resour...
Date Fri, 28 Feb 2014 07:48:30 GMT
Author: jbonofre
Date: Fri Feb 28 07:48:29 2014
New Revision: 1572859

URL: http://svn.apache.org/r1572859
Log:
[SMX4-1703] Create OSGi bundle for spring-struts 3.2.8.RELEASE

Added:
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/pom.xml
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/resources/
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/spring-struts-3.2.8.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=1572859&r1=1572858&r2=1572859&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Fri Feb 28 07:48:29 2014
@@ -88,6 +88,7 @@
         <module>spring-jms-3.2.8.RELEASE</module>
         <module>spring-orm-3.2.8.RELEASE</module>
         <module>spring-oxm-3.2.8.RELEASE</module>
+        <module>spring-struts-3.2.8.RELEASE</module>
     </modules>
 
 </project>

Added: servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/pom.xml?rev=1572859&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/pom.xml Fri Feb 28 07:48:29
2014
@@ -0,0 +1,141 @@
+<?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-struts</artifactId>
+    <version>3.2.8.RELEASE_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+
+    <properties>
+        <pkgGroupId>org.springframework</pkgGroupId>
+        <pkgArtifactId>spring-struts</pkgArtifactId>
+        <pkgVersion>3.2.8.RELEASE</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.springframework
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.servlet;version="[2.5,4)";resolution:=optional,
+            javax.servlet.http;version="[2.5,4)";resolution:=optional,
+            org.apache.commons.beanutils,
+            org.apache.commons.logging;version="[1.1.1,2)";resolution:=optional,
+            org.apache.struts.action;version="[1.2,3)";resolution:=optional,
+            org.apache.struts.actions;version="[1.2,3)";resolution:=optional,
+            org.apache.struts.config;version="[1.2,3)";resolution:=optional,
+            org.apache.struts.tiles;version="[1.2,3)";resolution:=optional,
+            org.apache.struts.tiles.xmlDefinition;version="[1.2,3)";resolution:=optional,
+            org.apache.struts.util;version="[1.2,3)";resolution:=optional,
+            org.springframework.beans;version=${pkgVersion},
+            org.springframework.beans.factory;version=${pkgVersion},
+            org.springframework.beans.factory.config;version=${pkgVersion},
+            org.springframework.context;version=${pkgVersion},
+            org.springframework.context.support;version=${pkgVersion},
+            org.springframework.util;version=${pkgVersion},
+            org.springframework.validation;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.context.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.servlet.support;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.servlet.view;version=${pkgVersion};resolution:=optional,
+            org.springframework.web.util;version=${pkgVersion};resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>commons-beanutils</groupId>
+                    <artifactId>commons-beanutils</artifactId>
+                </exclusion>
+                <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>
+                <exclusion>
+                    <groupId>struts</groupId>
+                    <artifactId>struts</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-struts-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info?rev=1572859&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info
(added)
+++ servicemix/smx4/bundles/trunk/spring-struts-3.2.8.RELEASE/src/main/resources/OSGI-INF/bundle.info
Fri Feb 28 07:48:29 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 Struts module.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://www.springsource.org/spring-framework\u001B[0m



Mime
View raw message