Bonjour,
Alors voilà, j'ai deployer les bundles d'eclipse sur mon repository avec la commande :
mvn eclipse:to-maven -DeclipseDir=. -DstripQualifier=true -DdeployTo=trac.clermont.cemagref.fr::default::scp://trac.clermont.cemagref.fr/var/www/maven/repo
Puis si j'essaie de construire le projet vide suivant qui a juste une dépendance vers un artifact eclipse précédemment déployé :
Ça ne marche pas sur une dépendance transitive de cet artifact :
Code : 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
23
24
25
26
27 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h$ <modelVersion>4.0.0</modelVersion> <artifactId>moi</artifactId> <groupId>test</groupId> <version>1.0-SNAPSHOT</version> <dependencies> <dependency> <groupId>org.eclipse.equinox</groupId> <artifactId>app</artifactId> <version>1.2.0</version> </dependency> </dependencies> <name>${project.artifactId} ${project.version}</name> <packaging>jar</packaging> <repositories> <repository> <id>fr.cemagref.lisc.maven2</id> <name>Lisc repository</name> <url>http://trac.clermont.cemagref.fr/maven/repo/</url> </repository> </repositories> </project>
Alors que j'arrive très bien à télécharger http://trac.clermont.cemagref.fr/mav...ry-3.4.100.jar
Code : 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
23 Downloading: http://trac.clermont.cemagref.fr/maven/repo//org/eclipse/equinox/app/1.2.0/app-1.2.0.pom 765b downloaded [INFO] artifact org.eclipse.equinox:registry: checking for updates from fr.cemagref.lisc.maven2 [INFO] artifact org.eclipse.equinox:registry: checking for updates from central Downloading: http://trac.clermont.cemagref.fr/maven/repo//org/eclipse/equinox/registry/3.4.100/registry-3.4.100.pom 610b downloaded [INFO] artifact org.eclipse.equinox:common: checking for updates from fr.cemagref.lisc.maven2 [INFO] artifact org.eclipse.equinox:common: checking for updates from central Downloading: http://trac.clermont.cemagref.fr/maven/repo//org/eclipse/equinox/common/3.5.0/common-3.5.0.pom 410b downloaded Downloading: http://trac.clermont.cemagref.fr/maven/repo//org/eclipse/equinox/app/1.2.0/app-1.2.0.jar 79K downloaded Downloading: http://repo1.maven.org/maven2/org/eclipse/equinox/registry/3.4.100/registry-3.4.100.jar Downloading: http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.5.0/common-3.5.0.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.eclipse.equinox:registry:jar:3.4.100
J'espère avoir suffisament exposé le problème. Si vous voyez quelque chose qui peut clocher, ça m'aiderai grandement.
Merci
Partager