servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulli...@apache.org
Subject svn commit: r1086161 - in /servicemix/smx4/bundles/trunk: struts2-2.2.1.1/ struts2-xwork-2.2.1.1/
Date Mon, 28 Mar 2011 09:09:47 GMT
Author: cmoulliard
Date: Mon Mar 28 09:09:47 2011
New Revision: 1086161

URL: http://svn.apache.org/viewvc?rev=1086161&view=rev
Log:
SM-2065: Add two new bundles for Struts2 project: struts2-core and struts2-xwork

Added:
    servicemix/smx4/bundles/trunk/struts2-2.2.1.1/
    servicemix/smx4/bundles/trunk/struts2-2.2.1.1/org.apache.servicemix.bundles.struts-core.iml
    servicemix/smx4/bundles/trunk/struts2-2.2.1.1/pom.xml
    servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/
    servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/org.apache.servicemix.bundles.struts.xwork.iml
    servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/pom.xml

Added: servicemix/smx4/bundles/trunk/struts2-2.2.1.1/org.apache.servicemix.bundles.struts-core.iml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/struts2-2.2.1.1/org.apache.servicemix.bundles.struts-core.iml?rev=1086161&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/struts2-2.2.1.1/org.apache.servicemix.bundles.struts-core.iml
(added)
+++ servicemix/smx4/bundles/trunk/struts2-2.2.1.1/org.apache.servicemix.bundles.struts-core.iml
Mon Mar 28 09:09:47 2011
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE"
version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_4" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false"
/>
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Maven: org.apache.struts:struts2-core:2.2.1.1" level="project"
/>
+    <orderEntry type="library" name="Maven: org.apache.struts.xwork:xwork-core:2.2.1.1"
level="project" />
+    <orderEntry type="library" name="Maven: ognl:ognl:3.0" level="project" />
+    <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.16" level="project"
/>
+    <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.2.1"
level="project" />
+    <orderEntry type="library" name="Maven: commons-io:commons-io:1.3.2" level="project"
/>
+  </component>
+</module>
+

Added: servicemix/smx4/bundles/trunk/struts2-2.2.1.1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/struts2-2.2.1.1/pom.xml?rev=1086161&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/struts2-2.2.1.1/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/struts2-2.2.1.1/pom.xml Mon Mar 28 09:09:47 2011
@@ -0,0 +1,93 @@
+<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/maven-v4_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>6-SNAPSHOT</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.struts-core</artifactId>
+    <version>2.2.1.1_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
+
+    <properties>
+        <pkgGroupId>org.apache.struts</pkgGroupId>
+        <pkgArtifactId>struts2-core</pkgArtifactId>
+        <pkgVersion>2.2.1.1</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.struts*;version=${pkgVersion}
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !org.apache.struts.*,
+            org.apache.commons.lang.xwork*;version=${pkgVersion},
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <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}:${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/struts2-xwork-2.2.1.1/org.apache.servicemix.bundles.struts.xwork.iml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/org.apache.servicemix.bundles.struts.xwork.iml?rev=1086161&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/org.apache.servicemix.bundles.struts.xwork.iml
(added)
+++ servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/org.apache.servicemix.bundles.struts.xwork.iml
Mon Mar 28 09:09:47 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE"
version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_4" inherit-compiler-output="false">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Maven: org.apache.struts.xwork:xwork-core:2.2.1.1"
level="project" />
+    <orderEntry type="library" name="Maven: ognl:ognl:3.0" level="project" />
+  </component>
+</module>
+

Added: servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/pom.xml?rev=1086161&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/struts2-xwork-2.2.1.1/pom.xml Mon Mar 28 09:09:47 2011
@@ -0,0 +1,97 @@
+<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/maven-v4_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>4</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.struts.xwork</artifactId>
+    <version>2.2.1.1_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+    <description>
+        This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
+    </description>
+
+    <properties>
+        <pkgGroupId>org.apache.struts.xwork</pkgGroupId>
+        <pkgArtifactId>xwork-core</pkgArtifactId>
+        <pkgVersion>2.2.1.1</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.commons.lang.xwork*;version=${pkgVersion},
+            com.opensymphony.xwork2*;version=${pkgVersion},
+            org.objectweb.asm.xwork*;version=${pkgVersion}
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            !org.apache.commons.lang.xwork*,
+            !com.opensymphony.xwork2*,
+            !org.objectweb.asm.xwork*,
+            *
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <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}:${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>



Mime
View raw message