blob: 2bc1e2881f975e2306e5c702ff23c8b653cecee2 [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>
Carsten Ziegelerd524f6f2008-01-16 07:28:57 +000023 <groupId>org.apache.felix</groupId>
24 <artifactId>felix</artifactId>
25 <version>1.0.2</version>
26 <relativePath>../../pom</relativePath>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000027 </parent>
Carsten Ziegelerd524f6f2008-01-16 07:28:57 +000028
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000029 <properties>
30 <pkgArtifactId>mail</pkgArtifactId>
31 <pkgVersion>1.4</pkgVersion>
Carsten Ziegelerb446d432007-08-22 07:17:42 +000032 <pomVersion>0002</pomVersion>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000033 <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>
Carsten Ziegelerb446d432007-08-22 07:17:42 +000038 <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000039 <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>
Carsten Ziegeler7a79dfb2007-07-24 07:08:51 +000048 <scm>
Carsten Ziegeler5cbd4e02007-08-22 07:05:37 +000049 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/commons/mail</connection>
50 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/commons/mail</developerConnection>
51 <url>http://svn.apache.org/viewcvs/felix/trunk/commons/mail</url>
Carsten Ziegeler7a79dfb2007-07-24 07:08:51 +000052 </scm>
53
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000054 <dependencies>
55 <dependency>
56 <groupId>javax.mail</groupId>
57 <artifactId>${pkgArtifactId}</artifactId>
58 <version>${pkgVersion}</version>
59 </dependency>
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000060 <dependency>
61 <groupId>javax.activation</groupId>
62 <artifactId>activation</artifactId>
63 <version>${activationVersion}</version>
64 </dependency>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000065 </dependencies>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000070 <artifactId>maven-bundle-plugin</artifactId>
Carsten Ziegeler2d336e02008-01-22 07:33:29 +000071 <version>1.2.0</version>
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000072 <extensions>true</extensions>
73 <configuration>
74 <instructions>
75 <Bundle-SymbolicName>
76 ${pom.artifactId}
77 </Bundle-SymbolicName>
78 <Export-Package>
79 javax.mail;version=${pkgVersion},
80 javax.mail.event;version=${pkgVersion},
81 javax.mail.internet;version=${pkgVersion},
82 javax.mail.search;version=${pkgVersion},
83 javax.mail.util;version=${pkgVersion},
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000084 javax.activation;version=${activationVersion},
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000085 com.sun.mail.imap;version=${pkgVersion},
86 com.sun.mail.pop3;version=${pkgVersion},
87 com.sun.mail.smtp;version=${pkgVersion}
88 </Export-Package>
89 <Private-Package>
90 com.sun.mail.handlers, com.sun.mail.iap,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +000091 com.sun.mail.imap.protocol, com.sun.mail.util,
92 com.sun.activation.registries,
93 com.sun.activation.viewers
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000094 </Private-Package>
95 <Include-Resource>
Carsten Ziegeler29faca32007-07-25 10:09:10 +000096 src/main/resources,
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +000097 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/LICENSE.txt,
98 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.charset.map,
99 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.address.map,
100 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/javamail.default.providers,
Carsten Ziegeleraafb4102007-07-04 17:03:38 +0000101 @${pkgArtifactId}-${pkgVersion}.jar!/META-INF/mailcap,
102 @activation-${activationVersion}.jar!/META-INF/LICENSE.txt,
103 @activation-${activationVersion}.jar!/META-INF/mailcap.default,
104 @activation-${activationVersion}.jar!/META-INF/mimetypes.default
Michael E. Rodriguezecfe6452007-03-14 04:45:15 +0000105 </Include-Resource>
106 </instructions>
107 </configuration>
108 </plugin>
109 </plugins>
110 </build>
Carsten Ziegelerf95bfc42007-08-22 07:05:25 +0000111</project>