Hi Ed

Only by importing the project structure does Eclipse receive the Maven
"nature". So initially you're importing a Maven project into a plain Java
project.
What you're looking for is to select the project, right-click and do
"Update Maven project". This will (re-) apply everything defined in the
pom.xml, and afterwards you should have your desired structure.

Simon

On Mon, Dec 27, 2021, 16:42 Ed Dowgiallo <eddowgia...@gmail.com> wrote:

>  Hi,
>
> First time poster.
>
> I like the Maven approach to modules and am using it for my projects with
> the Eclipse IDE. Not quite getting something right though. After I have
> committed a project to git and do a fresh checkout of it on a different
> computer, it appears to forget all the module structure. The child projects
> disappear and the main project changes the module source folders to
> regular folders.
>
> Is there a configuration file other than pom.xml missing from my git
> commits?
>
> Is it possible for me to restore the lost module structure?
>
> Thank you,
> Ed
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/m2e-users

Reply via email to