#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2023 Andreas Wacknitz
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

# Drop Windows CMD files:
<transform file path=usr/share/maven/bin/.+\.cmd$ -> drop>

link path=usr/bin/mvn target=../share/maven/bin/mvn

file path=usr/share/maven/LICENSE
file path=usr/share/maven/NOTICE
file path=usr/share/maven/README.txt
file path=usr/share/maven/bin/m2.conf
file path=usr/share/maven/bin/mvn
file path=usr/share/maven/bin/mvn.cmd
file path=usr/share/maven/bin/mvnDebug
file path=usr/share/maven/bin/mvnDebug.cmd
file path=usr/share/maven/bin/mvnyjp
file path=usr/share/maven/boot/plexus-classworlds-2.8.0.jar
file path=usr/share/maven/boot/plexus-classworlds.license
file path=usr/share/maven/conf/logging/simplelogger.properties
file path=usr/share/maven/conf/settings.xml
file path=usr/share/maven/conf/toolchains.xml
file path=usr/share/maven/lib/aopalliance-1.0.jar
file path=usr/share/maven/lib/aopalliance.license
file path=usr/share/maven/lib/commons-cli-1.8.0.jar
file path=usr/share/maven/lib/commons-cli.license
file path=usr/share/maven/lib/commons-codec-1.17.1.jar
file path=usr/share/maven/lib/commons-codec.license
file path=usr/share/maven/lib/ext/README.txt
file path=usr/share/maven/lib/ext/hazelcast/README.txt
file path=usr/share/maven/lib/ext/redisson/README.txt
file path=usr/share/maven/lib/failureaccess-1.0.2.jar
file path=usr/share/maven/lib/failureaccess.license
file path=usr/share/maven/lib/guava-33.2.1-jre.jar
file path=usr/share/maven/lib/guava.license
file path=usr/share/maven/lib/guice-5.1.0.jar
file path=usr/share/maven/lib/guice.license
file path=usr/share/maven/lib/httpclient-4.5.14.jar
file path=usr/share/maven/lib/httpclient.license
file path=usr/share/maven/lib/httpcore-4.4.16.jar
file path=usr/share/maven/lib/httpcore.license
file path=usr/share/maven/lib/jansi-2.4.1.jar
file path=usr/share/maven/lib/jansi-native/README.txt
file path=usr/share/maven/lib/jansi-native/Windows/arm64/libjansi.so
file path=usr/share/maven/lib/jansi-native/Windows/x86/jansi.dll
file path=usr/share/maven/lib/jansi-native/Windows/x86_64/jansi.dll
file path=usr/share/maven/lib/jansi.license
file path=usr/share/maven/lib/javax.annotation-api-1.3.2.jar
file path=usr/share/maven/lib/javax.annotation-api.license
file path=usr/share/maven/lib/javax.inject-1.jar
file path=usr/share/maven/lib/javax.inject.license
file path=usr/share/maven/lib/jcl-over-slf4j-1.7.36.jar
file path=usr/share/maven/lib/jcl-over-slf4j.license
file path=usr/share/maven/lib/maven-artifact-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-builder-support-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-compat-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-core-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-embedder-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-model-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-model-builder-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-plugin-api-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-repository-metadata-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-resolver-api-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-connector-basic-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-impl-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-named-locks-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-provider-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-resolver-spi-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-transport-file-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-transport-http-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-transport-wagon-1.9.22.jar
file path=usr/share/maven/lib/maven-resolver-util-1.9.22.jar
file path=usr/share/maven/lib/maven-settings-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-settings-builder-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/maven-shared-utils-3.4.2.jar
file path=usr/share/maven/lib/maven-slf4j-provider-$(HUMAN_VERSION).jar
file path=usr/share/maven/lib/org.eclipse.sisu.inject-0.9.0.M3.jar
file path=usr/share/maven/lib/org.eclipse.sisu.inject.license
file path=usr/share/maven/lib/org.eclipse.sisu.plexus-0.9.0.M3.jar
file path=usr/share/maven/lib/org.eclipse.sisu.plexus.license
file path=usr/share/maven/lib/plexus-cipher-2.0.jar
file path=usr/share/maven/lib/plexus-cipher.license
file path=usr/share/maven/lib/plexus-component-annotations-2.1.0.jar
file path=usr/share/maven/lib/plexus-component-annotations.license
file path=usr/share/maven/lib/plexus-interpolation-1.27.jar
file path=usr/share/maven/lib/plexus-interpolation.license
file path=usr/share/maven/lib/plexus-sec-dispatcher-2.0.jar
file path=usr/share/maven/lib/plexus-sec-dispatcher.license
file path=usr/share/maven/lib/plexus-utils-3.5.1.jar
file path=usr/share/maven/lib/plexus-utils.license
file path=usr/share/maven/lib/plexus-xml-3.0.1.jar
file path=usr/share/maven/lib/plexus-xml.license
file path=usr/share/maven/lib/slf4j-api-1.7.36.jar
file path=usr/share/maven/lib/slf4j-api.license
file path=usr/share/maven/lib/wagon-file-3.5.3.jar
file path=usr/share/maven/lib/wagon-http-3.5.3.jar
file path=usr/share/maven/lib/wagon-http-shared-3.5.3.jar
file path=usr/share/maven/lib/wagon-provider-api-3.5.3.jar