Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 1 | <?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> |
Carsten Ziegeler | ef09a2c | 2007-07-24 09:39:40 +0000 | [diff] [blame] | 26 | <artifactId>commons-build</artifactId> |
Carsten Ziegeler | c845fe7 | 2007-07-24 06:50:12 +0000 | [diff] [blame] | 27 | <version>1.0.0-SNAPSHOT</version> |
Carsten Ziegeler | 7baa52a | 2007-07-24 09:31:07 +0000 | [diff] [blame] | 28 | <relativePath>../pom</relativePath> |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 29 | </parent> |
| 30 | <properties> |
| 31 | <pkgArtifactId>mail</pkgArtifactId> |
| 32 | <pkgVersion>1.4</pkgVersion> |
| 33 | <pomVersion>0001</pomVersion> |
| 34 | <osgiVersion>${pkgVersion}.0</osgiVersion> |
Carsten Ziegeler | aafb410 | 2007-07-04 17:03:38 +0000 | [diff] [blame] | 35 | <activationVersion>1.1</activationVersion> |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 36 | </properties> |
| 37 | <groupId>org.apache.felix.commons</groupId> |
| 38 | <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId> |
| 39 | <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version> |
| 40 | <packaging>bundle</packaging> |
| 41 | <name>${pkgArtifactId} bundle</name> |
| 42 | <description> |
| 43 | This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar. |
| 44 | </description> |
| 45 | <organization> |
| 46 | <name>Apache Felix Project</name> |
Karl Pauls | 5a105ac | 2007-06-18 20:54:19 +0000 | [diff] [blame] | 47 | <url>http://felix.apache.org/</url> |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 48 | </organization> |
Carsten Ziegeler | 7a79dfb | 2007-07-24 07:08:51 +0000 | [diff] [blame] | 49 | <scm> |
| 50 | <connection>scm:svn:http://svn.apache.org/repos/felix/trunk/commons/mail</connection> |
| 51 | <developerConnection>scm:svn:https://svn.apache.org/repos/felix/trunk/commons/mail</developerConnection> |
| 52 | <url>http://svn.apache.org/viewcvs/felix/trunk/commons/mail</url> |
| 53 | </scm> |
| 54 | |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 55 | <dependencies> |
| 56 | <dependency> |
| 57 | <groupId>javax.mail</groupId> |
| 58 | <artifactId>${pkgArtifactId}</artifactId> |
| 59 | <version>${pkgVersion}</version> |
| 60 | </dependency> |
Carsten Ziegeler | aafb410 | 2007-07-04 17:03:38 +0000 | [diff] [blame] | 61 | <dependency> |
| 62 | <groupId>javax.activation</groupId> |
| 63 | <artifactId>activation</artifactId> |
| 64 | <version>${activationVersion}</version> |
| 65 | </dependency> |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 66 | </dependencies> |
| 67 | <build> |
| 68 | <plugins> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 71 | <artifactId>maven-bundle-plugin</artifactId> |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 72 | <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 Ziegeler | aafb410 | 2007-07-04 17:03:38 +0000 | [diff] [blame] | 84 | javax.activation;version=${activationVersion}, |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 85 | 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 Ziegeler | aafb410 | 2007-07-04 17:03:38 +0000 | [diff] [blame] | 91 | com.sun.mail.imap.protocol, com.sun.mail.util, |
| 92 | com.sun.activation.registries, |
| 93 | com.sun.activation.viewers |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 94 | </Private-Package> |
| 95 | <Include-Resource> |
Carsten Ziegeler | 29faca3 | 2007-07-25 10:09:10 +0000 | [diff] [blame^] | 96 | src/main/resources, |
Michael E. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 97 | @${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 Ziegeler | aafb410 | 2007-07-04 17:03:38 +0000 | [diff] [blame] | 101 | @${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. Rodriguez | ecfe645 | 2007-03-14 04:45:15 +0000 | [diff] [blame] | 105 | </Include-Resource> |
| 106 | </instructions> |
| 107 | </configuration> |
| 108 | </plugin> |
| 109 | </plugins> |
| 110 | </build> |
| 111 | </project> |