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

    Copyright (c) 2011, Everit Kft.

    All rights reserved.

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 3 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    MA 02110-1301  USA

-->
<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.everit</groupId>
        <artifactId>localization</artifactId>
        <version>0.5.0</version>
    </parent>

    <groupId>org.everit.localization</groupId>
    <artifactId>org.everit.localization.faces</artifactId>

    <name>Localization Faces</name>
    <description>JSF components that can be used by the programmer to show language dependent data</description>

    <packaging>bundle</packaging>

    <scm>
        <connection>scm:svn:https://source.everit.biz/svn/everit-localization/tags/localization-0.5.0/faces</connection>
        <developerConnection>scm:svn:https://source.everit.biz/svn/everit-localization/tags/localization-0.5.0/faces</developerConnection>
        <url>https://guest:guest@source.everit.biz/viewvc/everit-localization/tags/localization-0.5.0/faces</url>
    </scm>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                        <Export-Package>
                            '=META-INF',
                            org.everit.localization.faces,
                            org.everit.localization.faces.api,
                            org.everit.localization.faces.components,
                            org.everit.localization.faces.components.translator,
                            '=META-INF.resources.org.everit.localization.faces.components',
                            '=META-INF.resources.org.everit.localization.faces.js'
                        </Export-Package>
                        <_failok>true</_failok>
                        <Import-Package>
                            javax.servlet;version="[2.5,4)",
                            javax.servlet.*;version="[2.5,4)",
                            javax.faces,
                            javax.faces.*,
                            javax.el.*,
                            *
                        </Import-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>org.everit.localization.core</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.everit.serviceutil</groupId>
            <artifactId>org.everit.serviceutil.core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.everit.util</groupId>
            <artifactId>org.everit.util.core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.faces</groupId>
            <artifactId>jsf-api</artifactId>
            <version>2.1.3-b02</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
            <version>4.2.0</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.compendium</artifactId>
            <version>4.2.0</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>3.1.0.RELEASE</version>
            <optional>true</optional>
        </dependency>
    </dependencies>
</project>
