All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.main.microprofile.microprofile-config.8.0.0-JDK17-M9.source-code.pom.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2022, 2024 Contributors to Eclipse Foundation.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.glassfish.main.microprofile</groupId>
        <artifactId>microprofile-parent</artifactId>
        <version>8.0.0-JDK17-M9</version>
    </parent>

    <artifactId>microprofile-config</artifactId>
    <packaging>glassfish-jar</packaging>

    <name>GlassFish MicroProfile Config</name>

    <dependencies>
        <!-- APIs -->
        <dependency>
            <groupId>io.helidon.microprofile.config</groupId>
            <artifactId>helidon-microprofile-config</artifactId>
        </dependency>

        <dependency>
            <groupId>jakarta.enterprise</groupId>
            <artifactId>jakarta.enterprise.cdi-api</artifactId>
        </dependency>

        <!-- Internal Dependencies -->
        <dependency>
            <groupId>org.glassfish.main.common</groupId>
            <artifactId>glassfish-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.main.common</groupId>
            <artifactId>internal-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.main.web</groupId>
            <artifactId>weld-integration</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <supportedProjectTypes>
                        <supportedProjectType>glassfish-jar</supportedProjectType>
                    </supportedProjectTypes>
                    <instructions>
                        <Import-Package>
                            !io.helidon.inject.runtime,*
                        </Import-Package>

                        <!-- A list of packages that are exposed to classes outside the bundle -->
                        <Export-Package>
                            io.helidon.common.config,
                            io.helidon.config,
                            io.helidon.config.mp,
                        </Export-Package>

                        <!-- A list of dependencies to include in the bundle (as they're not native OSGI bundles) -->
                        <Embed-Dependency>
                            <!--
                                The helidon MP config dependency tree, illustrating what we actually output to the GF bundle
                            -->
                            groupId=io.helidon.common;artifactId=helidon-common,
                            groupId=io.helidon.common;artifactId=helidon-common-config,
                            groupId=io.helidon.common;artifactId=helidon-common-configurable,
                            groupId=io.helidon.common;artifactId=helidon-common-context,
                            groupId=io.helidon.common;artifactId=helidon-common-mapper,
                            groupId=io.helidon.common;artifactId=helidon-common-media-type,
                            groupId=io.helidon.common;artifactId=helidon-common-service-loader,
                            groupId=io.helidon.common;artifactId=helidon-common-types,

                            groupId=io.helidon.config;artifactId=helidon-config,
                            groupId=io.helidon.config;artifactId=helidon-config-mp,
                            groupId=io.helidon.config;artifactId=helidon-config-yaml,
                            groupId=io.helidon.config;artifactId=helidon-config-yaml-mp,
                            groupId=io.helidon.builder;artifactId=helidon-builder-api,
                            groupId=io.helidon.inject;artifactId=helidon-inject-api,
                            groupId=io.helidon.logging;artifactId=helidon-logging-common,
                            artifactId=snakeyaml,
                        </Embed-Dependency>

                        <!--
                            Include transitive dependencies (note that this only include compile scoped dependencies,
                            other scoped dependencies still need explicit inclusion)
                        -->
                        <Embed-Transitive>true</Embed-Transitive>

                        <Multi-Release>true</Multi-Release>
                        <Include-Resource>
                            {maven-resources},
                            META-INF/hk2-locator/=target/classes/META-INF/hk2-locator/,
                        </Include-Resource>
                    </instructions>
                </configuration>
                <executions>
                    <execution>
                        <id>osgi-bundle</id>
                        <phase>package</phase>
                        <goals>
                            <goal>bundle</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy