This is an automated email from the ASF dual-hosted git repository.

mabin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-toolkit.git


The following commit(s) were added to refs/heads/master by this push:
     new 59e664f  SCB-1454 The modules tag is not generated in the pom file 
when using cli
     new 9278c1a  Merge pull request #21 from kakulisen/fix-cli-problem
59e664f is described below

commit 59e664f4cabe86062cb92b46fb71597fb8eb1345
Author: kakulisen <18813972...@163.com>
AuthorDate: Wed Aug 21 11:45:31 2019 +0800

    SCB-1454 The modules tag is not generated in the pom file when using cli
    
    Signed-off-by: kakulisen <18813972...@163.com>
---
 .../org/apache/servicecomb/toolkit/codegen/ServiceCombCodegen.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/codegen/src/main/java/org/apache/servicecomb/toolkit/codegen/ServiceCombCodegen.java
 
b/codegen/src/main/java/org/apache/servicecomb/toolkit/codegen/ServiceCombCodegen.java
index 60a5d32..89ea343 100755
--- 
a/codegen/src/main/java/org/apache/servicecomb/toolkit/codegen/ServiceCombCodegen.java
+++ 
b/codegen/src/main/java/org/apache/servicecomb/toolkit/codegen/ServiceCombCodegen.java
@@ -119,6 +119,10 @@ public class ServiceCombCodegen extends 
AbstractJavaCodegen implements CodegenCo
     library.setEnum(supportedLibraries);
     library.setDefault(DEFAULT_LIBRARY);
     cliOptions.add(library);
+
+    
additionalProperties.put(GeneratorExternalConfigConstant.PROVIDER_PROJECT_NAME, 
providerProject);
+    
additionalProperties.put(GeneratorExternalConfigConstant.CONSUMER_PROJECT_NAME, 
consumerProject);
+    
additionalProperties.put(GeneratorExternalConfigConstant.MODEL_PROJECT_NAME, 
modelProject);
   }
 
   @Override
@@ -183,7 +187,7 @@ public class ServiceCombCodegen extends AbstractJavaCodegen 
implements CodegenCo
     }
     additionalProperties.put("camelcase", new CamelCaseLambda());
     additionalProperties.put("getGenericClassType", new 
GetGenericClassTypeLambda());
-    additionalProperties.put("getRelativeBasePath",new 
GetRelativeBasePathLambda());
+    additionalProperties.put("getRelativeBasePath", new 
GetRelativeBasePathLambda());
     additionalProperties.put("removeImplSuffix", new RemoveImplSuffixLambda());
     additionalProperties.put("applicationId", applicationId);
 

Reply via email to