[cxf] branch master updated: [CXF-8090]Warnings when using cxf-codegen-plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch master updated: [CXF-8090]Warnings when using cxf-codegen-plugin

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

ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 09dba95  [CXF-8090]Warnings when using cxf-codegen-plugin
09dba95 is described below

commit 09dba95432b0d1b2cb9b39f1e712bc04e80bbd8c
Author: Freeman Fang <[hidden email]>
AuthorDate: Fri Aug 9 12:43:31 2019 -0400

    [CXF-8090]Warnings when using cxf-codegen-plugin
---
 .../src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/common/src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java b/tools/common/src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java
index 967c57a..7147b89 100644
--- a/tools/common/src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java
+++ b/tools/common/src/main/java/org/apache/cxf/tools/common/VelocityGenerator.java
@@ -68,8 +68,8 @@ public final class VelocityGenerator {
         try {
             Properties props = new Properties();
             String clzName = "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader";
-            props.put("resource.loader", "class");
-            props.put("class.resource.loader.class", clzName);
+            props.put("resource.loaders", "class");
+            props.put("resource.loader.class.class", clzName);
             props.put("runtime.log", getVelocityLogFile("velocity.log"));
 //            if (!log) {
 //                props.put(VelocityEngine.RUNTIME_LOG_INSTANCE,