sonatype / nexus-public

Sonatype Nexus Repository Open-source codebase mirror
https://www.sonatype.com/products/repository-oss-download
Eclipse Public License 1.0
1.83k stars 557 forks source link

Support for Dart/Flutter #416

Open hschaeufler opened 5 days ago

hschaeufler commented 5 days ago

Are there any plans to support Dart Pub repositories as a new Nexus repository format? There seems to be a community plugin from groupe edf that is unfortunately no longer actively maintained.

I had also tried a raw proxy repository pointing at https://pub.dev and set the environment variable PUB_HOSTED_URL to the raw repository. The problem seems to be that first a JSON with the respective packages and package download urls is requested via a GET request. Because the urls are not rewritten, the flutter/dart SDK then tries to resolve the packages bypassing the raw repository in the next step.

Maybe do you have any ideas for a workaround to use nexus for flutter and dart?