Skip to content

Commit 0355ed5

Browse files
committed
FIX #982 Add maven-plugin to classpathTypes when using the JDebPlugin
1 parent 60e5e80 commit 0355ed5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/scala/com/typesafe/sbt/packager/debian/JDebPackaging.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package debian
55
import com.typesafe.sbt.packager.archetypes.TemplateWriter
66
import com.typesafe.sbt.packager.universal.Archives
77
import sbt._
8-
import sbt.Keys.{mappings, normalizedName, packageBin, streams, target, version}
8+
import sbt.Keys.{classpathTypes, normalizedName, packageBin, streams, target, version}
99
import linux.{LinuxFileMetaData, LinuxPackageMapping, LinuxSymlink}
1010
import linux.LinuxPlugin.autoImport.{
1111
linuxPackageMappings,
@@ -98,7 +98,8 @@ object JDebPackaging extends AutoPlugin with DebianPluginLike {
9898
debMaker validate ()
9999
debMaker makeDeb ()
100100
debianFile
101-
}
101+
},
102+
classpathTypes += "maven-plugin"
102103
)
103104

104105
/**

0 commit comments

Comments
 (0)