Skip to content

Commit

Permalink
Roll back JCommand librarly
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuflatland-lf committed Aug 14, 2017
1 parent 85d1799 commit bc62708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# Damascus

[![Build Status](https://travis-ci.org/yasuflatland-lf/damascus.svg?branch=master)](https://travis-ci.org/yasuflatland-lf/damascus)
[![Coverage Status](https://coveralls.io/repos/github/yasuflatland-lf/damascus/badge.svg)](https://coveralls.io/github/yasuflatland-lf/damascus)
[![Coverage Status](https://coveralls.io/repos/github/yasuflatland-lf/damascus/badge.svg?branch=master)](https://coveralls.io/github/yasuflatland-lf/damascus?branch=master)

Damascus is a Liferay Blade tool extension for generating scaffoldings of Service builder portlet with CRUD functionality based on a configuration json file, base.json. For more detailed usage, please see https://github.com/yasuflatland-lf/damascus/wiki

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -54,7 +54,7 @@ jar {
}

dependencies {
compile 'com.beust:jcommander:1.72'
compile 'com.beust:jcommander:1.64'
compile 'com.google.guava:guava:22.0'
compile 'commons-io:commons-io:2.5'
compile 'org.apache.commons:commons-lang3:3.6'
Expand Down
Expand Up @@ -10,7 +10,7 @@ public class ProjectNameValidator implements IParameterValidator {
public void validate(String name, String value)
throws ParameterException {
if (!value.matches("^[A-Z][a-zA-Z]+")) {
throw new ParameterException("Parameter " + name + " should be only alphabets (found " + value + ")");
throw new ParameterException("Parameter " + name + " should be only alphabets and start from a capital character (found " + value + ")");
}
}
}

0 comments on commit bc62708

Please sign in to comment.