<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">

    <id>docs</id>
    <formats>
        <format>zip</format>
    </formats>
    <fileSets>

        <!-- Include the XWork Javadoc in the assembly -->
        <fileSet>
            <directory>../xwork-core/target/apidocs</directory>
            <outputDirectory>docs/xwork-core/apidocs</outputDirectory>
        </fileSet>

        <!-- Include the website in the assembly -->
        <fileSet>
            <directory>../target/site</directory>
            <outputDirectory>docs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../core/target/apidocs</directory>
            <outputDirectory>docs/struts2-core/apidocs</outputDirectory>
        </fileSet>

        <!-- Include the Confluence docs in the assembly -->
        <fileSet>
            <directory>target/docs</directory>
            <outputDirectory>docs/docs</outputDirectory>
        </fileSet>

        <!-- Plugins -->
        <fileSet>
            <directory>../plugins/bean-validation/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-bean-validation/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/cdi/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-cdi-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/config-browser/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-config-browser-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/convention/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-convention-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/dwr/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-dwr-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/embeddedjsp/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-embeddedjsp-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/gxp/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-gxp-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/jasperreports/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-jasperreports-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/javatemplates/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-javatemplates-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/jfreechart/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-jfreechart-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/json/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-json-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/junit/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-junit-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/osgi/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-osgi-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/oval/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-oval-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/pell-multipart/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-pell-multipart-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/plexus/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-plexus-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/portlet/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-portlet-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/portlet-tiles/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-portlet-tiles-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/rest/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-rest-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/sitemesh/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-sitemesh-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/spring/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-spring-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/testng/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-testng-plugin/apidocs</outputDirectory>
        </fileSet>
        <fileSet>
            <directory>../plugins/tiles/target/apidocs</directory>
            <outputDirectory>docs/struts2-plugins/struts2-tiles-plugin/apidocs</outputDirectory>
        </fileSet>

    </fileSets>
</assembly>
