Fixes dependency-management/make-pom

This commit is contained in:
Eugene Yokota 2017-07-16 15:41:51 -04:00
parent d8929ae135
commit 2608009214
2 changed files with 2 additions and 1 deletions

View File

@ -266,6 +266,7 @@ trait Import {
val JCenterRepository = sbt.librarymanagement.Resolver.JCenterRepository
val JavaNet2Repository = sbt.librarymanagement.Resolver.JavaNet2Repository
type MakePomConfiguration = sbt.librarymanagement.MakePomConfiguration
val MakePomConfiguration = sbt.librarymanagement.MakePomConfiguration
val MavenCache = sbt.librarymanagement.MavenCache
type MavenCache = sbt.librarymanagement.MavenCache
val MavenRepo = sbt.librarymanagement.MavenRepo

View File

@ -8,7 +8,7 @@ lazy val root = (project in file(".")) settings (
resolvers += Resolver.sonatypeRepo("snapshots"),
makePomConfiguration := {
val p = makePomConfiguration.value
new MakePomConfiguration(p.file, p.moduleInfo, p.configurations, <extra-tag/>, p.process, p.filterRepositories, p.allRepositories, p.includeTypes)
p.withExtra(<extra-tag/>)
},
libraryDependencies += "com.google.code.findbugs" % "jsr305" % "1.3.+"
)