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

    Copyright (c) 2022 Contributors to the Eclipse Foundation. All rights reserved.
    Copyright (c) 2014, 2022 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.glassfish.jsftemplating</groupId>
        <artifactId>jsftemplating-parent</artifactId>
        <version>4.0.3</version>
    </parent>

    <artifactId>jsft</artifactId>

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

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <executions>
                    <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>manifest</goal>
                        </goals>
                        <configuration>
                            <Export-Package>*;version="${project.osgi.version}"</Export-Package>
                            <Import-Package>
                                com.sun.jsft.commands;version="${project.osgi.version}",
                                com.sun.jsft.event;version="${project.osgi.version}",
                                com.sun.jsft.facelets;version="${project.osgi.version}",
                                com.sun.jsft.util;version="${project.osgi.version}",
                                jakarta.el;version="[5.0.0,6.0)",
                                jakarta.faces;version="[4.0.0,5.0)",
                                jakarta.faces.application;version="[4.0.0,5.0)",
                                jakarta.faces.component;version="[4.0.0,5.0)",
                                jakarta.faces.context;version="[4.0.0,5.0)",
                                jakarta.faces.event;version="[4.0.0,5.0)",
                                jakarta.faces.view.facelets;version="[4.0.0,5.0)",*
                            </Import-Package>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
