Olá pessoal, estou com problemas e algumas dúvidas do maven 3.
1-) tenho instalado o maven 3 (apache-maven-3.0.4-bin) e as variaveis de ambientes setadas. Mas não consigo instalar o apache-maven-3.0.4-src. Qual a diferença entre eles?
2-) quero criar um projeto com o modelo jpa-maven-archetype, porem quando rodo o comando:
tenho o seguinte erro: failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache;maven.archetype:1.0)
[WARNING] No archetype found in remote catalog. Defaulting to internal catalog
Downloading: http://repo2.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:51.582s
[INFO] Finished at: Thu Jun 28 12:00:23 GMT-03:00 2012
[INFO] Final Memory: 8M/21M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
C:\mavenTeste>
daí colocando a url http://central.maven.org/maven2/ no browser aparece…
Browsing for this directory has been disabled.
View this directory’s contents on http://search.maven.org instead.
Daí né tchê vem aquela novela…adiciona um mirror do http://search.maven.org no settings.xml, daí ele não acha o plugin tal…
Esses repositórios tão mais fora que banheiro de posto…