build: fix maven artifactId of published bits

This apply to the uploadArchives, uploadStageArchives and install tasks.


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/1f3b675d
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/1f3b675d
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/1f3b675d

Branch: refs/heads/serialization-3.0
Commit: 1f3b675d6503e5b578966621378703f6879fc64b
Parents: c8eb9bd
Author: Paul Merlin <[email protected]>
Authored: Sat Feb 25 12:23:46 2017 +0100
Committer: Paul Merlin <[email protected]>
Committed: Sat Feb 25 12:28:22 2017 +0100

----------------------------------------------------------------------
 .../groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/1f3b675d/buildSrc/src/main/groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy
----------------------------------------------------------------------
diff --git 
a/buildSrc/src/main/groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy
 
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy
index e8ec046..cd14487 100644
--- 
a/buildSrc/src/main/groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy
+++ 
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/code/PublishingPlugin.groovy
@@ -188,6 +188,7 @@ class PublishingPlugin implements Plugin<Project>
       if( mavenDeployer )
       {
         MavenMetadata.applyTo mavenDeployer
+        mavenDeployer.pom.artifactId = PublishNaming.publishedNameFor( 
project.path )
       }
     }
   }

Reply via email to