Advertisement
Guest User

eclipse pom fix

a guest
Feb 9th, 2015
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. I think adding this to our project's -impl/pom.xml file fixed the eclipse importing issue:
  2.  
  3. <build>
  4. <pluginManagement>
  5. <plugins>
  6. <plugin>
  7. <groupId>org.codehaus.mojo</groupId>
  8. <artifactId>build-helper-maven-plugin</artifactId>
  9. <executions>
  10. <execution>
  11. <id>add-source</id>
  12. <phase>generate-sources</phase>
  13. <goals>
  14. <goal>add-source</goal>
  15. </goals>
  16. <configuration>
  17. <sources>
  18. <source>${project.build.directory}/generated-sources/java/</source>
  19. </sources>
  20. </configuration>
  21. </execution>
  22. </executions>
  23. </plugin>
  24. </plugins>
  25. </pluginManagement>
  26. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement