Fix sdnc dgbuilder build failure
[sdnc/oam.git] / dgbuilder / pom.xml
index 5eb8e72..6c4f758 100644 (file)
@@ -81,6 +81,7 @@
                                                        <descriptors>
                                                                <descriptor>src/assembly/assemble_zip.xml</descriptor>
                                                        </descriptors>
+                                                       <appendAssemblyId>false</appendAssemblyId>
                                                </configuration>
                                        </execution>
                                </executions>
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                       <phase>generate-sources</phase>
+                                       <configuration>
+                                               <workingDirectory>"${project.basedir}"</workingDirectory>
+                                               <executable>build_pom_for_yang_compile</executable>
+                                               <arguments>
+                                                       <argument>"${project.parent.version}"</argument>
+                                               </arguments>
+                                       </configuration>
+                                       <goals>
+                                               <goal>run</goal>
+                               </goals>
+                               </execution>
+                       </executions>
+                       </plugin>
                </plugins>
        </build>