Give the .jar extension to maven-plugin packages

This commit is contained in:
Alexandre Archambault 2016-04-01 01:57:31 +02:00
parent cffbe747ed
commit f167b36c1c
2 changed files with 10 additions and 0 deletions

View File

@ -152,6 +152,7 @@ object MavenSource {
val typeExtensions: Map[String, String] = Map(
"eclipse-plugin" -> "jar",
"maven-plugin" -> "jar",
"hk2-jar" -> "jar",
"orbit" -> "jar",
"scala-jar" -> "jar",

View File

@ -247,6 +247,15 @@ object CentralTests extends TestSuite {
"jar"
)
}
'mavenPlugin - {
// has packaging maven-plugin - ensuring coursier gives its artifact the .jar extension
ensureArtifactHasExtension(
Module("org.bytedeco", "javacpp"),
"1.1",
"jar"
)
}
}
}