From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wLezM7Ikw2SdSAEASxT56A (envelope-from ) for ; Fri, 28 Jul 2023 04:15:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gFepM7Ikw2R0nwAAauVa8A (envelope-from ) for ; Fri, 28 Jul 2023 04:15:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EDAAC67A91 for ; Fri, 28 Jul 2023 04:15:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690510514; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=myC6UAWWgJdgEjz1Vr35H7/002w3/ntuNBoRIwynfns=; b=iOmKuZIOmiimc03vmxEpLSF++HUeQ59I45vC0ecR599npRlLOn/c6C8FYuU40xZ/Xit1Dz KV+0z+ML9x36B+hN4ULoaFlWo9i6r5/QKuO05Cizr3iaeZEvoVk4brxbOmt8SgaePQA3kP R3/DU+7S6lT2M73fgxdS2B2qxwTifKd7j/6XMi4NiN5OoTgqAx7+1Vk1yFXIQBLh/KFmX3 PCYrGpbCs0YL7zuoM8JmGblPfEFmNGmYWAoTsNgTj62OGaPFqOeifIK1sw33TZlsFl9yP7 dGv7/dnkZwGC56CZsSUMDMQyEBOpN/UsBzA2pFb6D7bOvemvdRl/drOM57Ksnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690510514; a=rsa-sha256; cv=none; b=bFD5vBX3u8pA65G2XNdIsPvvraICsgIbsWEt+K+FNKWJZGL29NfJVULp4Pc7+C9D+BxQRQ HasZEObNtGPlDH2vb90KntRRSi1WmPUZ6YhtBSLBwpbgVymylmblJRUuV7tZj8HRVZxIqs gjr9jnikvjbF2flzaj2ZaY1D9Lr8vCA9j1CJeOVkoI3N3+rJRkQp/D6HpLMZ0iWOKZLQQp CSPk0NsRmu0qt3kG0Ez/kpPO5uxzfbMn1HNIbKs5gd1T5YoCbO4MuaVMTdu3NX708y6w2s agXWGAkArVJakzmO/4cH7w5biQ7RCFMBDmJk5WxmUj4k2IBNupEi9uoEXiSsQQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPCvs-0006FJ-2i; Thu, 27 Jul 2023 22:10:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPCvd-0005ub-IP for help-guix@gnu.org; Thu, 27 Jul 2023 22:10:08 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPCvb-0003wj-Tt for help-guix@gnu.org; Thu, 27 Jul 2023 22:10:05 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id 36D2921076; Fri, 28 Jul 2023 04:09:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 884D88009B; Fri, 28 Jul 2023 04:09:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id z_iDEvDpsnqj; Fri, 28 Jul 2023 04:09:47 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id C5AD980098; Fri, 28 Jul 2023 04:09:46 +0200 (CEST) Message-ID: <7dd90295-0e7a-720a-93df-b2f5c7cba899@makinata.eu> Date: Fri, 28 Jul 2023 03:09:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Guidance for packaging Java programs Content-Language: en-US To: Julien Lepiller Cc: bjoern.hoefling@bjoernhoefling.de, help-guix References: <2c37e0d5-b110-ab8a-8810-7f73ab0ec180@makinata.eu> From: Bruno Victal In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@makinata.eu; helo=smtpm3.myservices.hosting X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.091, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -4.64 X-Migadu-Queue-Id: EDAAC67A91 X-Migadu-Spam-Score: -4.64 X-Migadu-Scanner: mx0.migadu.com X-TUID: DN9WN3Wy1o9z Hi Julien, On 2023-07-13 18:48, Julien Lepiller wrote: > If you feel like helping, maybe an importer would be a good first step :). You should be able to get info from Maven Central (get the pom files, they are XML files and we have a module somewhere to handle them (guix build maven pom) I think). It should work for maven and gradle packages at least. Mapping maven name to guix names might also be challenging, but we can solve with an upstream-name property. > > Here are some more resources if you want to learn more about Guix and Java: > > I gave a talk about bootstrapping Maven in 2020: > > https://xana.lepiller.eu/guix-days-2020/guix-days-2020-julien-lepiller-bootstrapping-maven-480.mp4 Thanks! This was very helpful in providing an overview of the system. Can we say that the maven in Guix has already been “bootstrapped” or is there something still missing? Given the large and non-trivial nature of just the “bootstrap” part, would it make sense to split gnu/packages/maven.scm into maven-bootstrap.scm and maven-.scm files to keep things manageable? The maven-importer situation is quite unfortunate due to the often absent source location, a quick glance here suggests that the best we might hope for is an automation-½ approach: generate “skeleton” package definitions and manually fill-in the source & co. Some additional maven related questions: * What is 'sisu.sh' & 'components.sh' and when/what are they used for? * Is it common for maven plugins to end up with package definitions that make heavy use of inherit? (a quick glance at gnu/packages/maven.scm gives the impression that it all looks very fragile due to the matryoshka-like inheritance rabbit-holes) -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.