scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Reuse publishing artifact definition in the Maven export

Open yadavan88 opened this issue 1 year ago • 1 comments

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

yadavan88 avatar Aug 08 '24 14:08 yadavan88

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>

Gedochao avatar Aug 09 '24 08:08 Gedochao