The problem is quite simple: there is an ant project that I should port to maven. As maven has a recommended/expected project directory structure, this would implicate much manual work if I restructure the directories of the java files. On the other hand, the project would also not be very happy with this solution, not mentioning others, using the packages of the current project.
Do you have any idea, how it would be possible to migrate to maven without having to change the directory structure? Thank you also in advance.
解决方案
It is strongly recommended that you use Maven's standard directory structure, but you can set a custom src directory in your pom. Something like:
path\to\actual\src
Edit: The following is a list of default settings that are set in the Maven Super POM and can be overriden in your project's pom.xml
target
target/classes
${artifactId}-${version}
target/test-classes
src/main/java
src/main/scripts
src/test/java
src/main/resources
src/test/resources