<?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/xsd/maven-4.0.0.xsd">
	
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>

  <groupId>de.piratech</groupId>
  <artifactId>dasding</artifactId>
  <version>0.3</version>
  <packaging>pom</packaging>
  <name>DasDing</name>
  <description>REST Schnittstelle für DasDing</description>
  <url>http://code.google.com/p/dasding/</url>

  <modules>
    <module>api</module>
    <module>data</module>
    <module>demos</module>
    <module>frontend</module>
  </modules>
  
  <scm>
    <connection>scm:svn:https://dasding.googlecode.com/svn/tags/dasding-0.3</connection>
    <developerConnection>scm:svn:https://dasding.googlecode.com/svn/tags/dasding-0.3</developerConnection>
    <url>https://dasding.googlecode.com/svn/tags/dasding-0.3</url>
  </scm>
  
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <netbeans.hint.license>apache20</netbeans.hint.license>
  </properties>
  
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <organization>
    <url>http://wiki.piratenpartei.de/BE:Squads/Piratech</url>
    <name>Piratech</name>
  </organization>

  <developers>
    <developer>
      <id>deveth0</id>
      <name>Alexander Muthmann</name>
      <email>amuthmann@dev-eth0.de</email>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>geirkairam</id>
      <name>Maria Krieg</name>
      <email>krieg.maria@gmail.com</email>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>alexbenisch</id>
      <name>Alexander Benisch</name>
      <email>alex.benisch@gmail.com</email>
      <roles>
        <role>documentation</role>
      </roles>
    </developer>
  </developers>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <mavenExecutorId>forked-path</mavenExecutorId>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.9</version>
        <inherited>true</inherited>
        <configuration>
          <downloadSources>true</downloadSources>
          <useProjectReferences>false</useProjectReferences>
        </configuration>
      </plugin>
    </plugins>
  </build>
    
  
  
  <profiles>
    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.4</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <version>1.0.2</version>
            <extensions>true</extensions>
            <configuration>
              <serverId>sonatype-nexus-staging</serverId>
              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>