Skip to content

[2.x] Ivyless Maven repo publish #8688

@eed3si9n

Description

@eed3si9n

This is part of #7639.

Expectations

Implement Ivyless publish task, which publishes to a Maven repo.

  1. Set up a scripted test such that an Unfiltered http server accepts upload to repo directory. (See https://github.com/eed3si9n/gigahorse/blob/develop/common-test/src/main/scala/gigahorsetest/TestPlan.scala for example)
  2. Set up a scripted test such that publish can publish to the said HTTP server.
  3. Run scripted test such that when useIvy is set to false it will produce the identical set of files.
  4. Support credentials - https://www.scala-sbt.org/1.x/docs/Publishing.html#Credentials

Note

publishMavenStyle := true

publishTo := Some(MavenCache("local-maven", file("path/to/maven-repo/releases")))

publishTo := Some("sonatype1" at "http://localhost:1234")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions