<?xml version="1.0" encoding="UTF-8"?>

<!-- 
 Copyright (C) 2012-2013 The Cat Hive Developers.
 
 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/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.cathive.fx</groupId>
    <artifactId>fx-guice</artifactId>
    <packaging>bundle</packaging>
    <version>2.1.2</version>
    <name>Guice Integration for JavaFX</name>
    <description>Classes and utilities that integrate Google Guice into your JavaFX applications</description>
    <url>https://github.com/cathive/${project.artifactId}/</url>
    <inceptionYear>2012</inceptionYear>

    <parent>
        <groupId>com.cathive</groupId>
        <artifactId>oss-parent</artifactId>
        <version>2</version>
    </parent>

    <properties>
        <guice.version>3.0</guice.version>
        <mockito.version>1.9.5</mockito.version>
    </properties>

    <prerequisites>
        <maven>3.0.0</maven>
    </prerequisites>

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

    <issueManagement>
        <system>Github</system>
        <url>https://github.com/cathive/${project.artifactId}/issues</url>
    </issueManagement>

    <developers>
        <developer>
            <id>headcr4sh</id>
            <name>Benjamin P. Jung</name>
            <email>headcr4sh@gmail.com</email>
            <url>http://profiles.google.com/headcr4sh</url>
            <timezone>Europe/Berlin</timezone>
            <properties />
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
    </developers>

    <contributors>
        <contributor>
            <!--<id>andytill</id>-->
            <name>Andy Till</name>
            <email>atill@mail.com</email>
            <url>http://andrewtill.blogspot.co.uk/</url>
            <properties />
            <roles />
        </contributor>
    </contributors>

    <scm>
        <connection>scm:git:https://github.com/cathive/${project.artifactId}.git</connection>
        <developerConnection>scm:git:git@github.com:cathive/${project.artifactId}.git</developerConnection>
        <url>https://github.com/cathive/${project.artifactId}/</url>
        <tag>2.1.2</tag>
  </scm>

    <ciManagement>
        <system>Jenkins</system>
        <url>https://cathive.ci.cloudbees.com/job/${project.artifactId}-integration-build/</url>
    </ciManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
                        </manifest>&gt;
                    </archive>
                    <instructions>
                        <module>com.cathive.fx.guice</module>
                        <_exportcontents>
                            !*.internal.*,$(module).*;version=${project.version}
                        </_exportcontents>
                        <Import-Package>
                            javafx.*,
                            javax.inject.*;version="1",
                            org.aopalliance.intercept.*;version="1.0.0",
                            com.google.inject.*;version="${guice.version}"
                        </Import-Package>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.google.inject</groupId>
            <artifactId>guice</artifactId>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.google.inject</groupId>
                <artifactId>guice</artifactId>
                <version>${guice.version}</version>
                <type>jar</type>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
                <type>jar</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>
