Generated-source compilation plugin fix 15/2015/1
authorLathish <lathishbabu.ganesan@est.tech>
Thu, 12 Dec 2019 15:35:14 +0000 (15:35 +0000)
committerLathish <lathishbabu.ganesan@est.tech>
Thu, 12 Dec 2019 15:35:18 +0000 (15:35 +0000)
Issue-ID: NONRTRIC-86
Change-Id: Ifb12b0015e98334363de81a32233a8ee14560a75
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
policy-agent/pom.xml

index 2624596..5ab2663 100644 (file)
                     <skipTests>false</skipTests>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>${project.build.directory}/generated-sources/annotations/</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>