<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.uni.freiburg.iig.telematik</groupId>
        <artifactId>tools</artifactId>
        <packaging>pom</packaging>
        <version>1.0.2</version>

        <name>Tools: Parent of JAGAL, SEWOL and SEPIA</name>
        <description>Our tools form the base for the security workflow analysis toolkit SWAT and the Petri net editor Wolfgang.</description>
        <url>https://github.com/iig-uni-freiburg/tools</url>
        <organization>
                <name>Institute of Computer Science and Social Studies, Department of Telematics</name>
                <url>http://www.telematik.uni-freiburg.de/</url>
        </organization>

        <licenses>
                <license>
                        <name>bsd_3</name>
                        <url>http://opensource.org/licenses/BSD-3-Clause</url>
                        <distribution>repo</distribution>
                </license>
        </licenses>

        <scm>
                <url>https://github.com/iig-uni-freiburg/tools.git</url>
        </scm>

        <modules>
                <module>../JAGAL</module>
                <module>../SEWOL</module>
                <module>../SEPIA</module>
        </modules>

        <developers>
                <developer>
                        <id>adlange</id>
                        <name>Adrian Lange</name>
                        <email>lange@iig.uni-freiburg.de</email>
                        <organization>IIG Telematics</organization>
                        <organizationUrl>http://www.telematik.uni-freiburg.de/</organizationUrl>
                        <roles>
                                <role>Project-Administrator</role>
                                <role>Developer</role>
                        </roles>
                        <timezone>+2</timezone>
                </developer>
        </developers>

        <build>
                <pluginManagement>
                        <plugins>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>3.3</version>
                                        <configuration>
                                                <source>1.8</source>
                                                <target>1.8</target>
                                        </configuration>
                                </plugin>
                        </plugins>
                </pluginManagement>
        </build>

        <profiles>
                <profile>
                        <id>release</id>
                        <distributionManagement>
                                <snapshotRepository>
                                        <id>ossrh</id>
                                        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                                </snapshotRepository>
                                <repository>
                                        <id>ossrh</id>
                                        <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                                </repository>
                        </distributionManagement>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>build-helper-maven-plugin</artifactId>
                                                <version>1.7</version>
                                                <executions>
                                                        <execution>
                                                                <id>add-source</id>
                                                                <phase>generate-sources</phase>
                                                                <goals>
                                                                        <goal>add-source</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <sources>
                                                                                <source>res</source>
                                                                        </sources>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-source-plugin</artifactId>
                                                <version>2.4</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-sources</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-gpg-plugin</artifactId>
                                                <version>1.6</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.6.5</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-javadoc-plugin</artifactId>
                                                <version>2.10.3</version>
                                                <executions>
                                                        <execution>
                                                                <id>attach-javadocs</id>
                                                                <goals>
                                                                        <goal>jar</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <additionalparam>-Xdoclint:none</additionalparam>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                                <configuration>
                                                        <excludePackageNames>org.deckfour.*</excludePackageNames>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>
        </profiles>

        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>

</project>
