<!--
 Copyright 2009 OW2 Chameleon
 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>
		<artifactId>parent-pom</artifactId>
		<groupId>org.ow2.chameleon</groupId>
		<version>0.2.2</version>
	</parent>
	<groupId>org.ow2.chameleon.i18n</groupId>
	<artifactId>resource-bundle-extender</artifactId>
	<version>0.2.0</version>
	<packaging>bundle</packaging>
	<name>OW2 Chameleon - Resource Bundle Based i18n Service Implementation</name>
	<description>This bundle is an implementation of the i18n service based on Resource Bundle.
		Those files are provided using i18n extensions</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.apache.felix.ipojo.annotations</artifactId>
			<version>1.6.2</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.ow2.chameleon.i18n</groupId>
			<artifactId>i18n-service</artifactId>
			<version>0.2.0</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.felix</groupId>
			<artifactId>org.apache.felix.ipojo</artifactId>
			<version>1.6.2</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.osgi</groupId>
			<artifactId>org.osgi.core</artifactId>
			<version>4.2.0</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.6.1</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<version>2.0.1</version>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>org.ow2.chameleon.i18n.resource-bundle-extender</Bundle-SymbolicName>
						<Bundle-Vendor>OW2 Chameleon</Bundle-Vendor>
						<Include-Resource>
							META-INF/NOTICE = NOTICE,
							META-INF/LICENSE = LICENSE
            			</Include-Resource>
						<Private-Package>
							org.ow2.chameleon.i18n.extension
            			</Private-Package>
            			<Import-Package>!org.ow2.chameleon.i18n.extension, *</Import-Package>
					</instructions>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-ipojo-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>ipojo-bundle</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
		</plugins>
	</build>

  <scm>
    <connection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/chameleon/releases/resource-bundle-extender-0.2.0</connection>
    <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/chameleon/releases/resource-bundle-extender-0.2.0</developerConnection>
    <url>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/chameleon/releases/resource-bundle-extender-0.2.0</url>
  </scm>
</project>