[YANGTOOLS-106] yang-maven-plugin silently fails when outputBaseDir is incorrectly specified Created: 24/Mar/14  Updated: 10/Apr/22  Resolved: 20/May/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Lukas Sedlak Assignee: Mayank Agarwal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 571

 Description   

yang-maven-plugin does not throw any exception if outputBaseDir tag contains undefined variable or empty path. The whole project can be build/compiled but the files that are supposed to be generated will not be present in generated-sources nor in builded jar file.

The log shows only:
[INFO] yang-to-sources: Code generator instantiated from org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
[INFO] yang-to-sources: Sources will be generated to null

Which is confusing.



 Comments   
Comment by Mayank Agarwal [ 19/May/14 ]

Gerrit Patch: https://git.opendaylight.org/gerrit/#/c/7227/

Generated at Wed Feb 07 20:52:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.