From nobody Wed Dec 24 20:26:21 2025 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dc3LR0B49z6LXFh for ; Wed, 24 Dec 2025 20:26:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dc3LQ6VJpz4KMP for ; Wed, 24 Dec 2025 20:26:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766607982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kR07rScO8O/fpWa7Xd1OOli0nSq3Tpqm5Mkatd4nDVI=; b=ILjt6xa8pRC3GTRI3MQQm6h15k1R5feKlQGzhhwZpliAORibtQLi7n8E4dZ68r9rkkjF2A lMYWpLsU/4bMFaZFhwtJuqyQCv2oW7zOySxmd4NsniAcB2p3bDKEGxbHpvhmf2Zn6N4Nbt XxTUeiP1/KtBn5RbcBv1lNY0W4pgYrP1abK2d1JzGJLyg+HCjAhLo2UVfQUo26KdZHz3yC IBqK05W0spHCGUQ4eYxYDp0xv4wQjenO262yVe2NtfyO9pfupzc+zNk2sFQiUWWIc3MyUw FTqiY3j1kGOKiY1CHbNNjBFc3OZFZ7lkXbsoQhrOaqZlnADEeqkThlHUVu6eMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766607982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kR07rScO8O/fpWa7Xd1OOli0nSq3Tpqm5Mkatd4nDVI=; b=F8GNb280WefwsVZnpKO61d9N2rxWXGWDhTq1OvhBiGNTdxWcgW7LDtB74L6BaG2mi5ZXjv nS8j62GZjjQq5hW3phc4OINpjVzSim1fqjI23cI3LhG/lvVc9NqWg/uTz1eEiMfSZemT7f MMwvwlrgn9wDmhKDQXOjcoG/5ir4MLAbvhVaSJtFv0dYJENY69XsSwqhLXmzFvx6+3o+9/ 7NDfYDegS7LI3Oi/isEdLfZMcPDF6sG6uFOK1WAv/tWWtaKYRm8VLijIktAUOLA11w3GuZ sLDlcTOise2vcoQU7ffWTBcA5JtpAIbaqJZFb7BXGkHSjGpfaAcYf5szle+wRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766607982; a=rsa-sha256; cv=none; b=lHQkZ/Jskd3pijK3NUhvZbAH5PxhyZ0nhxrNH6G8fqUUrhpbzVthkbNAtX7lm9DMsk0qrH xosQEFsn/ZlaivXEwaldEunpeVOPS8Qosd+fGR/q6XZGAuAlEz8yNssKmn/Azv60x+4UmP WPJEHr4FLy8zHN3Yhe82PDVCsOR3stzZ1qr6thC90U+HdXPXKbB3zZOcxEr+iTxhEqd56K wkFLvNxtJ1q02Zx+ZVUGmx4eEYHXkWAfXYH0vK28XY1bjo2fFX70ObcSz2zDJ9s7EET0A2 DPOiyndBHiG3PaGCX2pXnOy7L0c1IJT0/BvR7776qSweZBX8zE+k8u8d2A3KZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dc3LQ65p1zxVv for ; Wed, 24 Dec 2025 20:26:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BOKQM1C083129 for ; Wed, 24 Dec 2025 20:26:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BOKQMpc083128 for java@FreeBSD.org; Wed, 24 Dec 2025 20:26:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 272855] Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 21 Date: Wed, 24 Dec 2025 20:26:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272855 --- Comment #25 from Mikhail Teterin --- (In reply to Michael Osipov from comment #24) > Nuke it, unless there is a ports consumer people are better of using Mave= n, > Maven Resolver Ant Tasks, Gradle or something else If we want consistency, then the same approach -- abandoning ports in favor= of each "ecosphere's" respective package-mananger -- should be applied to Pyth= on, Ruby, Perl, Javascript, and Go software. Oh, and Rust too! > only the bundled JARs have been tested and blessed by upstream This is an unfortunate state of affairs, and we don't succumb to this logic= in other places. For example, libjpeg-turbo was a replacement for libjpeg, and= we would've dismissed concerns of maintainers/authors of any JPEG-using softwa= re about potential incompatibilities as FUD. We've also gone through some effort to stop depending on the particular ver= sion of a shared library in the ports -- the insistence on the exact version of = each dependency -- is the exact opposite of that view. The syntax of pom.xml all= ows specifying version-ranges, but the prevailing opinion in the Java world fro= wns at that (bizarrely)... I wish, FreeBSD's Java-people have developed some way to _uniformly_ build Maven-using software -- perhaps, with Mk/Uses/maven.mk -- so that: 1. No individual port for each dependency would be required -- here I agree with Michael -- even if pkg still registered the JARs as runtime dependenci= es. 2. Different packages using the same dependencies (such as log4j) used the = same version (preferably the latest) of each dependency. It'd probably require s= ome standardized manipulations of the upstream's pom.xml -- sort of how we manipulate the "auto" tools, replacing versions with ranges and changing dependency types into "system". 3. Maven repository lived in a standard location -- /usr/ports/distfiles/m2= ? --=20 You are receiving this mail because: You are on the CC list for the bug.=