<?xml version="1.0" encoding="iso-8859-1"?>
<!--

    Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<assembly>
    <id>samples</id>
    <formats>
	<format>zip</format>
    </formats>
    <baseDirectory>jakartamail-samples</baseDirectory>
    <fileSets>
	<fileSet>
	    <directory>../demo/src/main/java</directory>
	    <outputDirectory>/</outputDirectory>
	    <excludes>
		<exclude>internal/**</exclude>
	    </excludes>
	</fileSet>
	<fileSet>
	    <directory>../client/src/main/java</directory>
	    <outputDirectory>client</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../webapp/src/main/java</directory>
	    <outputDirectory>webapp/src/classes</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../webapp/src/main/webapp</directory>
	    <outputDirectory>webapp/src/docroot</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../webapp/</directory>
	    <outputDirectory>webapp</outputDirectory>
	    <includes>
		<include>build.*</include>
		<include>webapp.README.txt</include>
	    </includes>
	</fileSet>
	<fileSet>
	    <directory>../taglib/src/main/java</directory>
	    <outputDirectory>webapp/src/taglib</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../taglib/src/main/resources</directory>
	    <outputDirectory>webapp/src/taglib</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../outlook/src/main/java</directory>
	    <outputDirectory>outlook</outputDirectory>
	</fileSet>
	<fileSet>
	    <directory>../logging/src/main/java</directory>
	    <outputDirectory>logging</outputDirectory>
	</fileSet>
    </fileSets>
    <dependencySets>
	<!-- include sources from the demo modules -->
	<!--
	<dependencySet>
	    <includes>
		<include>com.sun.mail:demo:jar:sources</include>
	    </includes>
	    <unpack>true</unpack>
	</dependencySet>
	-->
    </dependencySets>
</assembly>
