blob: 06a0411a652c89ce964e09e71e06f0e9f701df4c [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>
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000034 <activationVersion>1.1</activationVersion>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000035 </properties>
36 <groupId>org.apache.felix.commons</groupId>
37 <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
38 <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
39 <packaging>bundle</packaging>
40 <name>${pkgArtifactId} bundle</name>
41 <description>
42 This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
43 </description>
44 <organization>
45 <name>Apache Felix Project</name>
Karl Pauls5a105ac2007-06-18 20:54:19 +000046 <url>http://felix.apache.org/</url>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000047 </organization>
48 <dependencies>
49 <dependency>
50 <groupId>javax.mail</groupId>
51 <artifactId>${pkgArtifactId}</artifactId>
52 <version>${pkgVersion}</version>
53 </dependency>
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000054 <dependency>
55 <groupId>javax.activation</groupId>
56 <artifactId>activation</artifactId>
57 <version>${activationVersion}</version>
58 </dependency>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000059 </dependencies>
60 <build>
61 <plugins>
62 <plugin>
63 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000064 <artifactId>maven-bundle-plugin</artifactId>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000065 <extensions>true</extensions>
66 <configuration>
67 <instructions>
68 <Bundle-SymbolicName>
69 ${pom.artifactId}
70 </Bundle-SymbolicName>
71 <Export-Package>
72 javax.mail;version=${pkgVersion},
73 javax.mail.event;version=${pkgVersion},
74 javax.mail.internet;version=${pkgVersion},
75 javax.mail.search;version=${pkgVersion},
76 javax.mail.util;version=${pkgVersion},
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000077 javax.activation;version=${activationVersion},
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000078 com.sun.mail.imap;version=${pkgVersion},
79 com.sun.mail.pop3;version=${pkgVersion},
80 com.sun.mail.smtp;version=${pkgVersion}
81 </Export-Package>
82 <Private-Package>
83 com.sun.mail.handlers, com.sun.mail.iap,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000084 com.sun.mail.imap.protocol, com.sun.mail.util,
85 com.sun.activation.registries,
86 com.sun.activation.viewers
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000087 </Private-Package>
88 <Include-Resource>
89 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/LICENSE.txt,
90 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.charset.map,
91 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.address.map,
92 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.providers,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000093 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/mailcap,
94 @activation-${activationVersion}.jar!/META-INF/LICENSE.txt,
95 @activation-${activationVersion}.jar!/META-INF/mailcap.default,
96 @activation-${activationVersion}.jar!/META-INF/mimetypes.default
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000097 </Include-Resource>
98 </instructions>
99 </configuration>
100 </plugin>
101 </plugins>
102 </build>
103</project>