scala-cli
scala-cli copied to clipboard
Reuse publishing artifact definition in the Maven export
We need to check and fix the issue with publish directive in maven export. It should pass the artifactId, groupId and version number correctly based on the publish directive
As for the requirements.
We have a bunch of directives used for the publish command, which allow to define the artifact name, groupId and version.
Those already have directives, but currently aren't used in the --maven export (or --sbt/--mill, for that matter).
It'd make sense to reuse them.
Namely, those are:
//> using publish.organization <org>
//> using publish.name <name>
//> using publish.version <version>