2) the eclipse not take me M2_REPO variable (in another workspace it works) I have added the variable and the jar.
For every workspace, you need to call mvn eclipse:configure-workspace once. This initializes the M2_REPO variable.
3) Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet. PropiedadesArg Unknown Faceted Project Problem (Java Version Mismatch)
The compiler level is taken from the pom configuration of the maven compiler plugin.
Example (for 1.6 compliance):
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin>
But apart from that: mvn eclipse:eclipse shouldn't be used any more, m2eclipse is the way to go for Eclipse + Maven. It uses an embedded Maven installation to actually run the maven build (or parts of it) in Eclipse, whereas the Maven Eclipse Plugin just configures Eclipse from the outside. Here's a thread were the Maven founders discuss this topic.
Also:
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0 -DgroupOd=ar.com -DartifactId=RETOP ^^^^^^^
here's a typo, it's groupId, not groupOd
Oh, now I get it. eclipse:eclipse uses the variable MAVEN_REPO, not M2_REPO (M2_REPO is created and maintained by m2eclipse). Anyway, in Eclipse, select Window > Preferences > Java > Build Path > Classpath Variables, add or edit the M2_REPO variable and set it to <path to your home directory>/.m2/repository, e.g. C://users/yournamehere/.m2/repository