7a62220
7a62220
7a62220
    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7a62220
7a62220
    Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
7a62220
7a62220
    The contents of this file are subject to the terms of either the GNU
7a62220
    General Public License Version 2 only ("GPL") or the Common Development
7a62220
    and Distribution License("CDDL") (collectively, the "License").  You
7a62220
    may not use this file except in compliance with the License. You can obtain
7a62220
    a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
7a62220
    or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
7a62220
    language governing permissions and limitations under the License.
7a62220
7a62220
    When distributing the software, include this License Header Notice in each
7a62220
    file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
7a62220
    Sun designates this particular file as subject to the "Classpath" exception
7a62220
    as provided by Sun in the GPL Version 2 section of the License file that
7a62220
    accompanied this code.  If applicable, add the following below the License
7a62220
    Header, with the fields enclosed by brackets [] replaced by your own
7a62220
    identifying information: "Portions Copyrighted [year]
7a62220
    [name of copyright owner]"
7a62220
7a62220
    Contributor(s):
7a62220
7a62220
    If you wish your version of this file to be governed by only the CDDL or
7a62220
    only the GPL Version 2, indicate your decision by adding "[Contributor]
7a62220
    elects to include this software in this distribution under the [CDDL or GPL
7a62220
    Version 2] license."  If you don't indicate a single choice of license, a
7a62220
    recipient has the option to distribute your version of this file under
7a62220
    either the CDDL, the GPL Version 2 or to extend the choice of license to
7a62220
    its licensees as provided above.  However, if you add GPL Version 2 code
7a62220
    and therefore, elected the GPL Version 2 license, then the option applies
7a62220
    only if the new code is made subject to such option by the copyright
7a62220
    holder.
7a62220
-->
7a62220
7a62220
7a62220
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7a62220
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
7a62220
			    http://maven.apache.org/maven-v4_0_0.xsd">
7a62220
    <parent>
7a62220
	<groupId>com.sun.mail</groupId>
7a62220
	<artifactId>all</artifactId>
7a62220
	<version>1.4.3</version>
7a62220
    </parent>
7a62220
    <modelVersion>4.0.0</modelVersion>
7a62220
    <groupId>javax.mail</groupId>
7a62220
    <artifactId>mailapi</artifactId>
7a62220
    <packaging>jar</packaging>
7a62220
    <name>JavaMail API jar</name>
7a62220
7a62220
    <properties>
7a62220
	<mail.packages.export>
7a62220
	    javax.mail.*; version=${mail.spec.version},
7a62220
	    com.sun.mail.util; version=${mail.version},
7a62220
	    com.sun.mail.util.logging; version=${mail.version},
7a62220
	    com.sun.mail.handlers; version=${mail.version}
7a62220
	</mail.packages.export>
7a62220
    </properties>
7a62220
7a62220
    <build>
7a62220
        <plugins>
7a62220
	    <plugin>
7a62220
		<artifactId>maven-dependency-plugin</artifactId>
7a62220
		<executions>
7a62220
		    <execution>
7a62220
			<id>unpack</id>
7a62220
			<phase>process-sources</phase>
7a62220
			<goals>
7a62220
			    <goal>unpack</goal>
7a62220
			</goals>
7a62220
		    </execution>
7a62220
		</executions>
7a62220
		<configuration>
7a62220
		    <artifactItems>
7a62220
			<artifactItem>
7a62220
			    <groupId>javax.mail</groupId>
7a62220
			    <artifactId>mail</artifactId>
7a62220
			    <version>${mail.version}</version>
7a62220
			</artifactItem>
7a62220
		    </artifactItems>
7a62220
		    <outputDirectory>
7a62220
			${project.build.outputDirectory}
7a62220
		    </outputDirectory>
7a62220
		    <includes>
7a62220
			javax/**,
7a62220
			com/sun/mail/util/**,
7a62220
			com/sun/mail/handlers/**,
7a62220
			META-INF/*
7a62220
		    </includes>
7a62220
		    <excludes>
7a62220
			META-INF/javamail.default.*
7a62220
		    </excludes>
7a62220
		</configuration>
7a62220
	    </plugin>
7a62220
	    <plugin>
7a62220
		<artifactId>maven-jar-plugin</artifactId>
7a62220
		<configuration>
7a62220
		    <finalName>${project.artifactId}</finalName>
7a62220
		    <archive>
7a62220
			<manifestFile>
7a62220
			  ${project.build.outputDirectory}/META-INF/MANIFEST.MF
7a62220
			</manifestFile>
7a62220
		    </archive>
7a62220
		</configuration>
7a62220
	    </plugin>
7a62220
        </plugins>
7a62220
    </build>
7a62220
</project>