<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2014 Cohesive Integrations, LLC (info@cohesiveintegrations.com)

    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>net.di2e.ecdr</groupId>
        <artifactId>libs</artifactId>
        <version>1.1.1</version>
    </parent>
    <name>Enterprise CDR :: Libs :: REST Search Commons</name>
    <groupId>net.di2e.ecdr.libs</groupId>
    <artifactId>cdr-rest-search-commons</artifactId>
    <packaging>bundle</packaging>


    <dependencies>
         <dependency>
            <groupId>net.di2e.ecdr.transformer</groupId>
            <artifactId>cdr-transformer-mapper</artifactId>
            <version>${project.version}</version>
        </dependency>
        
         <dependency>
            <groupId>net.di2e.ecdr.api</groupId>
            <artifactId>cdr-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.codice.ddf</groupId>
            <artifactId>platform-configuration-impl</artifactId>
        </dependency>
        
        <dependency>
            <groupId>ddf.registry.core</groupId>
            <artifactId>registry-core-api</artifactId>
        </dependency>

        <dependency>
            <groupId>ddf.catalog.core</groupId>
            <artifactId>catalog-core-commons</artifactId>
            <version>${ddf.catalog.version}</version>
        </dependency>

        <dependency>
            <groupId>ddf.catalog.core</groupId>
            <artifactId>catalog-core-api-impl</artifactId>
            <version>${ddf.catalog.version}</version>
        </dependency>

        <dependency>
            <groupId>ddf.action.core</groupId>
            <artifactId>action-core-api</artifactId>
            <version>${ddf.action.version}</version>
        </dependency>

        <dependency>
            <groupId>org.parboiled</groupId>
            <artifactId>parboiled-java</artifactId>
            <version>1.1.6</version>
        </dependency>
        
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>

        <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt-cql</artifactId>
            <version>8.4</version>
        </dependency>

        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-bundle</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>ddf.catalog.core</groupId>
            <artifactId>filter-proxy</artifactId>
            <version>2.4.0</version>
            <scope>test</scope>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                        <Embed-Transitive>true</Embed-Transitive>
                        <!-- abdera*;scope=compile|runtime,
                            axiom*, -->
                        <Embed-Dependency>
                            catalog-core-api-impl,
                            platform-configuration-impl,
                        </Embed-Dependency>
                        <Import-Package>
                            !org.apache.commons.codec.*,
                            javax.servlet.http;version="[2.5,4)",
                            *
                        </Import-Package>
                        <Export-Package>
                            net.di2e.ecdr.commons.*,
                            org.codice.ddf.configuration.impl,
                            templates,
                        </Export-Package>
                        <Private-Package>
                            
                        </Private-Package>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.mycila</groupId>
                <artifactId>license-maven-plugin</artifactId>
                <version>2.8</version>
                <configuration>
                    <excludes>
                        <!-- Contains LGPL licensed files and must stay LGPL -->
                        <exclude>**/xjc.txt</exclude>
                        <exclude>**/osd_info.template</exclude>
                        <exclude>**/CDRMetacard.java</exclude>
                    </excludes>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>


</project>