I'm converting a legacy Java project to Maven. It currently uses Ant, and has a structure like this:
src\mainProduct\com\mycompany
src\external\com\acme\...
Assuming I move everything under src\mainProduct
into the Maven-structure (src\main\java
), is there a way to include the external
folder as an additional source directory without moving it? Alternatively, how do I move it under src\main\java\external
, without changing the package names?