From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7966138359 for ; Mon, 13 Jul 2020 03:40:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC78FE0872; Mon, 13 Jul 2020 03:40:10 +0000 (UTC) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AE8BE0872 for ; Mon, 13 Jul 2020 03:40:10 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id 22so11865122wmg.1 for ; Sun, 12 Jul 2020 20:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lC/FtKEhizDe7u+i2MhiBxM7ejJKfwZI+OtsQGWZoOQ=; b=d73eaXmr5cIRpLRDiwdEOEnUDYOxsE+jsCVQ/w1R5esN3U4QymzNvstM8aD1XujwOd zQLnn9c09w3XZJGDqobTIeYqF5ovWMdUkFIKMnlCGxadsyjDkoGueAS3y9S/xaxhp/mA gjI6x/7tV7yHbgySNPJtkb/VdvIARI9EpGKTnZNbFUEf4WQJknYIwoO9Ph4UUbm7JkUl D3kTnC/waMKFEMcbvvwk07f7zLCS9i248lUjwBpelFeyJEWAE892Rbfl9UxeTs/z1H+p ettrqGNQBFeguNKQXHux2K9bVF0Ydj8S2eqX2z9fvBR6tqxDPfiPtt+PBdQWsD1EphCB 7qNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lC/FtKEhizDe7u+i2MhiBxM7ejJKfwZI+OtsQGWZoOQ=; b=QcNDJBqfxNd7jED0H6yqfpFCS9GvkN2tuAkV+62CO5xOxETCdN7jN3Be1Lfx5EeTpY j2GuHKlMfQny24Fx1vLlvwcASbT6xt7x1cJuyLRjEkVceI+00qzOdrvOorih7uf0dv+6 OgtuEdq8yAn8fdt8bhaIzK0Sbd7iT7maa/Zn1kzZVTKiywn6H4lKEtBdL1/kBKqemFj6 5qaeNvvzrgkGehHDvSfzwMNYX362MXf1xc9hk0hvD+MzgST/Mt6zc03yaMuB/xwxdDk/ XG/KmHv9gSdU835v23fvVrDZtoOr8gsBJklgCdPAiT2kaQhsy7WrN658eELrO7QONaGs xv/g== X-Gm-Message-State: AOAM533J1CQR8BE7E8Xx6fZWzivIsBz8braQXXJAuyYUvShlTuIMVGQQ Y9EHYRtEPSZmjOyfe81p/FmqG5bVSqNt9oDRvDj4Ks2VngM= X-Google-Smtp-Source: ABdhPJzYsfpbqN4/ms2lgjloJdFVgxu0aPmuc4jv44tkDKG7SkL7pbhjiObe6E8JIS9KDw05FtPgmTNSE4Op+h32nbo= X-Received: by 2002:a1c:b007:: with SMTP id z7mr16217085wme.37.1594611608910; Sun, 12 Jul 2020 20:40:08 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <078426dd-1bbb-b18c-9b3a-0e129ef1e9df@gmail.com> In-Reply-To: <078426dd-1bbb-b18c-9b3a-0e129ef1e9df@gmail.com> From: Zhang Zongyu Date: Mon, 13 Jul 2020 11:40:00 +0800 Message-ID: Subject: Re: [gentoo-soc] Weekly Report: Big Data Infrastructure and Maven Overlay in Week 6 To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: a52d3678-b136-4b37-b5fe-e8f00899ed94 X-Archives-Hash: 0590947a367dcc43c7292c8a85c051d8 > > On 12/07/2020 16:42, Zhang Zongyu wrote: > > The reason why I have to install binaries varies. Here are the main reasons: > > 1. Maven central only distributes binary jars (even those jars are > > named with a "sources" suffix). I will fix the problem by changing the > > SRC_URI of a proper source code file next week. > > Could you show me a sources jar that doesn't contain sources? Just > curious, I've never ran into any. I am so sorry that it was a huge mistake. :( I forgot to clear the old jars of in my ${DISTDIR}, and filenames of some pre-built jars and source-code-jars happened to be the same. I recognized it as *-sources.jars with pre-built class files. I am really sorry for the misleading, and I will fix the problem this week. > In principle, a Maven repository can contain any files, so it's > possible, but in general, if a project uses Maven sources plugin, the > jar should contain sources just right. Those sources however aren't > intended to be compiled on their own, they serve as documentation or are > used for IDE autocomplete. > > You'd need to checkout the project's repository (including the build > tools) to be able to build the project in general. Thanks for the advice. I am going to do so. > > 2. The source code files are not written in Java. Some Jars contain > > Ruby, Scala, Kotlin, or Lombok codes. [3] Maybe we should discuss how > > to emerge those packages next week. > > Just a note, Lombok isn't a language, but Java compiler plugin that > generates bytecode from annotations at compile time. > > Scala and Kotlin are a common sight, as they compile into the same > bytecode that JVM can run. > It seems they can all work with Java, so I am not surprised that they appear in Maven Central. I will learn about those languages and may have to extend java-pkg-simple to compile them in the next few weeks. Regards, Zhang Zongyu