If I generate a new Maven java project on the command line using the following:
mvn archetype:create -DgroupId=my.group.id -DartifactId=MyArtifactId
it generates (as expected) the class App.java in the package my.group.id.
If I use the same groupId and artifactId in Maven4Eclipse (in MyEclipse 6.6) then it generates App.java in the package my.group.id.MyArtifactId.
What gives?
It’s not simply a matter of refactoring because even if you do that, and then install that jar, it’s put it inside the repository under the incorrect directory (my/group/id/MyArtifactId).
This is confusing. Any ideas?
cheers,
Ian