<?xml version="1.0" encoding="UTF-8"?>
<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>
    <groupId>com.jgoodies</groupId>
    <artifactId>validation</artifactId>
    <version>2.0.0</version>
    <packaging>jar</packaging>
    <name>JGoodies Validation</name>
    <url>https://validation.dev.java.net/</url>
    <description>The JGoodies Validation helps you validate user input 
	    in Swing apps and report validation errors and warnings. 
	    It has been designed to work with different architectures and 
	    programming flavors.
    </description>
    <licenses>
        <license>
            <name>The BSD License</name>
            <url>http://www.opensource.org/licenses/bsd-license.html</url>
        </license>
    </licenses>
    <developers>
        <developer>
            <id>Karsten</id>
            <name>Karsten Lentzsch</name>
        </developer>
    </developers>
    <scm>
        <connection>scm:cvs:pserver:guest@cvs.dev.java.net:/cvs:validation</connection>
        <tag>head</tag>
        <url>https://validation.dev.java.net/source/browse/validation/</url>
    </scm>
    <dependencies>
	<!-- This library doesn't depend on any other library. -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.jgoodies</groupId>
            <artifactId>forms</artifactId>
            <version>1.1.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.jgoodies</groupId>
            <artifactId>binding</artifactId>
            <version>2.0.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.swinglabs</groupId>
            <artifactId>swing-worker</artifactId>
            <version>1.1</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <distributionManagement>
        <repository>
            <id>mvnartifacts-sf.net</id>
            <url>sftp://web.sourceforge.net/home/groups/m/mv/mvnartifacts/htdocs/m2-repo</url>
        </repository>
    </distributionManagement>
    <build>
        <directory>${basedir}/build</directory>
        <sourceDirectory>${basedir}/src/core</sourceDirectory>
        <testSourceDirectory>${basedir}/src/test</testSourceDirectory>
        <outputDirectory>${basedir}/build/classes</outputDirectory>
        <testOutputDirectory>${basedir}/build/test-classes</testOutputDirectory>
        <resources>
            <resource>
                <directory>.</directory>
                <includes>
                    <include>LICENSE.txt</include>
                    <include>README.html</include>
                    <include>RELEASE-NOTES.txt</include>
                </includes>
            </resource>
            <resource>
                <targetPath>META-INF/services</targetPath>
                <filtering>false</filtering>
                <directory>${basedir}/conf/service descriptors</directory>
                <includes>
                    <include>javax.swing.LookAndFeel</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <debug>true</debug>
                    <encoding>utf-8</encoding>
                    <optimize>false</optimize>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <id>add-test-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-test-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>${basedir}/src/tutorial</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>