<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>dcm4che-conf</artifactId>
        <groupId>org.dcm4che</groupId>
        <version>3.3.8</version>
    </parent>
    <artifactId>dcm4che-conf-core-api</artifactId>
    <name>dcm4che-conf-core-api</name>
    <packaging>bundle</packaging>

    <dependencies>
        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <!-- fixme: there are internal class that used externally at these file:
                        dcm4che-3.x\dcm4che-conf\dcm4che-conf-api\src\main\java\org\dcm4che3\conf\api\extensions\ReconfiguringIterator.java
                            import org.dcm4che3.conf.core.api.internal.ConfigProperty               import org.dcm4che3.conf.core.api.internal.ConfigIterators;
                        dcm4che-3.x\dcm4che-conf\dcm4che-conf-api\src\main\java\org\dcm4che3\conf\api\internal\DicomConfigurationManager.java
                            import org.dcm4che3.conf.core.api.internal.ConfigurationManager;
                        
                        temporary solution is export all package including internal package
                        -->
                        <Export-Package>*</Export-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>