<?xml version="1.0" encoding="UTF-8"?>
<!-- 
 * pom.xml
 *
 ******************************************************************************
 *
 * Created: Dec 13, 2011
 * Character encoding: UTF-8
 * 
 * Copyright (c) 2011 - XIAM Solutions B.V. The Netherlands, http://www.xiam.nl
 * 
 ********************************* LICENSE ************************************
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
-->
<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>eu.infomas</groupId>
    <artifactId>infomas-asl</artifactId>
    <version>3.0.0</version>
    <packaging>pom</packaging>
    <name>INFOMAS ASL :: Parent</name>
    <description>Parent POM for open source projects of XIAM Solutions B.V.</description>

    <modules>
        <module>annotation-detector</module>
    </modules>

    <inceptionYear>2011</inceptionYear>

    <organization>
        <name>XIAM Solutions B.V.</name>
        <url>http://www.xiam.nl</url>
    </organization>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>rmuller</id>
            <name>Ronald Muller</name>
            <roles>
                <role>Owner</role>
                <role>Lead Developer</role>
            </roles>
            <timezone>+1</timezone>
            <organization>XIAM Solutions B.V.</organization>
        </developer>
    </developers>

    <prerequisites>
        <!-- First stable and wide spread Maven 3 release. -->
        <maven>3.0.2</maven>
    </prerequisites>

    <properties>
        <java.version>1.6</java.version>
        <!-- As close as we can get for the W3C / ISO Date Time format. Due to a 
        limitation of Java's SimpleDateFormat the colon in the time zone is missing. -->
        <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
        <!-- Workaround for http://jira.codehaus.org/browse/MRESOURCES-99 -->
        <timestamp>${maven.build.timestamp}</timestamp>      
    </properties>

    <scm>
        <connection>scm:git:git@github.com:rmuller/infomas-asl.git</connection>
        <developerConnection>scm:git:git@github.com:rmuller/infomas-asl.git</developerConnection>
        <url>git@github.com:rmuller/infomas-asl.git</url>
    </scm>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.8.5</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <showDeprecation>true</showDeprecation>
                    <!-- 
                    Since JDK1.3 javac ignores any optimization flags
                    Size of generated jar file:
                    16302 - default settings
                    16300 - optimize = true (?)
                    14811 - optimize = true; debug = true
                    <optimize>true</optimize>
                    <debug>false</debug>
                   -->
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.9</version>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Build-Timestamp>${timestamp}</Build-Timestamp>
                        </manifestEntries>
                        <manifest>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.8</version>
            </plugin>
        </plugins>
    </build>

</project>
