<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    This library is free software; you can redistribute it and/or modify it under 
    the terms of the GNU Lesser General Public License as published by the Free 
    Software Foundation; either version 2 of the License, or (at your option) any 
    later version.
    
    This library is distributed in the hope that it will be useful, but WITHOUT 
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
    FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 
    details.
    
    You should have received a copy of the GNU Lesser General Public License along 
    with this library; if not, write to the Free Software Foundation, Inc., 
    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.objectweb.fractal.fraclet.java</groupId>
        <artifactId>parent</artifactId>
        <version>3.2.1</version>
    </parent>

    <artifactId>fractal-spoonlet</artifactId>
    <name>Fraclet Spoon processors for Fractal</name>
    <description>
        Spoon generators and templates for generating Fractal Java
        artefacts
    </description>

    <dependencies>
        <dependency>
            <groupId>com.google.collections</groupId>
            <artifactId>google-collections</artifactId>
            <version>0.8</version>
        </dependency>
        <dependency>
            <groupId>org.objectweb.fractal.fraclet.java</groupId>
            <artifactId>fraclet-annotations</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*Template.java</include>
                </includes>
            </resource>
        </resources>
        <plugins><!-- the source code has Java 5 features -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestFile>
                            src/main/resources/META-INF/fractal-spoonlet.mf
                        </manifestFile>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <windowtitle>Fractal spoonlet</windowtitle>
                    <doctitle>Fractal spoonlet</doctitle>
                    <docfilessubdirs>true</docfilessubdirs>
                    <excludedocfilessubdir>.svn</excludedocfilessubdir>
                    <links>
                        <link href="${jdk.url}" offline="true"
                            packagelistLoc="src/main/javadoc/jdoc/jdk-list" />
                        <link href="${fractal.url}" offline="true"
                            packagelistLoc="src/main/javadoc/jdoc/fractal-list" />
                    </links>
                </configuration>
            </plugin>
        </plugins>
    </reporting>
</project>