mirror of https://github.com/sbt/sbt.git
Commit build auto-formatting changes for code in master.
This commit is contained in:
parent
bbfbdde427
commit
c47b28c0d9
|
|
@ -242,7 +242,7 @@ class MakePom(val log: Logger) {
|
|||
val includeArtifacts = artifacts.filter(d => includeTypes(d.getType))
|
||||
if (artifacts.isEmpty) {
|
||||
val configs = dependency.getModuleConfigurations
|
||||
if (configs.filterNot(Set("sources","docs")).nonEmpty) {
|
||||
if (configs.filterNot(Set("sources", "docs")).nonEmpty) {
|
||||
val (scope, optional) = getScopeAndOptional(dependency.getModuleConfigurations)
|
||||
makeDependencyElem(dependency, scope, optional, None, None, excludes)
|
||||
} else NodeSeq.Empty
|
||||
|
|
@ -262,7 +262,7 @@ class MakePom(val log: Logger) {
|
|||
case Nil | "*" :: Nil => dependency.getModuleConfigurations
|
||||
case x => x.toArray
|
||||
}
|
||||
if (configs.filterNot(Set("sources","docs")).nonEmpty) {
|
||||
if (configs.filterNot(Set("sources", "docs")).nonEmpty) {
|
||||
val (scope, optional) = getScopeAndOptional(configs)
|
||||
val classifier = artifactClassifier(artifact)
|
||||
val baseType = artifactType(artifact)
|
||||
|
|
|
|||
Loading…
Reference in New Issue