4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
23 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_VERSION
= 4.11
28 COMPONENT_SUMMARY
= Junit is a unit testing framework for the Java programming language.
29 COMPONENT_PROJECT_URL
= https
://github.com
/junit-team
/junit
30 COMPONENT_SRC
= $(COMPONENT_NAME
)4-r
$(COMPONENT_VERSION
)
31 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
32 COMPONENT_ARCHIVE_HASH
= \
33 sha256
:65c0688d4491864ac53bf50164a02fa2169e14eb10bda6730934d6749d86587d
34 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/r
$(COMPONENT_VERSION
).
tar.gz
35 COMPONENT_FMRI
= developer
/java
/junit
36 COMPONENT_CLASSIFICATION
= Development
/Java
37 COMPONENT_LICENSE
= CPLv1.0
, BSD
39 include $(WS_MAKE_RULES
)/prep.mk
40 include $(WS_MAKE_RULES
)/ant.mk
41 include $(WS_MAKE_RULES
)/ips.mk
45 # These ARGS override what is set in build.xml
46 COMPONENT_BUILD_ARGS
+= -Ddist
=${PROTO_DIR}
47 COMPONENT_BUILD_ARGS
+= -Djavadocdir
=${PROTO_DIR}
48 COMPONENT_BUILD_ARGS
+= -Dversion-status
=""
49 COMPONENT_BUILD_TARGETS
+= dist
56 # Testing is run as part of the build.
57 # To really test AFTER you have installed the resulting package do:
58 # $ java -cp /usr/share/lib/java/junit.jar:/usr/share/doc/junit/samples/org \
59 # junit/samples/money/MoneyTest
60 # ......................
66 REQUIRED_PACKAGES
+= developer
/java
/openjdk7
67 REQUIRED_PACKAGES
+= developer
/java
/openjdk8
68 REQUIRED_PACKAGES
+= runtime
/java
/openjdk7
69 REQUIRED_PACKAGES
+= runtime
/java
/openjdk8