Why maven is not working in eclipse indigo?

Posted by user1067665 on Stack Overflow See other posts from Stack Overflow or by user1067665
Published on 2012-03-02T09:30:35Z Indexed on 2012/09/17 15:38 UTC
Read the original article Hit count: 185

Filed under:
|

I'm trying to make a simple log in/ log out web application with maven and I'm creating the project with the command: " mvn archetype:generate " and choose 341 and it'll be created with the structure below:
webapp
-----src/main/java
-----Referenced Libraries
-----Maven Dependencies
-----src
-----target
pom.xml

But when I add some dependencies and update the project something weird happening with the structure of the project according to the picture below:

webapp
-----src/main/java
-----Referenced Libraries
-----JRE System Library
-----src
-----target
pom.xml

and it's not working any more.

As you can see the the first one has a Maven dependencies Library but the second one has been changed to JRE System Library.

I use mac os lion and eclipse indigo.

Anyone how knows why is like that?

Tancks

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven