Skip to content

Commit ada1e33

Browse files
committed
[ANE-1322] Fix Scala strategy to work with Maven path filtering
Add missing Reader AllFilters constraint to genPoms function to support the updated buildGlobalClosure signature that includes path filtering.
1 parent c78a367 commit ada1e33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Strategy/Scala.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ analyzeWithSbtDepTree (ScalaProject maybeDepTree _ closure) = context "Analyzing
239239
makePomCmd :: Command
240240
makePomCmd = mkSbtCommand "makePom"
241241

242-
genPoms :: (Has Exec sig m, Has ReadFS sig m, Has Diagnostics sig m) => Path Abs Dir -> m [MavenProjectClosure]
242+
genPoms :: (Has Exec sig m, Has ReadFS sig m, Has Diagnostics sig m, Has (Reader AllFilters) sig m) => Path Abs Dir -> m [MavenProjectClosure]
243243
genPoms projectDir = do
244244
stdoutBL <- context "Generating poms" $ execThrow projectDir makePomCmd
245245

0 commit comments

Comments
 (0)