@@ -3,13 +3,13 @@ package com.typesafe.sbt.packager.debian
3
3
import com .typesafe .sbt .packager .archetypes .TemplateWriter
4
4
import com .typesafe .sbt .packager .universal .Archives
5
5
import sbt ._
6
- import sbt .Keys .{normalizedName , packageBin , streams , target , version }
6
+ import sbt .Keys .{classpathTypes , normalizedName , packageBin , streams , target , version }
7
7
import com .typesafe .sbt .packager .linux .{LinuxFileMetaData , LinuxPackageMapping , LinuxSymlink }
8
8
import com .typesafe .sbt .packager .linux .LinuxPlugin .autoImport .{
9
- linuxPackageMappings ,
10
- linuxPackageSymlinks ,
11
- linuxScriptReplacements ,
12
- packageArchitecture
9
+ linuxPackageMappings ,
10
+ linuxPackageSymlinks ,
11
+ linuxScriptReplacements ,
12
+ packageArchitecture
13
13
}
14
14
import scala .collection .JavaConversions ._
15
15
import org .vafer .jdeb .{DataProducer , DebMaker }
@@ -67,6 +67,8 @@ object JDebPackaging extends AutoPlugin with DebianPluginLike {
67
67
68
68
// unused, but needed as dependency
69
69
val controlDir = targetDir / Names .DebianMaintainerScripts
70
+ val _ = debianControlFile.value
71
+ val conffile = debianConffilesFile.value
70
72
val replacements = debianMakeChownReplacements.value +: linuxScriptReplacements.value
71
73
72
74
val controlScripts = debianMaintainerScripts.value
@@ -96,7 +98,9 @@ object JDebPackaging extends AutoPlugin with DebianPluginLike {
96
98
debianFile
97
99
},
98
100
packageBin := (packageBin dependsOn debianControlFile).value,
99
- packageBin := (packageBin dependsOn debianConffilesFile).value
101
+ packageBin := (packageBin dependsOn debianConffilesFile).value,
102
+ // workaround for sbt-coursier
103
+ classpathTypes += " maven-plugin"
100
104
)
101
105
102
106
/**
0 commit comments