It’s been awhile since I have done it … and we are in the process of migrating from nexus to jfrog… but think it should just be another ibiblio entry in your grapeConfig.xml. Something like …..
<ibiblio name=”name of your nexus” root=”host:port/path-to-m2” m2compatible=”true” /> From: Michael Stockman <mbsto...@utica.edu> Date: Wednesday, December 7, 2022 at 6:06 AM To: users@groovy.apache.org <users@groovy.apache.org>, Dirk Heinrichs <dhein...@opentext.com> Subject: [EXT] Re: Using GitHub Packages with Groovy Grapes for scripting Thank you Dirk. Some of my google searching was bringing up results related to nexus instances and customized ivy settings through a grapeConfig.xml file. Unfortunately I have found no examples so far of someone successfully creating a grapeConfig.xml to allow a GitHub package. Maybe I should look into a Nexus instance. Mike Stockman Programmer Analyst Integrated Information Technology Services [Utica University Logo] Office 315.792.3238 1600 Burrstone Road Utica, NY 13502 utica.edu<https://secure-web.cisco.com/1-g7aL91gR-p3C4zje6ZUEAhJgJnrYeRxdUHBzHkxpZyOY0lx2ZH-aFgx8kB1pFgesTbA2b2zFSiIRtvqouCmPo9cPrVkDEkO_IH95eKlgZx7nLpBAQJKv65YcZHJE68BfRRyBXmWMu9h5o8fQsFYzgkgExpph1LHXlIXnv7ZRG319XRRSFhdvR-1z2Q1QcihMJAM_GNNEUDdtG9AJ67f5vhByMgprFYmA9wkVr1Y3tLRT98gcKAX9czbZZHX_EnntI6v6ttnsrtKH71TVIrEML9OoXrbYhOKiamGRFjCz55gxn7mN_uYctGKAADvneOn2XnkLVcw46XNcNkwBLz1u0rxklRk0CVDFOX0qDwG94MdResLgTpvj0Z40nW9Q3O6VDMIpeXB61S3CMHDNuapFOa-ZwA3Da2p0UKAevAR7Mo/https%3A%2F%2Fwww.utica.edu%2F> On Wed, Dec 7, 2022 at 8:56 AM Dirk Heinrichs via users <users@groovy.apache.org<mailto:users@groovy.apache.org>> wrote: Am Mittwoch, dem 07.12.2022 um 08:43 -0500 schrieb Michael Stockman: Does anyone have any experience importing GitHub packages as dependencies using Groovy Grapes? Not with GitHub. But we're using a custom grapeConfig.xml to download grapes via our local Nexus instance. See https://docs.groovy-lang.org/latest/html/documentation/grape.html#Grape-CustomizeIvysettings<https://secure-web.cisco.com/1pcb3VJc2-lsaXZEbgoV5BPl8xaY1vU9VxOFGYBICtw68-Wg6uGGJCyWh9E_K24yld8HxlvlJKEPGzGNA_OfP70jnywQTWFaxq3NIzwQgDcDxHzDwMDKPaPzDHuZRJ7MVXRdjQhY9It2Qkd-69Y339X1tObpY6AW7Q_Okk7gWc1cIwFtacXAokXMWCBr6hCe6PnSJTTSLdTgyE-oCN1kc6K9Zx9WUExnWk3uOcSVjbbJ0p1BLXRMax04zD5FrdeQ0sDEYHxqyr1bcC4aR0LhfOosTDwbVqiApghkPqNfFCBWuJu6szCOGHYyn8ahpxzjVF8DpC_OBlsqnKk5opXA0uqie6V9WOfsdZozWjPtNOIuHXjEBrvM0RXxType_MbDw2f30XWWodsYvtiiMGh2KKbOIlrxB-v7Mvd-pgCPjLnQ/https%3A%2F%2Fdocs.groovy-lang.org%2Flatest%2Fhtml%2Fdocumentation%2Fgrape.html%23Grape-CustomizeIvysettings> for the details. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.