Comment résoudre le problème avec les dépendances Maven “Échec de l'exécution de l'objectif du projet”

J'ai la structure suivante dans Eclipse de mes projets maven:

MainMavenProject
---MyProject
---MProject-client
---MProject-xyz
---MProject-web
...

Dans Eclipse, j'utilise JBoss 7.1 pour exécuter MProject-web:

Comment résoudre le problème avec les dépendances Maven “Échec de l'exécution de l'objectif du projet”

Maintenant, je veux courir Jetée avec un autre projet. Depuis l'annuaire /MainMavenProject/MyProject je exécuter une commande

mvn -Djetty:port=8081 jetty:run

Il a été terminé avec une erreur:

[ERROR] Failed to execute goal on project MyProject: Could not resolve dependencies for project ***.*****.MyProject:MyProject:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: ***.*****.********:MyProject-client:jar:1.0.
1-SNAPSHOT, com.*****.********:MProject-xyz:jar:1.0.1-SNAPSHOT: Failure to find ***.*****.********:MyProject-client:jar:1.0.1-SNAPSHOT in https://*********.*****.com/nexus/content/groups/development was cached in the local repository, resolutio
n will not be reattempted until the update interval of *****-central has elapsed or updates are forced -> [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/DependencyResolutionException

Dans MyProject, j'utilise depedencies pour les autres:

<dependency>
    <groupId>com.*****.********</groupId>
    <artifactId>MyProject-client/artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

<dependency>
    <groupId>com.*****.********</groupId>
    <artifactId>MProject-xyz</artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

Comment puis-je vérifier, exactement ce qui s'est vraiment passé, et après cela, comment le résoudre?

Je vous remercie à l'avance

InformationsquelleAutor ruhungry | 2014-03-24