You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by er...@apache.org on 2007/03/14 05:45:16 UTC

svn commit: r518009 - in /incubator/felix/trunk/commons/mail: ./ pom.xml

Author: erodriguez
Date: Tue Mar 13 21:45:15 2007
New Revision: 518009

URL: http://svn.apache.org/viewvc?view=rev&rev=518009
Log:
Added mail to Felix Commons to resolve FELIX-232 (Create an OSGi bundle for mail).

Added:
    incubator/felix/trunk/commons/mail/   (with props)
    incubator/felix/trunk/commons/mail/pom.xml   (with props)

Propchange: incubator/felix/trunk/commons/mail/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Mar 13 21:45:15 2007
@@ -0,0 +1,16 @@
+bin
+build
+target
+classes
+.classpath
+.project
+.settings
+.wtpmodules
+.deployables
+*.iml
+*.ipr
+*.iws
+*.log
+lib
+bundle
+dist

Added: incubator/felix/trunk/commons/mail/pom.xml
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/commons/mail/pom.xml?view=auto&rev=518009
==============================================================================
--- incubator/felix/trunk/commons/mail/pom.xml (added)
+++ incubator/felix/trunk/commons/mail/pom.xml Tue Mar 13 21:45:15 2007
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+    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. 
+-->
+<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">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.felix.commons</groupId>
+        <artifactId>build</artifactId>
+        <version>0.9.0-incubator-SNAPSHOT</version>
+    </parent>
+    <properties>
+        <pkgArtifactId>mail</pkgArtifactId>
+        <pkgVersion>1.4</pkgVersion>
+        <pomVersion>0001</pomVersion>
+        <osgiVersion>${pkgVersion}.0</osgiVersion>
+    </properties>
+    <groupId>org.apache.felix.commons</groupId>
+    <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
+    <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>${pkgArtifactId} bundle</name>
+    <description>
+        This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
+    </description>
+    <organization>
+        <name>Apache Felix Project</name>
+        <url>http://incubator.apache.org/felix/</url>
+    </organization>
+    <dependencies>
+        <dependency>
+            <groupId>javax.mail</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>
+                            ${pom.artifactId}
+                        </Bundle-SymbolicName>
+                        <Export-Package>
+                            javax.mail;version=${pkgVersion},
+                            javax.mail.event;version=${pkgVersion},
+                            javax.mail.internet;version=${pkgVersion},
+                            javax.mail.search;version=${pkgVersion},
+                            javax.mail.util;version=${pkgVersion},
+                            com.sun.mail.imap;version=${pkgVersion},
+                            com.sun.mail.pop3;version=${pkgVersion},
+                            com.sun.mail.smtp;version=${pkgVersion}
+                        </Export-Package>
+                        <Private-Package>
+                            com.sun.mail.handlers, com.sun.mail.iap,
+                            com.sun.mail.imap.protocol, com.sun.mail.util
+                        </Private-Package>
+                        <Include-Resource>
+                            @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/LICENSE.txt,
+                            @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.charset.map,
+                            @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.address.map,
+                            @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.providers,
+                            @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/mailcap
+                        </Include-Resource>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: incubator/felix/trunk/commons/mail/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native