Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# 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