Fix sdnc dgbuilder build failure
ant reports build_pom_for_yang_compile as invalid
command on windows as ant plugin consider it as native
command. executable directive make it explicit.
Change-Id: I25d202eafeda6102cba38bd12e78a1d2a617e785
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
Former-commit-id: 7e56426b59afa7866cd28a04efc6e133907d625d
diff --git a/dgbuilder/pom.xml b/dgbuilder/pom.xml
index 0b5386d..6c4f758 100644
--- a/dgbuilder/pom.xml
+++ b/dgbuilder/pom.xml
@@ -117,11 +117,11 @@
<execution>
<phase>generate-sources</phase>
<configuration>
- <tasks>
- <exec executable="${project.basedir}/build_pom_for_yang_compile">
- <arg value="${project.parent.version}"/>
- </exec>
- </tasks>
+ <workingDirectory>"${project.basedir}"</workingDirectory>
+ <executable>build_pom_for_yang_compile</executable>
+ <arguments>
+ <argument>"${project.parent.version}"</argument>
+ </arguments>
</configuration>
<goals>
<goal>run</goal>