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

.main.osgi-platforms.osgi-cli-remote.8.0.0-JDK17-M7.source-code.pom.xml Maven / Gradle / Ivy

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

    Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved.

    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.osgi-platforms</groupId>
        <artifactId>osgi-platforms</artifactId>
        <version>8.0.0-JDK17-M7</version>
    </parent>

    <artifactId>osgi-cli-remote</artifactId>
    <packaging>glassfish-jar</packaging>

    <name>Admin CLI bridge command to the OSGi Shell</name>
    <description>${project.name}}</description>

    <developers>
        <developer>
            <name>Ancoron Luciferis</name>
        </developer>
    </developers>

    <dependencies>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>osgi.core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.glassfish.main.common</groupId>
            <artifactId>glassfish-api</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.main.admin</groupId>
            <artifactId>admin-util</artifactId>
            <version>${project.version}</version>
        </dependency>

        <!-- Alternatives -->
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.shell</artifactId>
            <scope>provided</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.runtime</artifactId>
            <scope>provided</scope>
            <optional>true</optional>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <!-- Nothing to export -->
                        <Export-Package></Export-Package>
                        <!--
                        Bnd is not smart enough to know that dynamic imported packages should not
                        be regularly imported. We have to exclude those manually.
                        -->
                        <Import-Package>
                            !org.apache.felix.shell,
                            !org.apache.felix.service.command,
                            *
                        </Import-Package>
                        <!-- shell packages are resolved at runtime, whatever there is -->
                        <DynamicImport-Package>
                            org.apache.felix.shell,
                            org.apache.felix.service.command
                        </DynamicImport-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy