summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-15 16:38:37 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-15 16:38:37 +0530
commitad64951c1df7518bd6e8d6969f551db5014bf0db (patch)
tree853002148bd8464bbbb6155a1b31ac26edccfc8a
parenta4c95ad560440d113e2e6824427e3bb86f76513f (diff)
Increase the snake yaml version
Issue-ID: CLI-66 Change-Id: I129c6e5067d14fb28c8ee7c75dc7358562766c9b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--framework/pom.xml2
-rw-r--r--framework/src/main/resources/open-cli.properties2
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java2
-rw-r--r--pom.xml3
4 files changed, 5 insertions, 4 deletions
diff --git a/framework/pom.xml b/framework/pom.xml
index 5230beae..56c9681f 100644
--- a/framework/pom.xml
+++ b/framework/pom.xml
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
- <version>1.17</version>
+ <version>1.18</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
diff --git a/framework/src/main/resources/open-cli.properties b/framework/src/main/resources/open-cli.properties
index c8792835..4971269f 100644
--- a/framework/src/main/resources/open-cli.properties
+++ b/framework/src/main/resources/open-cli.properties
@@ -19,7 +19,7 @@ cli.schema.boolean_values=true,false
cli.command.type=cmd,auth,catalog
# moco properties
-cli.sample.gen.enable=true
+cli.sample.gen.enable=false
cli.sample.gen.target=.
# mrkanag Move this to db, once exteranl command registration is supported in place of discovery
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java
index fc1a949c..149fd955 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -70,7 +70,7 @@ public class OnapCli {
this.exitCode = OnapCliConstants.EXIT_FAILURE;
}
- private void print(String msg) {
+ protected void print(String msg) {
System.out.println(msg);
}
diff --git a/pom.xml b/pom.xml
index f3c2a672..207205f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,8 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ -->
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>