switch publishMavenStyle off when project is an sbt plugin

This commit is contained in:
Mark Harrah 2011-08-30 09:16:33 -04:00
parent 0c2cb33d7b
commit 65ae7dab1c
1 changed files with 1 additions and 0 deletions

View File

@ -661,6 +661,7 @@ object Classpaths
moduleConfigurations in GlobalScope :== Nil,
publishTo in GlobalScope :== None,
artifactPath in makePom <<= artifactPathSetting(artifact in makePom),
publishMavenStyle <<= (sbtPlugin, publishMavenStyle)(!_ && _),
publishArtifact in makePom <<= publishMavenStyle.identity,
artifact in makePom <<= moduleName(Artifact.pom),
projectID <<= (organization,moduleName,version,artifacts,crossPaths){ (org,module,version,as,crossEnabled) =>