[ 
https://issues.apache.org/jira/browse/GOBBLIN-1246?focusedWorklogId=473196&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-473196
 ]

ASF GitHub Bot logged work on GOBBLIN-1246:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Aug/20 04:45
            Start Date: 21/Aug/20 04:45
    Worklog Time Spent: 10m 
      Work Description: vikrambohra commented on a change in pull request #3087:
URL: https://github.com/apache/incubator-gobblin/pull/3087#discussion_r474405733



##########
File path: gobblin-service/build.gradle
##########
@@ -91,12 +91,27 @@ dependencies {
 // Begin HACK to get around POM being depenendent on the (empty) 
gobblin-rest-api instead of gobblin-rest-api-rest-client
 def installer = install.repositories.mavenInstaller
 [installer]*.pom*.whenConfigured {pom ->
-    pom.dependencies.find {dep -> dep.groupId == project.group && 
dep.artifactId == 'gobblin-flow-config-service-api' }.artifactId = 
'gobblin-flow-config-service-api-rest-client'
+  def it = pom.dependencies
+  def s = it.find {dep -> dep.groupId == project.group && dep.artifactId == 
'gobblin-flow-config-service-api' }
+  if (s != null) {
+    def t = s.clone()
+    t.artifactId = 'gobblin-flow-config-service-api-data-template'
+    it.add(t)
+    s.artifactId = 'gobblin-flow-config-service-api-rest-client'
+  }
 }
+
 if (rootProject.publishToMaven || rootProject.publishToNexus) {
     def deployer = uploadArchives.repositories.mavenDeployer
     [deployer]*.pom*.whenConfigured {pom ->
-        pom.dependencies.find {dep -> dep.groupId == project.group && 
dep.artifactId == 'gobblin-flow-config-service-api' }.artifactId = 
'gobblin-flow-config-service-api-rest-client'
+      def it = pom.dependencies
+      def s = it.find {dep -> dep.groupId == project.group && dep.artifactId 
== 'gobblin-flow-config-service-api' }
+      if (s != null) {
+        def t = s.clone()
+        t.artifactId = 'gobblin-flow-config-service-api-data-template'

Review comment:
       good call adding gobblin-flow-config-service-api also. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 473196)
    Time Spent: 1h 10m  (was: 1h)

> Modify build scripts to fix failures in Nexus artifact publishing
> -----------------------------------------------------------------
>
>                 Key: GOBBLIN-1246
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1246
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-core
>    Affects Versions: 0.15.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Abhishek Tiwari
>            Priority: Major
>             Fix For: 0.15.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, publishing of staging artifacts to the Apache Nexus repository is 
> broken. This task modifies build scripts to fix the Nexus artifact publish.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to