glassfish
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.glassfish.main.distributions</groupId> <artifactId>glassfish</artifactId> <version>7.0.24</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2021, 2024 Contributors to Eclipse Foundation. 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.glassfish.main.distributions</groupId> <artifactId>distributions</artifactId> <version>7.0.24</version> </parent> <artifactId>glassfish</artifactId> <packaging>glassfish-distribution</packaging> <name>Glassfish Full Profile Distribution</name> <properties> <glassfish.modules>${project.build.directory}/stage/glassfish7/glassfish/modules</glassfish.modules> <glassfish.appclient>${project.build.directory}/stage/glassfish7/glassfish/lib/appclient</glassfish.appclient> <patches>${basedir}/src/main/patches</patches> </properties> <dependencies> <dependency> <groupId>org.glassfish.main.featuresets</groupId> <artifactId>glassfish</artifactId> <version>${project.version}</version> <type>pom</type> <optional>true</optional> </dependency> <dependency> <groupId>org.glassfish.main.extras</groupId> <artifactId>glassfish-embedded-shell</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.glassfish.main.extras</groupId> <artifactId>glassfish-embedded-static-shell</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.glassfish.main.distributions</groupId> <artifactId>glassfish-common</artifactId> <version>${project.version}</version> <type>zip</type> <optional>true</optional> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>create-domain</id> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>${ant.version}</version> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> <version>1.0b2</version> <exclusions> <exclusion> <groupId>ant</groupId> <artifactId>ant</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <executions> <execution> <id>do stuff</id> <phase>prepare-package</phase> <goals> <goal>run</goal> </goals> <configuration> <target xmlns:if="ant:if" xmlns:unless="ant:unless"> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> <if> <bool> <isgreaterthan arg1="${ant.java.version}" arg2="16"/> </bool> <then> <property name="java17orGreater" value="true"/> </then> </if> <macrodef name="jarupdate"> <attribute name="basedir"/> <attribute name="includes"/> <attribute name="destfile"/> <sequential> <echo>PATCHING</echo> <zip destfile="@{destfile}.tmp"> <zipfileset src="@{destfile}" excludes="@{includes}"/> </zip> <move file="@{destfile}.tmp" tofile="@{destfile}" /> <zip update="true" basedir="@{basedir}" includes="@{includes}" destfile="@{destfile}" /> </sequential> </macrodef> <jarupdate if:set="java17orGreater" basedir="${patches}/microprofile-jwt-auth-api" includes="META-INF/MANIFEST.MF" destfile="${glassfish.modules}/microprofile-jwt-auth-api.jar" /> <jarupdate if:set="java17orGreater" basedir="${patches}/microprofile-rest-client-api" includes="META-INF/MANIFEST.MF" destfile="${glassfish.modules}/microprofile-rest-client-api.jar" /> <jarupdate basedir="${patches}/tyrus-client" includes="META-INF/MANIFEST.MF" destfile="${glassfish.modules}/tyrus-client.jar" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <executions> <execution> <goals> <goal>check-distribution</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>