diff options
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/PublishBuild.scala | 2 | ||||
-rw-r--r-- | stage2/Stage2.scala | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/stage2/PublishBuild.scala b/stage2/PublishBuild.scala index ea6fa0d..34c1d4f 100644 --- a/stage2/PublishBuild.scala +++ b/stage2/PublishBuild.scala @@ -43,7 +43,7 @@ abstract class PublishBuild(context: Context) extends PackageBuild(context){ protected def sonatypeCredentials = { // FIXME: this should probably not use cbtHome, but some reference to the system's host cbt - new String(readAllBytes((context.cbtHome ++ "/sonatype.login").toPath)).trim + new String(readAllBytes((context.cbtRootHome ++ "/sonatype.login").toPath)).trim } def publishSnapshot: Unit = { diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 417808d..b911f50 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -46,6 +46,7 @@ object Stage2 extends Stage2Base{ args.permanentClassLoaders, args.cache, args.cbtHome, + args.cbtHome, args.compatibilityTarget, null ) |