#
|
# 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 2014 Alexander Pyhalov. All rights reserved.
|
# Copyright 2018 Olaf Bohlen. All rights reserved.
|
#
|
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= maven
|
COMPONENT_VERSION= 3.9.6
|
COMPONENT_SUMMARY= Apache Maven is a software project management and comprehension tool
|
COMPONENT_PROJECT_URL= https://maven.apache.org
|
COMPONENT_SRC= apache-maven-$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC)-bin.tar.gz
|
COMPONENT_ARCHIVE_HASH= sha256:6eedd2cae3626d6ad3a5c9ee324bd265853d64297f07f033430755bd0e0c3a4b
|
COMPONENT_ARCHIVE_URL= https://archive.apache.org/dist/maven/maven-3/$(COMPONENT_VERSION)/binaries/$(COMPONENT_ARCHIVE)
|
COMPONENT_FMRI= developer/build/maven
|
COMPONENT_CLASSIFICATION= Development/Java
|
COMPONENT_LICENSE= Apache 2.0
|
COMPONENT_LICENSE_FILE= LICENSE
|
|
include $(WS_MAKE_RULES)/prep.mk
|
include $(WS_MAKE_RULES)/ips.mk
|
|
build:
|
|
install: prep
|
[ -d $(PROTO_DIR)/usr/share/maven ] || mkdir -p $(PROTO_DIR)/usr/share/maven
|
cp -r $(SOURCE_DIR)/* $(PROTO_DIR)/usr/share/maven/
|
|
clean::
|
rm -rf $(BUILD_DIR)
|
|
# Auto-generated dependencies
|
REQUIRED_PACKAGES += shell/ksh93
|