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

META-INF.maven.fish.payara.server.payara-aggregator.pom.xml Maven / Gradle / Ivy

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

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 2011-2015 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
    or packager/legal/LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.

    Portions Copyright [2017-2022] Payara Foundation and/or affiliates
-->

<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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>fish.payara.server</groupId>
    <artifactId>payara-aggregator</artifactId>
    <version>5.2022.2</version>
    <packaging>pom</packaging>

    <name>Payara Project</name>
    <url>https://github.com/payara/Payara</url>

    <modules>
        <module>nucleus</module>
        <module>appserver</module>
        <module>api</module>
    </modules>

    <scm>
        <connection>scm:git:[email protected]:payara/payara.git</connection>
        <url>scm:git:[email protected]:payara/payara.git</url>
        <developerConnection>scm:git:[email protected]:payara/payara.git</developerConnection>
        <tag>payara-server-5.2022.2</tag>
    </scm>

    <issueManagement>
        <system>Github</system>
        <url>https://github.com/payara/Payara/issues</url>
    </issueManagement>

    <developers>
        <developer>
            <name>Payara Team</name>
            <email>[email protected]</email>
            <organization>Payara Foundation</organization>
            <organizationUrl>http://www.payara.fish</organizationUrl>
        </developer>
    </developers>

    <licenses>
        <license>
            <name>CDDL + GPLv2 with classpath exception</name>
            <url>https://raw.githubusercontent.com/payara/Payara/master/LICENSE.txt</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>

    <repositories>
        <repository>
            <id>payara-patched-externals</id>
            <name>Payara Patched Externals</name>
            <url>https://raw.github.com/payara/Payara_PatchedProjects/master</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>payara-nexus-artifacts</id>
            <url>https://nexus.payara.fish/repository/payara-artifacts</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>

    </repositories>

    <properties>
        <maven.clean.plugin.version>3.1.0</maven.clean.plugin.version>
        <maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version>
        <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
        <maven.jar.plugin.version>3.1.1</maven.jar.plugin.version>
        <maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version>
        <maven.resources.plugin.version>3.1.0</maven.resources.plugin.version>
        <maven.release.plugin.version>2.5.3</maven.release.plugin.version>
        <maven.dependency.plugin.version>3.1.1</maven.dependency.plugin.version>
        <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
        <maven.deploy.plugin.version>3.0.0-M1</maven.deploy.plugin.version>
        <maven.source.plugin.version>3.1.0</maven.source.plugin.version>
        <maven.javadoc.plugin.version>3.1.1</maven.javadoc.plugin.version>
        <maven.install.plugin.version>3.0.0-M1</maven.install.plugin.version>
        <maven.bundle.plugin.version>4.1.0</maven.bundle.plugin.version>
        <maven.failsafe.plugin.version>3.0.0-M5</maven.failsafe.plugin.version>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <javase.version>1.8</javase.version>
        <deploy.skip>true</deploy.skip>

        <!-- BOM-referenced versions -->
        <jakartaee.api.version>8.0.0</jakartaee.api.version>
        <servlet-api.version>4.0.2</servlet-api.version>
        <grizzly.version>2.4.4.payara-p7</grizzly.version>
        <jax-rs-api.impl.version>2.1.6</jax-rs-api.impl.version>
        <jersey.version>2.34.payara-p2</jersey.version>
        <jakarta.validation.version>2.0.2</jakarta.validation.version>
        <hibernate.validator.version>6.1.5.Final</hibernate.validator.version>
        <hibernate.validator-cdi.version>6.1.5.Final</hibernate.validator-cdi.version>
        <jakarta.el.version>3.0.3.payara-p5</jakarta.el.version>
        <jakarta.el-api.version>3.0.3.payara-p5</jakarta.el-api.version>
        <javax.cache-api.version>1.1.1</javax.cache-api.version>
        <mail.version>1.6.4.payara-p1</mail.version>
        <jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version>
        <hk2.version>2.6.1.payara-p7</hk2.version>
        <osgi-resource-locator.version>1.0.3</osgi-resource-locator.version>
        <stax-api.version>1.0-2</stax-api.version>
        <jackson.version>2.12.6.20220326</jackson.version>
        <snakeyaml.version>1.28</snakeyaml.version>
        <hazelcast.version>4.2</hazelcast.version>
        <hazelcast.kubernetes.version>2.2.3.payara-p1</hazelcast.kubernetes.version>
        <jaxb-api.version>2.3.2</jaxb-api.version>
        <jaxb-impl.version>2.3.2</jaxb-impl.version>
        <jakarta.ejb-api.version>3.2.6</jakarta.ejb-api.version>
        <jsp-api.version>2.3.6.payara-p1</jsp-api.version>
        <jsp-impl.version>2.3.4</jsp-impl.version>
        <jstl-api.version>1.2.7</jstl-api.version>
        <jstl-impl.version>1.2.5</jstl-impl.version>
        <jakarta.faces-api.version>2.3.2</jakarta.faces-api.version>
        <mojarra.version>2.3.14.payara-p3</mojarra.version>
        <tyrus.version>1.17.payara-p1</tyrus.version>
        <jaxb-extra-osgi.version>2.3.0</jaxb-extra-osgi.version>
        <json.bind-api.version>1.0.2</json.bind-api.version>
        <yasson.version>1.0.9</yasson.version>
        <jakarta-persistence-api.version>2.2.3</jakarta-persistence-api.version>
        <eclipselink.version>2.7.9.payara-p1</eclipselink.version>
        <jakarta.transaction-api.version>1.3.3</jakarta.transaction-api.version>
        <jakarta.interceptor-api.version>1.2.5</jakarta.interceptor-api.version>
        <jakarta.inject.version>1.0</jakarta.inject.version>
        <cdi-api.version>2.0.2</cdi-api.version>
        <weld.version>3.1.8.Final</weld.version>
        <weld-api.version>3.1.SP4</weld-api.version>
        <jakarta.security.enterprise-api.version>1.0.2</jakarta.security.enterprise-api.version>
        <jakarta.security.enterprise.version>1.1-b01.payara-p4</jakarta.security.enterprise.version>
        <jakarta.security.jacc-api.version>1.6.1</jakarta.security.jacc-api.version>
        <jakarta.security.auth.message-api.version>1.1.3</jakarta.security.auth.message-api.version>
        <jms-api.version>2.0.2</jms-api.version>
        <mq.version>5.1.4.payara-p2</mq.version>
        <jakarta.batch-api.version>1.0.2</jakarta.batch-api.version>
        <com.ibm.jbatch.container.version>1.0.3.payara-p3</com.ibm.jbatch.container.version>
        <com.ibm.jbatch.spi.version>1.0.3</com.ibm.jbatch.spi.version>
        <jaxws-api.version>2.3.2</jaxws-api.version>
        <jakarta.jws-api.version>1.1.1</jakarta.jws-api.version>
        <webservices.version>2.4.3.payara-p6</webservices.version>
        <woodstox.version>5.1.0</woodstox.version>
        <stax2-api.version>4.2.1</stax2-api.version>
        <jakarta.xml.registry-api.version>1.0.10</jakarta.xml.registry-api.version>
        <jakarta.xml.rpc-api.version>1.1.4</jakarta.xml.rpc-api.version>
        <jakarta.resource-api.version>1.7.4</jakarta.resource-api.version>
        <jakarta.enterprise.deploy-api.version>1.7.2</jakarta.enterprise.deploy-api.version>
        <jakarta.management.j2ee-api.version>1.1.4</jakarta.management.j2ee-api.version>
        <jakarta.activation-api.version>1.2.1</jakarta.activation-api.version>
        <jakarta.activation-impl.version>1.2.1</jakarta.activation-impl.version>
        <istack-commons-runtime.version>3.0.10</istack-commons-runtime.version>
        <jline.version>3.13.3</jline.version>
        <wsdl4j.version>1.6.3</wsdl4j.version>
        <jsonp.version>1.1.6</jsonp.version>
        <jbi.version>1.0</jbi.version>
        <jakarta-platform.version>8.0.0</jakarta-platform.version>
        <microprofile-release.version>4.1</microprofile-release.version>
        <microprofile-opentracing.version>2.0</microprofile-opentracing.version>
        <microprofile-config.version>2.0</microprofile-config.version>
        <microprofile-fault-tolerance.version>3.0</microprofile-fault-tolerance.version>
        <microprofile-jwt-auth.version>1.2.1</microprofile-jwt-auth.version>
        <microprofile-healthcheck.version>3.1</microprofile-healthcheck.version>
        <microprofile-metrics.version>3.0</microprofile-metrics.version>
        <microprofile-rest-client.version>2.0</microprofile-rest-client.version>
        <microprofile-openapi.version>2.0</microprofile-openapi.version>
        <payara-arquillian-container.version>2.4.1</payara-arquillian-container.version>
        <payara.security-connectors.version>2.3.0</payara.security-connectors.version>
        <opentracing.version>0.33.0</opentracing.version>
        <h2db.version>1.4.200</h2db.version>
        <websocket-api.version>1.1.2</websocket-api.version>
        <concurrent-api.version>1.1.2</concurrent-api.version>
        <concurrent.version>1.0.payara-p2</concurrent.version>
        <asm.version>9.2</asm.version>
        <monitoring-console-api.version>1.2</monitoring-console-api.version>
        <monitoring-console-process.version>1.8.1</monitoring-console-process.version>
        <monitoring-console-webapp.version>1.8.1</monitoring-console-webapp.version>
        <validation.xml.root>${project.build.outputDirectory}</validation.xml.root>
        <payara.transformer>0.2.7</payara.transformer>
        <osgi.version>7.0.0</osgi.version>
        <osgi.dto.version>1.1.0</osgi.dto.version>
    </properties>

    <profiles>
        <profile>
            <id>source</id>
            <activation>
                <property>
                    <name>source</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-source-plugin</artifactId>
                        <configuration>
                            <excludeResources>true</excludeResources>
                            <excludes>**/*.properties</excludes>
                            <excludes>**/*.jnlp</excludes>
                            <excludes>**/*.class</excludes>
                            <excludes>**/*.html</excludes>
                            <includePom>false</includePom>
                            <finalName>payara-${project.version}</finalName>
                            <includePom>false</includePom>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-sources-aggregate</id>
                                <phase>pre-site</phase>
                                <inherited>false</inherited>
                                <goals>
                                    <goal>aggregate</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>javadoc</id>
            <activation>
                <property>
                    <name>javadoc</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <finalName>payara-${project.version}</finalName>
                <plugins>
                    <plugin>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <configuration>
                            <docencoding>UTF-8</docencoding>
                            <includeDependencySources>false</includeDependencySources>
                            <!-- This parameter is to be added when using JDK8 -->
                            <additionalOptions>
                                <additionalOption>-Xdoclint:none</additionalOption>
                            </additionalOptions>
                            <finalName>payara-${project.version}</finalName>
                            <minmemory>512m</minmemory>
                            <maxmemory>2g</maxmemory>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-javadoc-aggregate</id>
                                <phase>pre-site</phase>
                                <inherited>false</inherited>
                                <configuration>
                                    <verbose>true</verbose>
                                </configuration>
                                <goals>
                                    <goal>aggregate-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <artifactId>maven-jar-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>javadoc-jar</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                                <phase>pre-site</phase>
                                <inherited>false</inherited>
                                <configuration>
                                    <classesDirectory>${project.build.directory}/site/apidocs</classesDirectory>
                                    <classifier>javadoc</classifier>
                                    <archive>
                                        <manifestFile />
                                    </archive>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>gpgsign</id>
            <activation>
                <property>
                    <name>gpgsign</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <!-- only internal modules deployed, so tests can run without Server build built -->
            <id>deploy-internals</id>
            <properties>
                <deploy.skip>false</deploy.skip>
            </properties>

            <distributionManagement>
                <repository>
                    <id>payara-nexus-artifacts</id>
                    <url>https://nexus.payara.fish/repository/payara-artifacts/</url>
                </repository>
                <snapshotRepository>
                    <id>payara-nexus-snapshots</id>
                    <url>https://nexus.payara.fish/repository/payara-snapshots/</url>
                </snapshotRepository>
            </distributionManagement>
        </profile>

    </profiles>

    <build>
        <defaultGoal>install</defaultGoal>

        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${maven.jar.plugin.version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>${maven.source.plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${maven.javadoc.plugin.version}</version>
                    <configuration>
                        <additionalOptions>
                            <additionalOption>-Xdoclint:none</additionalOption>
                        </additionalOptions>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>${maven.gpg.plugin.version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>${maven.install.plugin.version}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>${maven.release.plugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${maven.compiler.plugin.version}</version>
                    <configuration>
                        <source>${javase.version}</source>
                        <target>${javase.version}</target>
                        <excludes>
                            <exclude>**/.ade_path/**</exclude>
                        </excludes>
                        <testExcludes>
                            <testExclude>**/.ade_path/**</testExclude>
                        </testExcludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>${maven.deploy.plugin.version}</version>
                    <configuration>
                        <retryFailedDeploymentCount>10</retryFailedDeploymentCount>
                        <skip>${deploy.skip}</skip>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.felix</groupId>
                    <artifactId>maven-bundle-plugin</artifactId>
                    <version>${maven.bundle.plugin.version}</version>
                    <configuration>
                        <!-- By default, we don't export anything. -->
                        <Export-Package />
                        <instructions>
                            <!--
                                Read all the configuration from osgi.bundle file, if it exists.
                            -->
                            <_include>-osgi.bundle</_include>
                        </instructions>
                        <excludeDependencies>tools-jar</excludeDependencies>
                        <supportedProjectTypes>
                            <supportedProjectType>glassfish-jar</supportedProjectType>
                            <supportedProjectType>jar</supportedProjectType>
                        </supportedProjectTypes>
                    </configuration>
                </plugin>
                <!-- Flatten plugin for use in public artifacts. -->
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>flatten-maven-plugin</artifactId>
                    <version>1.1.0</version>
                    <configuration>
                        <flattenMode>ossrh</flattenMode>
                        <pomElements>
                            <developers>resolve</developers>
                            <build>remove</build>
                        </pomElements>
                        <flattenedPomFilename>target/flattened-pom.xml</flattenedPomFilename>
                    </configuration>
                    <executions>
                        <!-- enable flattening -->
                        <execution>
                            <id>flatten</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>flatten</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>xml-maven-plugin</artifactId>
                    <version>1.0.2</version>
                    <executions>
                        <execution>
                            <id>validate-xml-files</id>
                            <goals>
                                <goal>validate</goal>
                            </goals>
                            <phase>test</phase>
                            <configuration>
                                <validationSets>
                                    <validationSet>
                                        <dir>${validation.xml.root}</dir>
                                        <includes>
                                            <include>**/*.xml</include>
                                        </includes>
                                        <excludes>
                                            <!-- these files contain templates with placeholders -->
                                            <exclude>**/glassfish/lib/install/templates/resources/custom/**</exclude>
                                            <!-- no xml in file yet -->
                                            <exclude>**/payara5/mq/etc/registry/servicetag.xml</exclude>
                                        </excludes>
                                    </validationSet>
                                </validationSets>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy