Bonjour,

Dans un projet j'ai un .pom de telle sorte que j'y spécifie une dépendance :

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
28
29
30
31
32
33
34
35
 
 
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="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>websphinx</groupId>
	<artifactId>websphinx</artifactId>
	<packaging>jar</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>WebSPHINX Maven Mojo</name>
	<url>http://www.cs.cmu.edu/~rcm/websphinx/</url>
 
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
 
	<dependencies>
		<dependency>
			<groupId>jakarta-regexp</groupId>
			<artifactId>jakarta-regexp</artifactId>
			<version>1.4</version>
		</dependency>
	</dependencies>
 
</project>
ensuite dans une invite je tape la commande mvn clean package
J'obtiens donc dans mon projet sous Eclipse les Referenced Libraries dans lequel l'archive jar jakarta-regexp a été ajoutée.
Cependant je n'ai pas les sources... ni la javadoc de cette dépendance.

J'ai essayé en tapant la commande mvn clean package -DdownloadSources=true -DdownloadJavadocs=true mais rien n'y fait...

Voilà mon problème si quelqu'un y trouve une solution merci à lui.