Skip to content

Commit

Permalink
switch publishMavenStyle off when project is an sbt plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
harrah committed Aug 30, 2011
1 parent 0c2cb33 commit 65ae7da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/Defaults.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down

0 comments on commit 65ae7da

Please sign in to comment.