
I have made some changes to engine code and the try to run dao test. $PGPASSWORD=engine \ ./packaging/dbscripts/schema.sh \ -c apply -u engine -d engine_dao_tests This command run sucessfully. but after compiling through make I am getting following error ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project common: You have 7 Checkstyle violations. -> [Help 1] so can anyone tell me what that means? Thanks, Shubham

Hi! On Mon, May 22, 2017 at 4:15 PM, shubham dubey <sdubey504@gmail.com> wrote:
but after compiling through make I am getting following error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project common: You have 7 Checkstyle violations. -> [Help 1]
so can anyone tell me what that means?
This a plugin the checks code style (unused imports, wrong spacing etc.). There should be more messages that explain what exactly is wrong. Shmuel

Thanks,I found the error above in output. They are related to trailing spaces and unnecessary tabs, so I solved them. Thanks again for help. Shubham On Mon, May 22, 2017 at 6:57 PM, Shmuel Melamud <smelamud@redhat.com> wrote:
Hi!
On Mon, May 22, 2017 at 4:15 PM, shubham dubey <sdubey504@gmail.com> wrote:
but after compiling through make I am getting following error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project common: You have 7 Checkstyle violations. -> [Help 1]
so can anyone tell me what that means?
This a plugin the checks code style (unused imports, wrong spacing etc.).
There should be more messages that explain what exactly is wrong.
Shmuel

You can use a text editor's help to avoid this stuff. For example, in Sublime Text, I have set: "translate_tabs_to_spaces": true, "trim_trailing_white_space_on_save": true Now pressing "Tab" will write out 4 spaces, and trailing spaces are deleted on save. Best wishes, Greg On Mon, May 22, 2017 at 12:03 PM, shubham dubey <sdubey504@gmail.com> wrote:
Thanks,I found the error above in output. They are related to trailing spaces and unnecessary tabs, so I solved them. Thanks again for help.
Shubham
On Mon, May 22, 2017 at 6:57 PM, Shmuel Melamud <smelamud@redhat.com> wrote:
Hi!
On Mon, May 22, 2017 at 4:15 PM, shubham dubey <sdubey504@gmail.com> wrote:
but after compiling through make I am getting following error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project common: You have 7 Checkstyle violations. -> [Help 1]
so can anyone tell me what that means?
This a plugin the checks code style (unused imports, wrong spacing etc.).
There should be more messages that explain what exactly is wrong.
Shmuel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Greg Sheremeta, MBA Sr. Software Engineer Red Hat, Inc. gshereme@redhat.com

Ok, i will do the same.:) Thanks, Shubham On Mon, May 22, 2017 at 9:40 PM, Greg Sheremeta <gshereme@redhat.com> wrote:
You can use a text editor's help to avoid this stuff.
For example, in Sublime Text, I have set: "translate_tabs_to_spaces": true, "trim_trailing_white_space_on_save": true
Now pressing "Tab" will write out 4 spaces, and trailing spaces are deleted on save.
Best wishes, Greg
On Mon, May 22, 2017 at 12:03 PM, shubham dubey <sdubey504@gmail.com> wrote:
Thanks,I found the error above in output. They are related to trailing spaces and unnecessary tabs, so I solved them. Thanks again for help.
Shubham
On Mon, May 22, 2017 at 6:57 PM, Shmuel Melamud <smelamud@redhat.com> wrote:
Hi!
On Mon, May 22, 2017 at 4:15 PM, shubham dubey <sdubey504@gmail.com> wrote:
but after compiling through make I am getting following error
ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project common: You have 7 Checkstyle violations. -> [Help 1]
so can anyone tell me what that means?
This a plugin the checks code style (unused imports, wrong spacing etc.).
There should be more messages that explain what exactly is wrong.
Shmuel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
-- Greg Sheremeta, MBA Sr. Software Engineer Red Hat, Inc. gshereme@redhat.com
participants (3)
-
Greg Sheremeta
-
Shmuel Melamud
-
shubham dubey