| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 1997, 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.glassfish.main.security</groupId> |
| <artifactId>securitymodule</artifactId> |
| <version>7.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>security-ee</artifactId> |
| <packaging>glassfish-jar</packaging> |
| |
| <name>Java EE Security Core Classes</name> |
| |
| <developers> |
| <developer> |
| <id>kumarjayanti</id> |
| <name>V B Kumar Jayanti</name> |
| <organization>Oracle, Inc.</organization> |
| <roles> |
| <role>developer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>nitkal</id> |
| <name>Nithya Subramanian</name> |
| <organization>Oracle, Inc.</organization> |
| <roles> |
| <role>developer</role> |
| </roles> |
| </developer> |
| </developers> |
| |
| <properties> |
| <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish.main.security</groupId> |
| <artifactId>security</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency><!-- for AuditModule --> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>glassfish-ee-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.admin</groupId> |
| <artifactId>config-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.deployment</groupId> |
| <artifactId>dol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>common-util</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.security</groupId> |
| <artifactId>ssl-impl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.deployment</groupId> |
| <artifactId>deployment-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.authentication</groupId> |
| <artifactId>jakarta.authentication-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.authorization</groupId> |
| <artifactId>jakarta.authorization-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.exousia</groupId> |
| <artifactId>exousia</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.security</groupId> |
| <artifactId>jaspic.provider.framework</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>internal-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <!-- Don't set scope as provided. See issue #5992 --> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>glassfish-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.ejb</groupId> |
| <artifactId>jakarta.ejb-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.ejb</groupId> |
| <artifactId>ejb-internal-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.connectors</groupId> |
| <artifactId>connectors-internal-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.external</groupId> |
| <artifactId>management-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.gmbal</groupId> |
| <artifactId>gmbal</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.libpam4j</groupId> |
| <artifactId>libpam4j</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.annotations</groupId> |
| <artifactId>logging-annotation-processor</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/main/java</sourceDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>**/*.properties</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*.properties</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*.1</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/admin-keyfile</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/keyfile</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*.jks</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/secure.seed</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/server.policy</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/login.conf</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <probe-provider-class-names>com.sun.enterprise.security.auth.realm.RealmsProbeProvider,com.sun.enterprise.security.WebSecurityDeployerProbeProvider,com.sun.enterprise.security.EjbSecurityPolicyProbeProvider</probe-provider-class-names> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-installed</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>solarisrealm</groupId> |
| <artifactId>libsolsparcauth</artifactId> |
| <version>1.0</version> |
| <type>so</type> |
| </artifactItem> |
| <artifactItem> |
| <groupId>solarisrealm</groupId> |
| <artifactId>libsolx86auth</artifactId> |
| <version>1.0</version> |
| <type>so</type> |
| </artifactItem> |
| </artifactItems> |
| <stripVersion> |
| true |
| </stripVersion> |
| <!--<outputDirectory>${maven.project.build.outputDirectory}</outputDirectory>--> |
| <outputDirectory>target/classes</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |