
<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">
    <parent>
        <groupId>uk.org.retep.tools</groupId>
        <artifactId>retepTools</artifactId>
        <version>9.11</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>uk.org.retep</groupId>
    <artifactId>niosax</artifactId>
    <version>9.11</version>
    <packaging>jar</packaging>

    <name>retepTools NioSax</name>

    <description>
        NioSax (pronounced 'Neo-Sax') provides a Java NIO friendly XML parser
        similar in operation to SAX, however unlike normal SAX, with NioSax it is
        possible for the xml source to contain partial content (i.e. only part of
        the XML stream has been received).
    </description>

    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <inherited>false</inherited>

                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <header>Retep NioSax</header>

                            <quiet>true</quiet>
                            <encoding>UTF-8</encoding>

                            <links>
                                <link>http://java.sun.com/javase/6/docs/api/</link>
                                <link>http://reteptools.kenai.com/api/retepTools/snapshot/</link>
                            </links>

<!-- temporarily removed to allow the doclet to be released...
                            <additionalparam>${doclet.params}</additionalparam>
                            
                            <doclet>uk.org.retep.doclets.Doclet</doclet>

                            <docletArtifact>
                                <groupId>uk.org.retep.doclet</groupId>
                                <artifactId>${doclet.artifactId}</artifactId>
                                <version>9.10-SNAPSHOT</version>
                            </docletArtifact>
-->

                        </configuration>
                    </execution>
                </executions>
            </plugin>

        </plugins>
    </build>

    <profiles>

        <!-- The standard profile -->
        <profile>
            <id>defaultProfile</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>

            <properties>
                <!-- use the standard skin for javadocs -->
                <doclet.artifactId>core</doclet.artifactId>
                <doclet.params />
            </properties>

        </profile>

        <!-- kenai profile  -->
        <profile>
            <id>kenai</id>
            <activation>
                <property>
                    <name>some_condition</name>
                    <value>2</value>
                </property>
            </activation>


            <properties>
                <!-- use the kenai skin for javadocs -->
                <doclet.artifactId>kenai</doclet.artifactId>
                <doclet.params>
                    -kenaiproject retepTools
                    -kenaisubproject retepNioSax
		    -projectversion ${project.version}
                </doclet.params>
                <!--
                    -kenaiframe http://reteptools.kenai.com/retepTools.html
-->

            </properties>

        </profile>
    </profiles>

    <dependencies>
        <dependency>
            <groupId>uk.org.retep.tools</groupId>
            <artifactId>collections</artifactId>
            <version>9.11</version>
        </dependency>
        <dependency>
            <groupId>uk.org.retep.tools</groupId>
            <artifactId>encoding</artifactId>
            <version>9.11</version>
        </dependency>
        <dependency>
            <groupId>uk.org.retep.tools</groupId>
            <artifactId>nio</artifactId>
            <version>9.11</version>
        </dependency>

        <dependency>
            <groupId>uk.org.retep</groupId>
            <artifactId>testFramework</artifactId>
            <version>9.11</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
