<?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>de.akquinet.jbosscc</groupId>
    <artifactId>jbosscc-needle</artifactId>
    <url>http://jbosscc-needle.sourceforge.net/${artifactId}/${version}</url>
    <version>1.1</version>
    <packaging>pom</packaging>
    <name>Needle</name>

    <description>
        Needle is a small but powerful framework on top of EasyMock and JUnit to inject mock objects for unit testing of EJB 3.0 and Seam components outside the container.
    </description>


    <licenses>
        <license>
            <name>lgpl</name>
            <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
        </license>
    </licenses>

    <distributionManagement>
        <repository>
            <id>nexus-releases</id>
            <name>Nexus Release Repository</name>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
            <uniqueVersion>true</uniqueVersion>
        </repository>

        <snapshotRepository>
            <id>nexus-snapshots</id>
            <name>Nexus Snapshot Repository</name>
            <url>http://oss.sonatype.org/content/repositories/sourceforge-snapshots/</url>
        </snapshotRepository>

		<!--
        <site>
            <id>shell.sourceforge.net</id>
            <url>scp://shell.sourceforge.net/home/groups/j/jb/jbosscc-needle/htdocs/${artifactId}/${version}</url>
        </site>
        -->
    </distributionManagement>

    <scm>
        <connection>scm:svn:https://jbosscc-needle.svn.sourceforge.net/svnroot/jbosscc-needle/tags/jbosscc-needle-1.1</connection>
        <developerConnection>scm:svn:https://jbosscc-needle.svn.sourceforge.net/svnroot/jbosscc-needle/tags/jbosscc-needle-1.1</developerConnection>
        <url>https://jbosscc-needle.svn.sourceforge.net/svnroot/jbosscc-needle/tags/jbosscc-needle-1.1</url>
    </scm>

    <developers>
        <developer>
            <id>abendt</id>
            <name>Alphonse Bendt</name>
            <email>alphonse (dot) bendt (at) akquinet.de</email>
            <organization>akquinet AG</organization>
        </developer>

        <developer>
            <id>hwilming</id>
            <name>Heinz Wilming</name>
            <email>heinz (dot) wilming (at) akquinet.de</email>
            <organization>akquinet AG</organization>
        </developer>
    </developers>

    <organization>
        <name>akquinet AG</name>
        <url>http://www.akquinet.de</url>
    </organization>

    <issueManagement>
        <system>http://sourceforge.net/</system>
        <url>https://sourceforge.net/tracker/?group_id=306915</url>
    </issueManagement>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.0</version>
                    <configuration>
                        <releaseProfiles>release</releaseProfiles>
                    </configuration>
                </plugin>

                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.4.1</version>
                </plugin>

                <plugin>
                    <artifactId>maven-dependency-plugin
                    </artifactId>
                    <version>2.1</version>
                </plugin>


                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>2.3</version>
                </plugin>

                <plugin>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>2.1</version>
                </plugin>

                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.1</version>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                    </configuration>
                </plugin>

                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <executions>
                        <execution>
                            <goals>
                                <goal>test-jar</goal>
                            </goals>
                        </execution>
                    </executions>

                    <configuration>
                        <archive>
                            <manifestEntries>
                                <revision>${SVN_REVISION}</revision>
                            </manifestEntries>
                        </archive>
                    </configuration>
                </plugin>

                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <forkMode>once</forkMode>
                        <argLine>-enableassertions</argLine>
                    </configuration>
                </plugin>


                <plugin>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>2.3</version>
                </plugin>

                <plugin>
                    <artifactId>maven-verifier-plugin</artifactId>
                    <version>1.0</version>
                </plugin>

                <plugin>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.5</version>
                </plugin>

                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
            </plugins>
        </pluginManagement>

    </build>


    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.0</version>
                        <configuration>
                            <passphrase>${gpg.passphrase}</passphrase>
                        </configuration>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
    
    <modules>
        <module>jbosscc-needle-ejb</module>
        <module>jbosscc-needle-seam</module>
    </modules>

</project>