Merge "Generated-source compilation plugin fix"
authorHenrik Andersson <henrik.b.andersson@est.tech>
Fri, 13 Dec 2019 12:24:53 +0000 (12:24 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 13 Dec 2019 12:24:53 +0000 (12:24 +0000)
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>