I know this isn't your normal project, but I tend to prefer either parenthesis or a () around this kinds of things, for clarity:

```scala
(for {
 ...
yield ...).distinct.filterNot { f =>
  ...
}
```

Yeah, I prefer variable names on the same line as the closure.   Also, I believe you can grab this info off the attributes (i.e. the Artifact has a type of src/jar/doc/pom.   I *think*).  This works for now. If I have a chance to dig in I while.