<!--
  - POM for building the smppapi.
  - This POM does not build or package the examples. It is provided for
  - convenience - the Ant build is still considered the primary build
  - system for the 0.3.x branch of the smppapi.
  - $Id: pom.xml 471 2009-06-16 19:07:56Z orank $ 
 -->
<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.adenki</groupId>
  <artifactId>smppapi</artifactId>
  <packaging>jar</packaging>
  <version>0.3.9</version>
  
  <name>smppapi</name>
  <description>
    Java Implementation of the Short Message Peer to Peer API.
  </description>
  <url>http://smppapi.sf.net/</url>

  <organization>
    <name>smppapi at Sourceforge</name>
    <url>http://smppapi.sf.net/</url>
  </organization>
  
  <licenses>
    <license>
      <name>GNU Lesser General Public License 2.1</name>
      <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
    </license>
  </licenses>
  
  <scm>
    <connection>scm:svn:https://smppapi.svn.sourceforge.net/svnroot/smppapi/smppapi/tags/SMPPAPI_0_3_9</connection>
    <developerConnection>scm:svn:https://smppapi.svn.sourceforge.net/svnroot/smppapi/smppapi/tags/SMPPAPI_0_3_9</developerConnection>
    <url>http://smppapi.svn.sourceforge.net/viewvc/smppapi/smppapi/tags/SMPPAPI_0_3_9</url>
  </scm>
  
  <issueManagement>
    <system>Sourceforge</system>
    <url>https://sourceforge.net/tracker/?group_id=26854</url>
  </issueManagement>
  
  <mailingLists>
    <mailingList>
      <name>pbm-devel</name>
      <archive>https://sourceforge.net/mailarchive/forum.php?forum_name=smppapi-devel</archive>
    </mailingList>
  </mailingLists>
  
  <developers>
    <developer>
      <id>orank</id>
      <name>Oran Kelly</name>
      <email>orank@users.sf.net</email>
      <timezone>Europe/Dublin</timezone>
      <roles>
        <role>admin</role>
        <role>developer</role>
      </roles>
    </developer>
  </developers>
  
  <distributionManagement>
    <repository>
      <id>Sourceforge</id>
      <name>smppapi repository</name>
      <url>scp://web.sourceforge.net/home/groups/s/sm/smppapi/htdocs/maven-repo</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <id>Sourceforge</id>
      <name>smppapi snapshot repository</name>
      <url>scp://web.sourceforge.net/home/groups/s/sm/smppapi/htdocs/maven-snapshot-repo</url>
      <layout>default</layout>
      <uniqueVersion>true</uniqueVersion>
    </snapshotRepository>
  </distributionManagement>

  <build>
    <sourceDirectory>src/java</sourceDirectory>
    <testSourceDirectory>src/tests</testSourceDirectory>
    <directory>build</directory>
    <outputDirectory>build/classes</outputDirectory>
    <testOutputDirectory>build/tests</testOutputDirectory>
  	<resources>
  	  <resource>
  	    <directory>src/resources</directory>
  	    <filtering>true</filtering>
  	  </resource>
  	</resources>
    <testResources>
      <testResource>
        <directory>src/tests</directory>
        <includes>
          <include>**/*.properties</include>
        </includes>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <source>1.4</source>
          <target>1.4</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.3</version>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.4.3</version>
      </plugin>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <archive>
            <manifest>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            </manifest>
            <manifestEntries>
              <Specification-Title>SMPP</Specification-Title>
              <Specification-Version>3.4</Specification-Version>
              <Specification-Vendor>http://www.smsforum.net/</Specification-Vendor>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-install-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.0</version>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-beta-7</version>
      </plugin>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <instrumentation>
            <excludes>
              <exclude>com/pbm/**/*Exception.class</exclude>
            </excludes>
          </instrumentation>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.5.1</version>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.2</version>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.5</version>
      </plugin>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-9</version>
          <configuration>
            <releaseProfiles>release</releaseProfiles>
          </configuration>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <outputDirectory>build/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <configLocation>${basedir}/src/tests/checkstyle.xml</configLocation>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.4.3</version>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.5</version>
      </plugin>
    </plugins>
  </reporting>

  <dependencies>

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <profiles>
    <profile>
      <id>release</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.0-alpha-4</version>
            <configuration>
              <keyname>orank@users.sourceforge.net</keyname>
              <passphrase>${gpg.passphrase}</passphrase>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
