<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>
  
  <groupId>net.sf.tweety</groupId>
  <artifactId>parent-pom</artifactId>
  <name>Tweety (Parent POM)</name>
  <version>1.3</version>
  <packaging>pom</packaging>
  
  <description>Tweety is a collection of various Java libraries that implement approaches to different areas of artificial intelligence. In particular, it provides a general interface layer for doing research and working with different knowledge representation formalisms such as classical logics, conditional logics, probabilistic logics, and argumentation. Furthermore, Tweety contains libraries for dealing with agents, multi-agent systems, and dialog systems for agents, as well as belief revision, preference reasoning, preference aggregation, and action languages. A series of utility libraries that deal with e.g. mathematical optimization complement the collection.</description>
  <url>http://tweetyproject.org</url>
  
  <scm>
  	<url>https://svn.code.sf.net/p/tweety/code/trunk/</url>
  	<connection>scm:svn:https://svn.code.sf.net/p/tweety/code/trunk/</connection>
	<developerConnection>scm:svn:https://svn.code.sf.net/p/tweety/code/trunk/</developerConnection>
  </scm>
  
  <developers>
    <developer>
      <id>mthimm</id>
      <name>Matthias Thimm</name>
      <email>matthias@mthimm.de</email>
    </developer>
  </developers>
  
  <!-- For third-party jars that are not in the central repository -->
  <repositories>
	<repository>
	    <id>tweety-mvn</id>
	    <name>Tweety MVN Repository</name>
    	<url>http://tweetyproject.org/mvn</url>
	</repository>
  </repositories>
  
  <licenses>
    <license>
      <name>The General Public License, Version 3.0</name>
      <url>http://www.gnu.org/licenses/gpl-3.0.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  
  <distributionManagement>
	<snapshotRepository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  
  <build>
<!-- <resources>
    <resource>
      <directory>src/main/resources</directory>
    </resource>
    <resource>
      <directory>src/main/java</directory>
      <includes>
        <include>**/*.java</include>
      </includes>
    </resource>
  </resources>-->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
      <!-- Generate jar containing the sources of the project: -->
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-source-plugin</artifactId>
      <version>2.2.1</version>
      <executions>
        <execution>
          <id>attach-sources</id>
          <goals>
            <goal>jar-no-fork</goal>
          </goals>
        </execution>
      </executions>
      <configuration>
          <outputDirectory>../testBuild</outputDirectory>
          <finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>
        </configuration>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-javadoc-plugin</artifactId>
      <version>2.9.1</version>
      <executions>
        <execution>
          <id>attach-javadocs</id>
          <goals>
            <goal>jar</goal>
          </goals>
        </execution>
      </executions>
        <configuration>
          <outputDirectory>../testBuild</outputDirectory>
          <finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>
        </configuration>
    </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>         
          <finalName>${project.groupId}.${project.artifactId}-${project.version}</finalName>                   
          <outputDirectory>../testBuild</outputDirectory>
        </configuration>
      </plugin>
<!--     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <shadedArtifactAttached>true</shadedArtifactAttached>
          <shadedClassifierName>${project.artifactId}-${project.version}-with-dependencies</shadedClassifierName>
          <createDependencyReducedPom>false</createDependencyReducedPom>
          <outputDirectory>../testBuild</outputDirectory>
          <finalName>${project.groupId}.${project.artifactId}-${project.version}-with-dependencies</finalName> 
        </configuration>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
      </plugin>-->  
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.1</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>true</autoReleaseAfterClose>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  
  <modules>
  	<module>net-sf-tweety-commons</module>
  	<module>net-sf-tweety-math</module>
  	<module>net-sf-tweety-action</module>
  	<module>net-sf-tweety-beliefdynamics</module>
  	<module>net-sf-tweety-cli</module>
  	<module>net-sf-tweety-graphs</module>
  	<module>net-sf-tweety-preferences</module>
  	<module>net-sf-tweety-machinelearning</module>
  	<module>net-sf-tweety-plugin</module>
  	<module>net-sf-tweety-lp-asp</module>
  	<module>net-sf-tweety-lp-asp-beliefdynamics</module>
  	<module>net-sf-tweety-lp-nlp</module>
  	<module>net-sf-tweety-logics-commons</module>
  	<module>net-sf-tweety-logics-cl</module>
  	<module>net-sf-tweety-logics-fol</module>  	
  	<module>net-sf-tweety-logics-pl</module>
  	<module>net-sf-tweety-logics-ml</module>
  	<module>net-sf-tweety-logics-el</module>
  	<module>net-sf-tweety-logics-pcl</module>
  	<module>net-sf-tweety-logics-rcl</module>
  	<module>net-sf-tweety-logics-rpcl</module>
  	<module>net-sf-tweety-logics-dl</module>
  	<module>net-sf-tweety-logics-translators</module>  	
  	<module>net-sf-tweety-arg-deductive</module>
  	<module>net-sf-tweety-arg-lp</module>
  	<module>net-sf-tweety-arg-delp</module>
  	<module>net-sf-tweety-arg-dung</module>
  	<module>net-sf-tweety-arg-prob</module>
  	<module>net-sf-tweety-arg-saf</module>  		
  	<module>net-sf-tweety-agents</module>
  	<module>net-sf-tweety-agents-dialogues</module>
  	<module>net-sf-tweety-web</module>
  	<module>net-sf-tweety</module>
  </modules>
  
</project>
