Bonjour,
Dans mon projet Maven, sur mon POM.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>myPack</groupId>
<artifactId>IAgo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>IAgo</name>
<url>http://maven.apache.org</url>


</project>
,je clique sur la flèche verte de Netbeans et ça fait :


NetBeans: Executing 'mvn -Dexec.classpathScope=runtime -Dexec.args=-classpath %classpath myPack.JeuConsole -Dexec.executable=/usr/lib/jvm/java-6-sun/bin/java -Dnetbeans.execution=true -Dmaven.repo.local=/home/user/.m2/repository process-classes org.codehaus.mojo:exec-maven-plugin:1.1.1:exec'
NetBeans: JAVA_HOME =/usr/lib/jvm/java-6-sun
Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/co...ugin-1.1.1.pom
[WARNING] Unable to get resource 'org.codehaus.mojo:exec-maven-plugin:pom:1.1.1' from repository central (http://repo1.maven.org/maven2): Specified destination directory cannot be created: /home/user/.m2/repository/org/codehaus/mojo/exec-maven-plugin/1.1.1
Downloading: http://repo1.maven.org/maven2/org/co...ugin-1.1.1.pom
[WARNING] Unable to get resource 'org.codehaus.mojo:exec-maven-plugin:pom:1.1.1' from repository central (http://repo1.maven.org/maven2): Specified destination directory cannot be created: /home/user/.m2/repository/org/codehaus/mojo/exec-maven-plugin/1.1.1
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Error building POM (may not be this project's POM).


Project ID: org.codehaus.mojo:exec-maven-plugin

Reason: POM 'org.codehaus.mojo:exec-maven-plugin' not found in repository: Unable to download the artifact from any repository

org.codehaus.mojo:exec-maven-plugin:pom:1.1.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.codehaus.mojo:exec-maven-plugin


------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 1 second
Finished at: Mon Apr 26 15:56:59 CEST 2010
Final Memory: 1M/4M
------------------------------------------------------------------------
1)Et mon ~/.m2/repository est vide , alors où trouve-t-il l'exigence de 1.1.1 ; c'est la version de quoi, du POM.xml?
2)Je connais la structure plugin:target , mais dans org.codehaus.mojo:exec-maven-plugin:pom:1.1.1 , on a 4 parties qui correspondent à quoi ? plugin:target:argument1:argument2?