Add property "yang.skip" 83/40183/4
authorDavid <david.lopez.munoz@ericsson.com>
Fri, 10 Jun 2016 21:05:59 +0000 (23:05 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 23 Jun 2016 11:27:26 +0000 (11:27 +0000)
commit9bc8fd1a65b8667ea70939be730f909e789147fa
tree5a86702dd2a726d6bb3d0cbb1c3fc5d71318d5a2
parent7d464a013773ab1dcb196191010e99833c22cf2d
Add property "yang.skip"

This property allows the plugin to be configured so
to skip the generation of java sources out of yang files.
The purpose is to save the time spent genereting java code
that is already in place, and the user knows that haven't
changed since the last compilation.

Usage:
   mvn  install -Dyang.skip=true

Change-Id: I39d3da20864f7655cae68dfa9f4b67ec96137d9f
Signed-off-by: David <david.lopez.munoz@ericsson.com>
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojo.java
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesProcessor.java
yang/yang-maven-plugin/src/test/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojoTest.java