1<?xml version="1.0" encoding="iso-8859-1"?>
2<!--
3
4    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5
6    Copyright (c) 1997-2018 Oracle and/or its affiliates. All rights reserved.
7
8    The contents of this file are subject to the terms of either the GNU
9    General Public License Version 2 only ("GPL") or the Common Development
10    and Distribution License("CDDL") (collectively, the "License").  You
11    may not use this file except in compliance with the License.  You can
12    obtain a copy of the License at
13    https://oss.oracle.com/licenses/CDDL+GPL-1.1
14    or LICENSE.txt.  See the License for the specific
15    language governing permissions and limitations under the License.
16
17    When distributing the software, include this License Header Notice in each
18    file and include the License file at LICENSE.txt.
19
20    GPL Classpath Exception:
21    Oracle designates this particular file as subject to the "Classpath"
22    exception as provided by Oracle in the GPL Version 2 section of the License
23    file that accompanied this code.
24
25    Modifications:
26    If applicable, add the following below the License Header, with the fields
27    enclosed by brackets [] replaced by your own identifying information:
28    "Portions Copyright [year] [name of copyright owner]"
29
30    Contributor(s):
31    If you wish your version of this file to be governed by only the CDDL or
32    only the GPL Version 2, indicate your decision by adding "[Contributor]
33    elects to include this software in this distribution under the [CDDL or GPL
34    Version 2] license."  If you don't indicate a single choice of license, a
35    recipient has the option to distribute your version of this file under
36    either the CDDL, the GPL Version 2 or to extend the choice of license to
37    its licensees as provided above.  However, if you add GPL Version 2 code
38    and therefore, elected the GPL Version 2 license, then the option applies
39    only if the new code is made subject to such option by the copyright
40    holder.
41
42-->
43
44<project xmlns="http://maven.apache.org/POM/4.0.0"
45	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
46	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
47			    http://maven.apache.org/maven-v4_0_0.xsd">
48    <parent>
49	<groupId>com.sun.mail</groupId>
50	<artifactId>all</artifactId>
51	<version>1.6.2</version>
52    </parent>
53    <modelVersion>4.0.0</modelVersion>
54    <groupId>com.sun.mail</groupId>
55    <artifactId>android</artifactId>
56    <packaging>pom</packaging>
57    <name>Android support for JavaMail</name>
58
59    <modules>
60	<module>activation</module>
61	<module>mail</module>
62    </modules>
63
64    <properties>
65	<!--
66	    The minimum required Android API version.
67	    This corresponds to Android KitKat.
68	    https://en.wikipedia.org/wiki/Android_version_history
69	    Older versions may also work but this seems old enough.
70	    See the Maven repository for exact versions available:
71	    https://repo1.maven.org/maven2/net/sf/androidscents/signature/
72	    This only checks API signatures; it doesn't imply that it
73	    works correctly in a runtime of that version.
74	-->
75	<android.api.level>19</android.api.level>
76	<android.version>4.4_r1</android.version>
77    </properties>
78
79    <build>
80	<plugins>
81	    <plugin>
82		<groupId>org.codehaus.mojo</groupId>
83		<artifactId>animal-sniffer-maven-plugin</artifactId>
84		<executions>
85		    <execution>
86			<id>check-sig</id>
87			<phase>package</phase>
88			<goals>
89			    <goal>check</goal>
90			</goals>
91		    </execution>
92		</executions>
93		<configuration>
94		    <signature>
95			<groupId>net.sf.androidscents.signature</groupId>
96			<artifactId>android-api-level-${android.api.level}</artifactId>
97			<version>${android.version}</version>
98		    </signature>
99		</configuration>
100	    </plugin>
101	</plugins>
102
103	<pluginManagement>
104	    <plugins>
105		<plugin>
106		    <groupId>org.codehaus.mojo</groupId>
107		    <artifactId>animal-sniffer-maven-plugin</artifactId>
108		    <version>1.16</version>
109		</plugin>
110	    </plugins>
111	</pluginManagement>
112    </build>
113
114</project>
115