Hi Marcus, Thanks for testing, I should've mentioned that not all the 4.13.0.0 jar/pom artifacts have been uploaded. I've pushed the cloud-engine artifact: https://github.com/apache/cloudstack/packages/59489
I've pushed a few more artifacts, esp. those from plugins. For the next release, we can likely put together a script that uploads all the jar artifacts except maybe the cloud-client jar. Github packages should require authentication for pushing only, I checked in incognito mode for example https://github.com/apache/cloudstack/packages/55880 (cloud-api) and I could download the jar manually but not with the archetype sample/example (foo-plugin, https://github.com/mlsorensen/acs-plugin-archetype). The only change I did was to explicitly state the repository in root pom.xml: <repositories> <repository> <id>github</id> <url>https://rh...@maven.pkg.github.com/apache/cloudstack/</url> </repository> </repositories> Per this page: https://github.com/features/packages, packages for public repositories should be accessible publicly. I have raised a ticket with Github support regarding this. Regards, Rohit Yadav Software Architect, ShapeBlue https://www.shapeblue.com ________________________________ From: Marcus <shadow...@gmail.com> Sent: Wednesday, November 20, 2019 02:10 To: dev@cloudstack.apache.org <dev@cloudstack.apache.org> Cc: us...@cloudstack.apache.org <us...@cloudstack.apache.org> Subject: Re: [DISCUSS] Use of Github packages for hosting version specific maven packages? I've played with this a little, and it shows promise. I did run into two issues: 1) My maven build began downloading packages and stopped at 'cloud-engine'. Artifact seems to be missing - "Failed to read artifact descriptor for org.apache.cloudstack:cloud-engine-api:jar:4.13.0.0: Could not find artifact org.apache.cloudstack:cloud-engine:pom:4.13.0.0" 2) Github Packages seems to require authentication. While this isn't the end of the world, it complicates setup slightly. I'm not sure if this is a github setting or if it's just not possible to have public artifacts with Github. rohit.ya...@shapeblue.comĀ www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue On Mon, Nov 18, 2019 at 10:24 AM Marcus <shadow...@gmail.com> wrote: > I'll try to find time to see if I can point my plugins archetype generator > at that. It would be extremely useful and simplify building plugin packages. > > On Fri, Nov 15, 2019 at 5:10 AM Rohit Yadav <rohit.ya...@shapeblue.com> > wrote: > >> All, >> >> This has come up a few times in the past when someone wants to >> build/extend CloudStack and for that they would need to extract and use >> version specific jars from deb/rpm packages for their apps. I was >> experimenting with the new Github packages feature against the recent >> 4.13.0.0 release and could easily publish the jar artifacts here: >> https://github.com/apache/cloudstack/packages >> >> Thoughts if that's a good way to proceed or find any suitable way of >> version specific jar artifact/packages publication and hosting? >> >> >> Regards, >> >> Rohit Yadav >> >> Software Architect, ShapeBlue >> >> https://www.shapeblue.com >> >> rohit.ya...@shapeblue.com >> www.shapeblue.com<http://www.shapeblue.com> >> Amadeus House, Floral Street, London WC2E 9DPUK >> @shapeblue >> >> >> >>