blob: 136c7e8cc43432a74d84bf338acf86b0fb386f0c [file] [log] [blame]
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +00001<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20<project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.apache.felix.commons</groupId>
26 <artifactId>build</artifactId>
27 <version>0.9.0-incubator-SNAPSHOT</version>
28 </parent>
29 <properties>
30 <pkgArtifactId>mail</pkgArtifactId>
31 <pkgVersion>1.4</pkgVersion>
32 <pomVersion>0001</pomVersion>
33 <osgiVersion>${pkgVersion}.0</osgiVersion>
34 </properties>
35 <groupId>org.apache.felix.commons</groupId>
36 <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
37 <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
38 <packaging>bundle</packaging>
39 <name>${pkgArtifactId} bundle</name>
40 <description>
41 This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
42 </description>
43 <organization>
44 <name>Apache Felix Project</name>
Karl Pauls5a105ac2007-06-18 20:54:19 +000045 <url>http://felix.apache.org/</url>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000046 </organization>
47 <dependencies>
48 <dependency>
49 <groupId>javax.mail</groupId>
50 <artifactId>${pkgArtifactId}</artifactId>
51 <version>${pkgVersion}</version>
52 </dependency>
53 </dependencies>
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000058 <artifactId>maven-bundle-plugin</artifactId>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000059 <extensions>true</extensions>
60 <configuration>
61 <instructions>
62 <Bundle-SymbolicName>
63 ${pom.artifactId}
64 </Bundle-SymbolicName>
65 <Export-Package>
66 javax.mail;version=${pkgVersion},
67 javax.mail.event;version=${pkgVersion},
68 javax.mail.internet;version=${pkgVersion},
69 javax.mail.search;version=${pkgVersion},
70 javax.mail.util;version=${pkgVersion},
71 com.sun.mail.imap;version=${pkgVersion},
72 com.sun.mail.pop3;version=${pkgVersion},
73 com.sun.mail.smtp;version=${pkgVersion}
74 </Export-Package>
75 <Private-Package>
76 com.sun.mail.handlers, com.sun.mail.iap,
77 com.sun.mail.imap.protocol, com.sun.mail.util
78 </Private-Package>
79 <Include-Resource>
80 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/LICENSE.txt,
81 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.charset.map,
82 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.address.map,
83 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.providers,
84 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/mailcap
85 </Include-Resource>
86 </instructions>
87 </configuration>
88 </plugin>
89 </plugins>
90 </build>
91</project>