<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2010-2011 Craig S. Dickson (http://craigsdickson.com)

    Licensed 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.

-->
<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>com.squeakysand.devtools</groupId>
        <artifactId>uberpom-java-jar-bnd</artifactId>
        <version>2</version>
        <relativePath />
    </parent>

    <groupId>com.squeakysand</groupId>
    <artifactId>squeakysand-jcr-taglib</artifactId>
    <version>0.1.0</version>

    <name>${project.groupId} - ${project.artifactId}</name>

    <description>
        A JSP taglib for working with JCR resources in a Servlet environment.
    </description>

    <url>${projects.http.url}/com.squeakysand/squeakysand-jcr-aggregator/${project.version}/squeakysand-jcr-taglib/</url>

    <distributionManagement>
        <site>
            <id>squeakysand-projects-website</id>
            <url>${site.deploy.url}/com.squeakysand/squeakysand-jcr-aggregator/${project.version}/squeakysand-jcr-taglib</url>
        </site>
    </distributionManagement>

    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>squeakysand-commons</artifactId>
            <version>0.2.0</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>squeakysand-jcr</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>squeakysand-jsp</artifactId>
            <version>0.2.0</version>
        </dependency>
        <dependency>
            <groupId>javax.jcr</groupId>
            <artifactId>jcr</artifactId>
            <version>2.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet.jsp</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.jackrabbit</groupId>
            <artifactId>jackrabbit-core</artifactId>
            <version>2.2.0</version>
        </dependency>
    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>${project.groupId}</groupId>
                    <artifactId>squeakysand-jsp-tldgenerator-maven-plugin</artifactId>
                    <version>0.2.0</version>
                </plugin>
                <plugin>
                    <groupId>net.sourceforge.maven-taglib</groupId>
                    <artifactId>maven-taglib-plugin</artifactId>
                    <version>2.4</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>${project.groupId}</groupId>
                <artifactId>squeakysand-jsp-tldgenerator-maven-plugin</artifactId>
                <configuration>
                    <shortName>jcrx</shortName>
                    <validator>com.squeakysand.jcr.taglib.JcrTagLibraryValidator</validator>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <configuration>
                    <reportPlugins>
                        <plugin>
                            <groupId>net.sourceforge.maven-taglib</groupId>
                            <artifactId>maven-taglib-plugin</artifactId>
                            <configuration>
                                <srcDir>${project.build.outputDirectory}/META-INF</srcDir>
                            </configuration>
                            <reportSets>
                                <reportSet>
                                    <reports>
                                        <report>tagreference</report>
                                        <report>taglibdoc</report>
                                        <report>validate</report>
                                    </reports>
                                </reportSet>
                            </reportSets>
                        </plugin>
                    </reportPlugins>
                </configuration>
            </plugin>
        </plugins>
    </build>


  <scm>
    <connection>scm:svn:http://squeakysand.com/svn/devtools/uberpom-java/tags/0.1.0/squeakysand-jcr-taglib</connection>
    <developerConnection>scm:svn:https://squeakysand.com/svn/devtools/uberpom-java/tags/0.1.0/squeakysand-jcr-taglib</developerConnection>
    <url>http://squeakysand.com/wsvn/squeakysand/devtools/uberpom-java/tags/0.1.0/squeakysand-jcr-taglib</url>
  </scm>
</project>
