<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * Copyright (c) Codice Foundation
 *
 * This 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 any later version.
 *
 * This program 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. A copy of the GNU Lesser General Public License is distributed along with this program and can be found at
 * <http://www.gnu.org/licenses/lgpl.html>.
 *
 **/
-->

<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">
    <parent>
        <artifactId>sdk</artifactId>
        <groupId>org.codice.alliance.distribution</groupId>
        <version>1.17.5</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.codice.alliance.sdk.extraction</groupId>
    <artifactId>sample-content-metadata-extractor</artifactId>
    <packaging>bundle</packaging>
    <name>Alliance :: SDK :: Sample Content Metadata Extractor</name>

    <dependencies>
        <dependency>
            <groupId>org.codice.alliance.security</groupId>
            <artifactId>banner-marking</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>ddf.catalog.core</groupId>
            <artifactId>catalog-core-api-impl</artifactId>
            <version>${ddf.version}</version>
        </dependency>
        <dependency>
            <groupId>ddf.platform.util</groupId>
            <artifactId>platform-util</artifactId>
            <version>${ddf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.codice.alliance.catalog.core</groupId>
            <artifactId>catalog-core-api-impl</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <!-- The maven-bundle-plugin is required for this artifact to be an OSGi bundle. -->
            <!-- Add in additional imports that this bundle requires using a comma-separated list. -->
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                        <Export-Package>
                            org.codice.alliance.sdk.extraction
                        </Export-Package>
                        <Embed-Dependency>
                            catalog-core-api-impl;groupId=org.codice.alliance.catalog.core;version=${project.version},
                            banner-marking
                        </Embed-Dependency>
                        <Private-Package>
                            org.codice.alliance.security.banner.marking.*,
                            ddf.catalog.data.impl.*
                        </Private-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>


</project>
