<?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>9</version>
    </parent>

    <artifactId>platform-parent</artifactId>
    <groupId>eu.limetri.platform</groupId>
    <version>0.3</version>
    <packaging>pom</packaging>
    <name>platform-parent</name>
    <description />

    <modules>
        <module>api</module>
        <module>server</module>
        <module>client</module>
        <module>jboss-support</module>
        <module>registry-jdbc</module>
    </modules>

    <repositories>
        <repository>
            <id>netbeans</id>
            <name>NetBeans Platform Maven Repository</name>
            <url>http://bits.netbeans.org/maven2/</url>
        </repository>
    </repositories>

    <organization>
        <name>LimeTri</name>
        <url>http://www.limetri.eu</url>
    </organization>

    <scm>
        <connection>scm:hg:ssh://hg@bitbucket.org/limetri/platform</connection>
        <developerConnection>scm:hg:ssh://hg@bitbucket.org/limetri/platform</developerConnection>
        <url>https://bitbucket.org/limetri/platform</url>
        <tag>HEAD</tag>
    </scm>

    <licenses>
        <license>
            <name>gpl30</name>
            <url>http://www.gnu.org/licenses/gpl.txt</url>
        </license>
    </licenses>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <netbeans.version>RELEASE72</netbeans.version>
        <slf4j.version>1.7.5</slf4j.version>
        <jaxb.version>2.2.7-NB72</jaxb.version>
        <netbeans.hint.license>limetri</netbeans.hint.license>
        <camel.version>2.13.2</camel.version>
        <reflections.version>0.9.8</reflections.version>
    </properties>


    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.5</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.5</version>
            <scope>test</scope>
        </dependency>        
    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>nbm-maven-plugin</artifactId>
                    <extensions>true</extensions>
                    <version>3.8.1</version>
                </plugin>
                <plugin>
                    <groupId>com.mycila</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <properties>
                            <project.inceptionYear>2014</project.inceptionYear>
                            <owner>LimeTri</owner>
                            <email>info@limetri.eu</email>                        
                        </properties>
                        <header>${basedir}/../license.txt</header>
                        <failIfMissing>true</failIfMissing>
                        <aggregate>true</aggregate>
                        <strictCheck>true</strictCheck>
                        <excludes>
                            <exclude>**/*.txt</exclude>
                            <exclude>**/src/test/resources/**</exclude>
                            <exclude>**/src/test/data/**</exclude>
                            <exclude>**/resources/**</exclude>
                            <exclude>**/site/**</exclude>
                            <exclude>**/*.properties</exclude>
                            <exclude>**/*.xml</exclude>
                            <exclude>**/*.mf</exclude>
                            <exclude>**/*.sh</exclude>
                            <exclude>**/*.vm</exclude>
                            <exclude>**/*.log</exclude>
                            <exclude>**/*.form</exclude>
                            <exclude>**/.hgtags</exclude>
                            <exclude>**/.hgignore</exclude>
                            <exclude>**/*.orig</exclude>
                            <exclude>**/*.CSV</exclude>
                            <exclude>**/*.txt</exclude>
                            <exclude>**/*.script</exclude>
                            <exclude>**/menu/**</exclude>
                            <exclude>**/generated/**</exclude>
                            <exclude>**/xmlschema/**</exclude>
                            <exclude>**/translations/omegat/**</exclude>
                        </excludes>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>verify</phase>
                            <goals>
                                <goal>check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>                     
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <artifactId>maven-scm-plugin</artifactId>
                <version>1.8.1</version>
                <configuration>
                    <tag>${project.artifactId}-${project.version}</tag>
                </configuration>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>
 
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.4.1</version>
                <configuration>
                    <pushChanges>false</pushChanges>
                </configuration>
            </plugin>
    
        </plugins>
    </build>
</project>
