It is possible to use GH Packages repos locally, if you configure Maven
correctly. But I found working with it a no-go, espacially for OSS
projects, because you do not only need credentials in order to deploy
artifacts, but also in order to *consume* them!!! This is a no-go, IMO.
Even if the repository is public, you need to provide all people trying
to access artifacts from GH Packages with credentials (access token).
This is why I stopped using it, for the most part. It is tedious, but OK
for artifacts only used from within a project or organisation, but there
is no public read-only access to GH Packages. Many users have been
complaining about it for a long time, but to no avail so far.

-- 
Alexander Kriegisch
https://scrum-master.de


Tommy Svensson schrieb am 27.07.2021 21:02 (GMT +07:00):

> I played with GitHub packages thinking I could use it as a general binary 
> repo,
> but NO! It turned out that what is published on GitHub packages are only
> available from within GitHub! Anything built with GitHub CI can use GitHub
> packages. If you want to build locally you cannot access Github packages. At
> least I found no way to do so. 
> 
> I assume that GitHub packages are intended for GitHubs CI when there are
> dependencies between different GitHub repos, and I continue that assumption
> with that GH repos are only available within same account / organisation.
> 
> I would be very happy to be wrong here!
> 
> /Tommy 
> 
> 
> Från: Stephen Coy <st...@resolvesw.com.au>
> Svara: Maven Users List <users@maven.apache.org>
> Datum: 27 juli 2021 at 15:22:52
> Till: users@maven.apache.org <users@maven.apache.org>
> Ämne:  OSS Nexus vs GitHub Packages  
> 
> Hi all,  
> 
> Just wondering if anyone has any thoughts on using GitHub Packages as a 
> company
> repo vs Nexus.  
> 
> Right now we (about 30-40 devs) are using an ageing version of Sonatype Nexus
> for onsite builds and S3 for “cloud” based builds (a process inherited from
> using Spring Boot).  
> 
> Now there is a push for us to migrate everything to GitHub Packages.  
> 
> Personally, I would just run up a Nexus OSS instance in an EC2 instance and 
> use
> that.  
> 
> There does not seem to be much discussion about this around.  
> 
> What is everyone else doing right now?  
> 
> Cheers,  
> 
> Steve C  
> 
> 
> ---------------------------------------------------------------------  
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org  
> For additional commands, e-mail: users-h...@maven.apache.org  
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to