You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/08/24 13:23:03 UTC

svn commit: r807150 - in /servicemix/smx4/bundles/trunk: javax-mail-1.4.1/ javax-mail-1.4.1/pom.xml pom.xml

Author: ffang
Date: Mon Aug 24 11:23:03 2009
New Revision: 807150

URL: http://svn.apache.org/viewvc?rev=807150&view=rev
Log:
[SMX4-339]Create Javax mail 1.4.1 bundle

Added:
    servicemix/smx4/bundles/trunk/javax-mail-1.4.1/
    servicemix/smx4/bundles/trunk/javax-mail-1.4.1/pom.xml
Modified:
    servicemix/smx4/bundles/trunk/pom.xml

Added: servicemix/smx4/bundles/trunk/javax-mail-1.4.1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/javax-mail-1.4.1/pom.xml?rev=807150&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/javax-mail-1.4.1/pom.xml (added)
+++ servicemix/smx4/bundles/trunk/javax-mail-1.4.1/pom.xml Mon Aug 24 11:23:03 2009
@@ -0,0 +1,120 @@
+<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>3</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.javax.mail</artifactId>
+    <version>1.4.1_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix Bundles: ${pkgArtifactId}-${pkgVersion}</name>
+    <description>
+        This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
+    </description>
+
+    <properties>
+        <pkgGroupId>javax.mail</pkgGroupId>
+        <pkgArtifactId>mail</pkgArtifactId>
+        <pkgVersion>1.4.1</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            javax*;-split-package:=merge-first;version="${pkgVersion}",
+            com.sun.mail*;-split-package:=merge-first
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.activation*;version="[1.1,2.0.0)",
+            javax.net*;-split-package:=merge-first,
+            javax.security*;-split-package:=merge-first
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            META-INF;-split-package:=merge-first,
+            META-INF.services;-split-package:=merge-first
+            META-INF.maven.org.apache.servicemix.bundles*;-split-package:=merge-first
+        </servicemix.osgi.private.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                 <exclusion>
+                     <groupId>javax.activation</groupId>
+                     <artifactId>activation</artifactId>
+                 </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <repositories>
+        <repository>
+            <id>java.net</id>
+            <name>java.net Maven Repository</name>
+            <url>http://download.java.net/maven/1/</url>
+            <layout>legacy</layout>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
+    <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>

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=807150&r1=807149&r2=807150&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Mon Aug 24 11:23:03 2009
@@ -144,6 +144,7 @@
         <module>xpp3-1.1.4c</module>
         <module>xstream-1.3</module>
         -->
+        <module>javax-mail-1.4.1</module>
     </modules>
 
 </project>