AdoptOpenJDK / AdoptOpenJDK/jlink.online

Come up with a better way to supply Maven Central artifacts

Abierto
#29 1 comentario 0 reacciones 1 asignado Reclamado por @cilki Ver en GitHub
enhancement
Lenguaje dominante
Go
Estrellas
51
Forks
7
Merge medio
3 min
PR fusionados (30 d)
2

Descripción

To bundle external dependencies, you currently have to specify them in both the `modules` parameter and the `artifacts` parameter. For example:
```
GET: /runtime/x64/linux/11.0.8+10?modules=org.slf4j&artifacts=org.slf4j:slf4j-api:2.0.0-alpha1
```

Most people won't be building these by hand, but it's still not very attractive. **I'm thinking of creating a YML or JSON format containing this info that we can ingest instead**. It would still be possible to upload a `module-info.java`, but this new descriptor file would also need to be present to describe the versions of external artifacts. The descriptor could also be given by itself.

Here's an example of something that might work:
```
repositories:
- https://oss.sonatype.org/content/repositories/snapshots
modules:
- java.desktop
- org.slf4j: org.slf4j:slf4j-api:2.0.0-alpha1
```

This file could be committed to version control or automatically generated by a Gradle or Maven plugin. I'm contemplating the uncreative name: `jlink.online.yml`.

The `artifacts` parameter would go away as a result of this change.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.