mirror of
https://github.com/sbt/sbt.git
synced 2026-09-06 17:40:06 +02:00
fix artifact name to be normalized
This commit is contained in:
+3
-3
@@ -238,7 +238,7 @@ object Defaults
|
||||
}
|
||||
|
||||
lazy val packageBase = Seq(
|
||||
artifact <<= name(n => Artifact(n)),
|
||||
artifact <<= normalizedName(n => Artifact(n)),
|
||||
packageOptions in GlobalScope :== Nil,
|
||||
artifactName in GlobalScope :== ( Artifact.artifactName _ )
|
||||
)
|
||||
@@ -538,8 +538,8 @@ object Classpaths
|
||||
artifactPath in makePom <<= artifactPathSetting(artifact in makePom),
|
||||
publishArtifact in makePom <<= publishMavenStyle.identity,
|
||||
artifact in makePom <<= moduleID( name => Artifact(name, "pom", "pom") ),
|
||||
projectID <<= (organization,moduleID,version,artifacts){ (org,module,version,as) =>
|
||||
ModuleID(org, module, version).cross(true).artifacts(as : _*)
|
||||
projectID <<= (organization,moduleID,version,artifacts,crossPaths){ (org,module,version,as,crossEnabled) =>
|
||||
ModuleID(org, module, version).cross(crossEnabled).artifacts(as : _*)
|
||||
},
|
||||
resolvers in GlobalScope :== Nil,
|
||||
projectDescriptors <<= depMap,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import java.util.jar.{Attributes, Manifest}
|
||||
import Path.makeString
|
||||
import Configurations.Compile
|
||||
|
||||
name :== "Jar Manifest Test"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user