blob: 7bb4cd92944d90cd5513c472019cf534f08e8038 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2021 Contributors to the Eclipse Foundation
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
-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>stage-distribution</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<!-- glassfish-common -->
<fileSet>
<directory>${temp.dir}/glassfish-common/${install.dir.name}</directory>
<fileMode>755</fileMode>
<includes>
<include>bin/**</include>
</includes>
<outputDirectory>${install.dir.name}</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/glassfish-common/${install.dir.name}</directory>
<excludes>
<exclude>bin/**</exclude>
</excludes>
<outputDirectory>${install.dir.name}</outputDirectory>
</fileSet>
<!-- appclient-scripts -->
<fileSet>
<directory>${temp.dir}/appclient-scripts/glassfish/bin</directory>
<fileMode>755</fileMode>
<outputDirectory>${install.dir.name}/glassfish/bin</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/appclient-scripts/glassfish/config</directory>
<outputDirectory>${install.dir.name}/glassfish/config</outputDirectory>
</fileSet>
<!-- webservices-scripts -->
<fileSet>
<directory>${temp.dir}/webservices-scripts/glassfish/bin</directory>
<fileMode>755</fileMode>
<outputDirectory>${install.dir.name}/glassfish/bin</outputDirectory>
</fileSet>
<!-- cmp-scripts -->
<fileSet>
<directory>${temp.dir}/cmp-scripts/glassfish/bin</directory>
<fileMode>755</fileMode>
<outputDirectory>${install.dir.name}/glassfish/bin</outputDirectory>
</fileSet>
<!-- mq -->
<fileSet>
<directory>${temp.dir}/mq-distribution/mq</directory>
<excludes>
<exclude>etc/imqenv.conf</exclude>
</excludes>
<outputDirectory>${install.dir.name}/mq</outputDirectory>
</fileSet>
<!-- mq customized config -->
<fileSet>
<directory>src/main/mq-etc</directory>
<outputDirectory>${install.dir.name}/mq/etc</outputDirectory>
</fileSet>
<!-- javadb -->
<fileSet>
<directory>${temp.dir}/derby/</directory>
<excludes>
<exclude>demo/**</exclude>
<exclude>docs/**</exclude>
<exclude>javadoc/**</exclude>
<exclude>test/**</exclude>
</excludes>
<outputDirectory>${install.dir.name}/javadb</outputDirectory>
</fileSet>
<!-- lib/dtds -->
<fileSet>
<directory>${temp.dir}/appserver-dtds/glassfish/lib/dtds</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/dtds</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/nucleus-dtds/lib/dtds</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/dtds</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/descriptors/glassfish/lib/dtds</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/dtds</outputDirectory>
</fileSet>
<!-- lib/schemas -->
<fileSet>
<directory>${temp.dir}/nucleus-schemas/lib/schemas</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/schemas</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/appserver-schemas/glassfish/lib/schemas</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/schemas</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/descriptors/glassfish/lib/schemas</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/schemas</outputDirectory>
</fileSet>
<!-- lib/install/ -->
<fileSet>
<directory>${temp.dir}/jdbc-ra/glassfish/lib/install/applications</directory>
<includes>
<include>__cp_jdbc_ra/**</include>
<include>__dm_jdbc_ra/**</include>
<include>__ds_jdbc_ra/**</include>
<include>__xa_jdbc_ra/**</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/templates/glassfish/lib/install/databases/dbvendormapping</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/databases/dbvendormapping</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/templates/glassfish/lib/install/templates/resources/jdbc</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/templates/resources/jdbc</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/descriptors/glassfish/lib/install/templates/resources/custom</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/templates/resources/custom</outputDirectory>
</fileSet>
<!-- lib/install/applications -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>ejb-timer-service-app.war</include>
<include>mejb.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/jaxr-ra-rar</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications/jaxr-ra</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/jmsra/glassfish/lib/install/applications/jmsra</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications/jmsra</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>wstx-services.war</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications/metro</outputDirectory>
</fileSet>
<!-- admingui -->
<fileSet>
<directory>${temp.dir}/war</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/applications/__admingui</outputDirectory>
</fileSet>
<!-- lib/install/databases -->
<fileSet>
<directory>${temp.dir}/ejb-timer-databases/glassfish/lib/install/databases</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/databases</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}/batch-databases/glassfish/lib/install/databases</directory>
<outputDirectory>${install.dir.name}/glassfish/lib/install/databases</outputDirectory>
</fileSet>
<!-- staging jars -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>nucleus-domain.jar</include>
<include>appserver-domain.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/common/templates/gf</outputDirectory>
</fileSet>
<!-- lib/asadmin/ -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>server-mgmt.jar</include>
<include>osgi-cli-interactive.jar</include>
<include>cluster-cli.jar</include>
<include>cli-optional.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/asadmin</outputDirectory>
</fileSet>
<!-- lib/client -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>appserver-cli.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/client</outputDirectory>
</fileSet>
<!-- lib/appclient -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>weld-se-shaded.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/appclient</outputDirectory>
</fileSet>
<!-- lib/monitor/ -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>flashlight-agent.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/monitor</outputDirectory>
</fileSet>
<!-- lib/embedded -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>glassfish-embedded-shell.jar</include>
<include>glassfish-embedded-static-shell.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/embedded</outputDirectory>
</fileSet>
<!-- lib/deployment -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>sun-as-jsr88-dm.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib/deployment</outputDirectory>
</fileSet>
<!-- lib/ -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>jakartaee.jar</include>
<include>appserv-rt.jar</include>
<include>gf-client.jar</include>
<include>grizzly-npn-api.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib</outputDirectory>
</fileSet>
<!-- modules/lib -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>grizzly-npn-api.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/lib</outputDirectory>
</fileSet>
<!-- felix -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>felix.jar</include>
</includes>
<outputDirectory>${install.dir.name}/glassfish/osgi/felix/bin</outputDirectory>
</fileSet>
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>org.apache.felix.*.jar</include>
<include>org.osgi.util.function.jar</include>
<include>org.osgi.util.promise.jar</include>
</includes>
<excludes>
<exclude>org.apache.felix.bundlerepository.jar</exclude>
</excludes>
<outputDirectory>${install.dir.name}/glassfish/modules/autostart</outputDirectory>
</fileSet>
<!-- staging modules -->
<fileSet>
<directory>${temp.dir}</directory>
<includes>
<include>*.jar</include>
</includes>
<excludes>
<exclude>server-mgmt.jar</exclude>
<exclude>osgi-cli-interactive.jar</exclude>
<exclude>flashlight-agent.jar</exclude>
<exclude>org.apache.felix.configadmin.jar</exclude>
<exclude>org.apache.felix.fileinstall.jar</exclude>
<exclude>org.apache.felix.gogo.command.jar</exclude>
<exclude>org.apache.felix.gogo.runtime.jar</exclude>
<exclude>org.apache.felix.gogo.shell.jar</exclude>
<exclude>org.apache.felix.scr.jar</exclude>
<exclude>org.osgi.util.function.jar</exclude>
<exclude>org.osgi.util.promise.jar</exclude>
<exclude>org.apache.felix.eventadmin.jar</exclude>
<exclude>felix.jar</exclude>
<exclude>nucleus-domain.jar</exclude>
<exclude>appserver-domain.jar</exclude>
<exclude>grizzly-npn-api.jar</exclude>
<exclude>cli-optional.jar</exclude>
<exclude>appserver-cli.jar</exclude>
<exclude>cluster-cli.jar</exclude>
<exclude>glassfish-embedded-shell.jar</exclude>
<exclude>glassfish-embedded-static-shell.jar</exclude>
<exclude>javaee.jar</exclude>
<exclude>appserv-rt.jar</exclude>
<exclude>descriptors.jar</exclude>
<exclude>templates.jar</exclude>
<exclude>sun-as-jsr88-dm.jar</exclude>
<exclude>gf-client.jar</exclude>
<exclude>mejb.jar</exclude>
<exclude>weld-se-core.jar</exclude>
<exclude>weld-se-shaded.jar</exclude>
</excludes>
<outputDirectory>${install.dir.name}/glassfish/modules</outputDirectory>
</fileSet>
</fileSets>
</assembly>