Bonjour à tous,

mvn eclipse:eclipse me donne l'erreur ci-dessous alors que j'ai installé le plugin jetty (jetty-maven-plugin-7.0.0.RC7-20090930.130530-1.jar ) avec succes et je le vois bien de le repository :

C:\Documents and Settings\ingenieur11\workspace\springswf> mvn clipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] ------------------------------------------------------------------------
[INFO] Building springswf Maven Webapp
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/${jetty-version}/maven-jetty-plugin-${jetty-version}.pom
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/${jetty-version}/maven-jetty-plugin-${jetty-version}.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.mortbay.jetty
ArtifactId: maven-jetty-plugin
Version: ${jetty-version}

Reason: Unable to download the artifact from any repository

org.mortbay.jetty:maven-jetty-plugin:pom:${jetty-version}

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

[INFO] ------------------------------------------------------------------------
mon POM.xml

Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<build>
    <finalName>springswf</finalName>
    <defaultGoal>jetty:run</defaultGoal>
    <plugins>
      <plugin>
	   <artifactId>maven-compiler-plugin</artifactId>
       <configuration>
         <source>1.6</source>
         <target>1.6</target>
		 <verbose>true</verbose>
       </configuration>
      </plugin>
    <plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>${jetty-version}</version>
				<configuration>
					<scanIntervalSeconds>30</scanIntervalSeconds>
				</configuration>
			</plugin>
	</plugins>
   </build>

Merci pour votre aide