-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from arktekk/work-with-sbt-sonatype
Work with sbt-sonatype
- Loading branch information
Showing
8 changed files
with
82 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
aether-deploy/src/sbt-test/deploy/deploy-file-pattern/build.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ThisBuild / version := "0.1" | ||
|
||
name := "deploy-file-pattern" | ||
|
||
organization := "deploy-file-pattern" | ||
|
||
scalaVersion := "3.3.1" | ||
|
||
publishTo := Some(Resolver.file("foo", file(".") / "target" / "repo")) |
7 changes: 7 additions & 0 deletions
7
aether-deploy/src/sbt-test/deploy/deploy-file-pattern/project/plugins.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
val pluginVersion = scala.util.Properties.propOrNone("plugin.version").getOrElse( | ||
throw new RuntimeException(""" | ||
|The system property 'plugin.version' is not defined. | ||
|Specify this property using the scriptedLaunchOpts -D. | ||
""".stripMargin)) | ||
|
||
addSbtPlugin("no.arktekk.sbt" % "aether-deploy" % pluginVersion) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Deploy to file url | ||
> aetherDeploy | ||
$ exists target/repo/deploy-file-pattern | ||
$ exists target/repo/deploy-file-pattern/deploy-file-pattern_3/maven-metadata.xml | ||
$ exists target/repo/deploy-file-pattern/deploy-file-pattern_3/0.1/ | ||
$ exists target/repo/deploy-file-pattern/deploy-file-pattern_3/0.1/deploy-file-pattern_3-0.1.jar | ||
$ exists target/repo/deploy-file-pattern/deploy-file-pattern_3/0.1/deploy-file-pattern_3-0.1.pom |
9 changes: 9 additions & 0 deletions
9
aether-deploy/src/sbt-test/deploy/deploy-sbt-sonatype/build.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ThisBuild / version := "0.1" | ||
|
||
name := "deploy-sbt-sonatype" | ||
|
||
organization := "deploy-sbt-sonatype" | ||
|
||
scalaVersion := "3.3.1" | ||
|
||
publishTo := sonatypePublishToBundle.value |
8 changes: 8 additions & 0 deletions
8
aether-deploy/src/sbt-test/deploy/deploy-sbt-sonatype/project/plugins.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
val pluginVersion = scala.util.Properties.propOrNone("plugin.version").getOrElse( | ||
throw new RuntimeException(""" | ||
|The system property 'plugin.version' is not defined. | ||
|Specify this property using the scriptedLaunchOpts -D. | ||
""".stripMargin)) | ||
|
||
addSbtPlugin("no.arktekk.sbt" % "aether-deploy" % pluginVersion) | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Deploy to file url | ||
> aetherDeploy | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/maven-metadata.xml | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/ | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/0.1/deploy-sbt-sonatype_3-0.1.jar | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/0.1/deploy-sbt-sonatype_3-0.1-javadoc.jar | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/0.1/deploy-sbt-sonatype_3-0.1-sources.jar | ||
$ exists target/sonatype-staging/0.1/deploy-sbt-sonatype/deploy-sbt-sonatype_3/0.1/deploy-sbt-sonatype_3-0.1.pom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters