Removing java source folders for a Maven reactor project in Eclipse
Question
When checking out a reactor project with multiple projects m2eclipse insists in creating the /src/{main,test}/{java,resources} folders even though the projects' packaging type is pom
.
How can I instruct m2eclipse to not create source folders for pom
projects?
Solution
Assuming you use Eclipse Indigo try deleting:
- .classpath
- .project
- .settings
- src
And then on your eclipse project: Refres + Maven > Update Project configuration
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow