[SDNC-5] added yang upload
[sdnc/oam.git] / dgbuilder / pom.xml
index 5eb8e72..6c185bb 100644 (file)
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                       <phase>generate-sources</phase>
+                                       <configuration>
+                                       <tasks>
+                                               <exec executable="${project.basedir}/build_pom_for_yang_compile">
+                                                       <arg value="${project.parent.version}"/>
+                                               </exec>
+                                       </tasks>
+                                       </configuration>
+                                       <goals>
+                                               <goal>run</goal>
+                               </goals>
+                               </execution>
+                       </executions>
+                       </plugin>
                </plugins>
        </build>