Bonjour,
En suivant le tuto :
http://www.scub-foundation.org/fr/doku.php?id=first_steps:core_create_project
Je rencontre un problème de dépendance. J'ai exécute la commande
depuis Eclipse : dependency:go-offline : il récupère les dépendances
et se bloque sur un fichier pom suivant : voir trace ci-dessous
Avez-vous une idée du problème ?
Merci d'avance.
[...]
Downloading:
http://repo1.scub-foundation.org/repo/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12.794s
[INFO] Finished at: Sat Sep 24 16:23:41 CEST 2011
[INFO] Final Memory: 7M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project scub-foundation-my-contact-
manager-core: Could not resolve dependencies for project scub-
foundation.sample.my-contact-manager:scub-foundation-my-contact-
manager-core:war:1.0: Failed to collect dependencies for
[org.springframework:spring-context:jar:2.5.6 (compile),
org.springframework:spring-aop:jar:2.5.6 (compile),
org.springframework:spring-orm:jar:2.5.6 (compile),
org.springframework:spring-jdbc:jar:2.5.6 (compile),
org.springframework:spring-jms:jar:2.5.6 (compile),
org.springframework:spring-web:jar:2.5.6 (runtime),
org.springframework.security:spring-security-core:jar:2.0.4 (compile),
org.springframework.security:spring-security-cas-client:jar:2.0.4
(compile), org.aspectj:aspectjweaver:jar:1.6.1 (compile),
org.hibernate:hibernate:jar:
3.2.5.ga (compile),
org.hibernate:hibernate-search:jar:
3.0.1.GA (compile),
org.hibernate:hibernate-annotations:jar:
3.3.0.ga (compile),
javax.persistence:ejb:jar:3.0-public_review (compile), commons-
dbcp:commons-dbcp:jar:1.2 (runtime), hsqldb:hsqldb:jar:1.8.0.7 (test),
scub-foundation.base.framework:scub-foundation-framework-core-test:jar:
3.0 (test), scub-foundation.base.framework:scub-foundation-framework-
core:jar:3.0 (compile), scub-foundation.base.framework:scub-foundation-
framework-base:jar:3.0 (compile), org.dbunit:dbunit:jar:2.2.1 (test),
junit:junit:jar:4.4 (test), log4j:log4j:jar:1.2.14 (compile),
postgresql:postgresql:jar:8.3-603.jdbc3 (runtime),
net.sf.dozer:dozer:jar:4.3 (compile), jamon:jamon:jar:2.7 (compile),
org.apache.lucene:lucene-analyzers:jar:2.3.0 (compile)]: Failed to
read artifact descriptor for org.apache.commons:commons-io:jar:1.3.2:
Could not transfer artifact org.apache.commons:commons-io:pom:1.3.2
from/to artifactory (
http://repo1.scub-foundation.org/repo): Failed to
transfer
http://repo1.scub-foundation.org/repo/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.pom.
Error code 400, The target deployment path 'org/apache/commons/commons-
io/1.3.2/commons-io-1.3.2.pom' does not match the POM's expected path
prefix 'commons-io/commons-io/1.3.2'. Please verify your POM content
for correctness and make sure the source path is a valid Maven 2
repository root path. -> [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