Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzPYg-000680-Cs for pljava-dev@arkaria.postgresql.org; Sat, 25 Jul 2020 19:10:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jzPYe-0001dc-Sb for pljava-dev@arkaria.postgresql.org; Sat, 25 Jul 2020 19:10:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzPYe-0001dV-Nk for pljava-dev@lists.postgresql.org; Sat, 25 Jul 2020 19:10:08 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzPYa-0006se-Jk for pljava-dev@lists.postgresql.org; Sat, 25 Jul 2020 19:10:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KrhZsmGpxtwVs4ck4KBi1cCyOQ0r8yr3Tk8RZDKTvi4=; b=QT1a12n4Ap7CDnvFe109yYoLhq k2O2GFBMyr0005DlRS5MegUZ74wJVdcszRkm02o851ahbneIhK5ZaND3oX7EIcxoett+v/4sJbv3a Ardi9TDngRr4iEvTbBIVxNK2FFAlRnZP+zrOwzBoWmNNaoaZwf9qC0VINg6l5Du6qme1FK+hoJcdB l1E9dAOkUpnpjokK1WkBniahWoUEluwWDm+RYLK795VYyqdMxlgegTs1EQ2ljiGfCddXs4D/eQvi3 AzDYlcVUFCYo18xoT3KDWwIeYFP4tcum1LEEDi9ShtP7p646CCQT8tx2cJUlERGjE54l3NC74xKnT wUL7J25A==; Received: from [184.19.31.139] (port=34808) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jzPYY-003Llr-Ft; Sat, 25 Jul 2020 15:10:02 -0400 Subject: Re: PL/Java new build plugin To: Kartik Ohri References: <5F1664C5.2070700@anastigmatix.net> <5F1735ED.6020707@anastigmatix.net> <5F1753C9.4060500@anastigmatix.net> <5F175F40.1000905@anastigmatix.net> <5F18C58F.8060204@anastigmatix.net> <5F19C36C.70905@anastigmatix.net> <5F1C734D.1000409@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F1C8389.1040100@anastigmatix.net> Date: Sat, 25 Jul 2020 15:10:01 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/25/20 14:05, Kartik Ohri wrote: > Also, I am trying to run the javadoc tool directly to know how it works but > am getting some errors. Can you tell me the command I should execute to > build the docs successfully? I looked up online for tutorials but most > predate Java 9 and the module system so are not of much help. I think you can get a basic set of javadocs for the pljava-api subproject, for example, if you run something like javadoc \ --module org.postgresql.pljava \ --module-source-path org.postgresql.pljava=pljava-api/src/main/java \ -d /tmp/put-them-here You can find out what options the maven-javadoc-plugin is using by adding true in its configuration, then running mvn site. With , it will leave behind files javadoc.sh, options, argfile in the apidocs directory. Then you can just see how many options the plugin put in can be thrown away and it still works. Of course we'll want some of the options that control what access levels to show, page headers and footers, that kind of stuff. It's just that all the lengths the maven plugin goes to trying to micromanage where javadoc finds the files to document are nothing but trouble. If you tell it what module to document and where to find it, really, javadoc can figure out the rest. I wouldn't mind writing the scripty bits to run javadoc, once there is a scriptable mojo I can use to do it. Or if you'd like to, that's cool. Regards, -Chap