07 November 2016

Maven subprojects

A raw workaround, and work directly on a parent pom.xml into an eclipse workspace:
  • create workspace
  • create parent project
  • copy files/directories, overwriting (subdirectories)
  • import thru "Existing Maven Projects", and select parent project

however, it doesn't work as expected... I think the copy to directories is wrong, and only it should be a reference to the origin.

A much better explanation: http://websystique.com/maven/creating-maven-multi-module-project-with-eclipse/

UPDATE1: In the end, there is a quick difference as workaround: just import directly the parent pom.xml




My Blog List

Blog Archive

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.