 <!--

    Copyright (c) 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/maven-v4_0_0.xsd">
     <!-- 
        Use the staging profile if necessary to pull in staged versions (e.g. https://jakarta.oss.sonatype.org/content/repositories/staging) of artifacts.
        mvn -Pstaging clean install
     -->
   <parent>
       <groupId>org.eclipse.ee4j</groupId>
       <artifactId>project</artifactId>
       <version>1.0.7</version>
   </parent>
  <modelVersion>4.0.0</modelVersion>
    <groupId>jakarta</groupId>
    <version>1</version>
    <artifactId>dependency_copy</artifactId>

 <properties>
        <!-- CDI -->
        <cdi-api.version>4.0.0</cdi-api.version>
        <jakarta.faces-api.version>4.0.0</jakarta.faces-api.version>
        <jakarta.activation-api.version>2.1.0</jakarta.activation-api.version>
        <!-- Jakarta Server Pages -->
        <jsp-api.version>3.1.0</jsp-api.version>
        <!-- Jakarta Standard Tag Library -->
        <jstl-api.version>3.0.0</jstl-api.version>        

        <jakarta.annotation-api.version>2.1.0</jakarta.annotation-api.version>
        <jakarta.el-api.version>5.0.0</jakarta.el-api.version>
        <jakarta.inject-api.version>2.0.1</jakarta.inject-api.version>
        <jakarta.servlet-api.version>6.0.0</jakarta.servlet-api.version>
        <glassfish-corba-orb.version>4.2.4</glassfish-corba-orb.version>   
        
        <jakarta.security.enterprise-api.version>3.0.0</jakarta.security.enterprise-api.version>
        <jakarta.ejb-api.version>4.0.0</jakarta.ejb-api.version>
        <jakarta.interceptor-api.version>2.1.0</jakarta.interceptor-api.version>        
        <jakarta.security.auth.message-api.version>2.0.0-RC1</jakarta.security.auth.message-api.version>            
        <jakarta.authentication-api.version>3.0.0</jakarta.authentication-api.version>      
        <jakarta.xml.bind-api.version>4.0.0</jakarta.xml.bind-api.version>      
</properties>

<!-- TODO: Temporarily enable snapshot repository -->
<!-- This can be removed once an official releases available -->
<repositories>
    <repository>
        <id>jakarta-snapshots</id>
        <url>https://jakarta.oss.sonatype.org/content/repositories/staging/</url>
    </repository>
</repositories>


  <dependencies>
    <dependency>
        <groupId>jakarta.xml.bind</groupId>
        <artifactId>jakarta.xml.bind-api</artifactId>
        <version>${jakarta.xml.bind-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.authentication</groupId>
        <artifactId>jakarta.authentication-api</artifactId>
        <version>${jakarta.authentication-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.security.auth.message</groupId>
        <artifactId>jakarta.security.auth.message-api</artifactId>
        <version>${jakarta.security.auth.message-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.interceptor</groupId>
        <artifactId>jakarta.interceptor-api</artifactId>
        <version>${jakarta.interceptor-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.ejb</groupId>
        <artifactId>jakarta.ejb-api</artifactId>
        <version>${jakarta.ejb-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.security.enterprise</groupId>
        <artifactId>jakarta.security.enterprise-api</artifactId>
        <version>${jakarta.security.enterprise-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.activation</groupId>
        <artifactId>jakarta.activation-api</artifactId>
        <version>${jakarta.activation-api.version}</version>
    </dependency>

    <dependency>
        <groupId>jakarta.enterprise</groupId>
        <artifactId>jakarta.enterprise.cdi-api</artifactId>
        <version>${cdi-api.version}</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>jakarta.inject</groupId>
        <artifactId>jakarta.inject-api</artifactId>
        <version>${jakarta.inject-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.faces</groupId>
        <artifactId>jakarta.faces-api</artifactId>
        <version>${jakarta.faces-api.version}</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>jakarta.servlet</groupId>
        <artifactId>jakarta.servlet-api</artifactId>
        <version>${jakarta.servlet-api.version}</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>jakarta.el</groupId>
        <artifactId>jakarta.el-api</artifactId>
        <version>${jakarta.el-api.version}</version>
    </dependency>
    <dependency>
        <groupId>jakarta.annotation</groupId>
        <artifactId>jakarta.annotation-api</artifactId>
        <version>${jakarta.annotation-api.version}</version>
    </dependency>
    <dependency>
        <groupId>org.glassfish.corba</groupId>
        <artifactId>glassfish-corba-orb</artifactId>
        <version>${glassfish-corba-orb.version}</version>
    </dependency>

  </dependencies>

  <build>
  <plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.10</version>
    <configuration>
        <source>1.8</source>
        <target>1.8</target>
    </configuration>
    <executions>
        <execution>
            <id>copy-dependencies</id>
            <phase>process-resources</phase>
            <goals>
            <goal>copy-dependencies</goal>
            </goals>
            <configuration>
                <stripVersion>true</stripVersion>
            </configuration>
        </execution>
    </executions>
    </plugin>
</plugins>
</build>
</project>
