blob: 9e9e4bd33057162d5a02cf639be9b0f6d7b33b52 [file] [log] [blame]
Carsten Ziegelerb446d432007-08-22 07:17:42 +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-->
Carsten Ziegeler051927a2007-08-24 09:15:34 +000020<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">
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.apache.felix.commons</groupId>
Carsten Ziegeleref09a2c2007-07-24 09:39:40 +000024 <artifactId>commons-build</artifactId>
Carsten Ziegelerd82fcab2007-08-26 16:08:27 +000025 <version>1.0.1-SNAPSHOT</version>
Carsten Ziegeler7baa52a2007-07-24 09:31:07 +000026 <relativePath>../pom</relativePath>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000027 </parent>
28 <properties>
29 <pkgArtifactId>mail</pkgArtifactId>
30 <pkgVersion>1.4</pkgVersion>
Carsten Ziegelerb446d432007-08-22 07:17:42 +000031 <pomVersion>0002</pomVersion>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000032 <osgiVersion>${pkgVersion}.0</osgiVersion>
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000033 <activationVersion>1.1</activationVersion>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000034 </properties>
35 <groupId>org.apache.felix.commons</groupId>
36 <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId>
Carsten Ziegelerb446d432007-08-22 07:17:42 +000037 <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000038 <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>
Carsten Ziegeler7a79dfb2007-07-24 07:08:51 +000047 <scm>
Carsten Ziegeler5cbd4e02007-08-22 07:05:37 +000048 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/commons/mail</connection>
49 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/commons/mail</developerConnection>
50 <url>http://svn.apache.org/viewcvs/felix/trunk/commons/mail</url>
Carsten Ziegeler7a79dfb2007-07-24 07:08:51 +000051 </scm>
52
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000053 <dependencies>
54 <dependency>
55 <groupId>javax.mail</groupId>
56 <artifactId>${pkgArtifactId}</artifactId>
57 <version>${pkgVersion}</version>
58 </dependency>
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000059 <dependency>
60 <groupId>javax.activation</groupId>
61 <artifactId>activation</artifactId>
62 <version>${activationVersion}</version>
63 </dependency>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000064 </dependencies>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000069 <artifactId>maven-bundle-plugin</artifactId>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000070 <extensions>true</extensions>
71 <configuration>
72 <instructions>
73 <Bundle-SymbolicName>
74 ${pom.artifactId}
75 </Bundle-SymbolicName>
76 <Export-Package>
77 javax.mail;version=${pkgVersion},
78 javax.mail.event;version=${pkgVersion},
79 javax.mail.internet;version=${pkgVersion},
80 javax.mail.search;version=${pkgVersion},
81 javax.mail.util;version=${pkgVersion},
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000082 javax.activation;version=${activationVersion},
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000083 com.sun.mail.imap;version=${pkgVersion},
84 com.sun.mail.pop3;version=${pkgVersion},
85 com.sun.mail.smtp;version=${pkgVersion}
86 </Export-Package>
87 <Private-Package>
88 com.sun.mail.handlers, com.sun.mail.iap,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000089 com.sun.mail.imap.protocol, com.sun.mail.util,
90 com.sun.activation.registries,
91 com.sun.activation.viewers
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000092 </Private-Package>
93 <Include-Resource>
Carsten Ziegeler29faca32007-07-25 10:09:10 +000094 src/main/resources,
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000095 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/LICENSE.txt,
96 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.charset.map,
97 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.address.map,
98 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.providers,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000099 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/mailcap,
100 @activation-${activationVersion}.jar!/META-INF/LICENSE.txt,
101 @activation-${activationVersion}.jar!/META-INF/mailcap.default,
102 @activation-${activationVersion}.jar!/META-INF/mimetypes.default
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +0000103 </Include-Resource>
104 </instructions>
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
Carsten Ziegelerf95bfc42007-08-22 07:05:25 +0000109</project>