<?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/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <packaging>bundle</packaging>
        <artifactId>orbisgis-oshell</artifactId>
        <name>OrbisGIS OSGI Shell Frame</name>
        <url>http://orbisgis.org</url>
        <description>An OSGi Shell to control all bundles</description>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
                                <version>2.3.7</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <instructions>
                                                <Private-Package>org.orbisgis.oshell.*</Private-Package>
                                                <Bundle-Activator>org.orbisgis.oshell.Activator</Bundle-Activator>
                                                <Bundle-Vendor>IRSTV - FR CNRS 2488</Bundle-Vendor>
                                                <Bundle-Icon>icon.png;size=32</Bundle-Icon>
                                                <Bundle-Category>OrbisGIS, Shell, OSGi</Bundle-Category>
                                        </instructions>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.7</source>
                                        <target>1.7</target>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>com.googlecode.gettext-commons</groupId>
                                <version>1.2.4</version>
                                <executions>
                                        <execution>
                                                <id>convert-po-class</id>
                                                <phase>compile</phase>
                                                <goals>
                                                        <goal>dist</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <artifactId>gettext-maven-plugin</artifactId>
                                <configuration>
                                        <poDirectory>${project.build.sourceDirectory}/../resources/org/orbisgis/oshell/translation/</poDirectory>
                                        <targetBundle>org.orbisgis.oshell.Messages</targetBundle>
                                        <keywords>-ktr -kmarktr</keywords>
                                        <outputFormat>properties</outputFormat>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
        <parent>
                <artifactId>orbisgis</artifactId>
                <groupId>org.orbisgis</groupId>
                <version>5.0.1</version>
		<relativePath>../..</relativePath>
        </parent>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
        <dependencies>
                <dependency>
                        <groupId>${project.groupId}</groupId>
                        <artifactId>orbisgis-view-api</artifactId>
                        <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.osgi</groupId>
                        <artifactId>org.osgi.core</artifactId>
                        <version>4.3.1</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>org.apache.felix.shell</artifactId>
                        <version>1.4.3</version>
                </dependency>
                <dependency>
                    <groupId>com.googlecode.gettext-commons</groupId>
                    <artifactId>gettext-commons</artifactId>
                    <version>${gettext-commons-version}</version>
                </dependency>
                <dependency>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                    <version>${log4j-version}</version>
                </dependency>
        </dependencies>
</project>
