Hello,

I am a beginner user of Maven and m2eclipse, and I would like to load "args4j" [https://args4j.dev.java.net/] as a dependency of my project. Using the m2eclipse Maven indexes view, I added Java.net repository [http://download.java.net/maven/2/], and I am indeed able to see by browsing the repository the artifacts args4j, args4j-tools, args4j-siteargs4j.

Back to my project in eclipse Package explorer, I added args4j as a dependency (version 2.0.11) using m2eclipse menu. But immediately after this, the Maven console shows: "12/02/09 16:31:17 CET: Missing artifact args4j:args4j:jar:2.0.11:compile". Indeed, the args4j dependency is missing from my project, eclipse says in the Problem view: "Project 'ItbTranslator' is missing required library: 'C:\Documents and Settings\Olivier\.m2\repository\args4j\args4j\2.0.11\args4j-2.0.11.jar'".

Am I missing something about adding third party repositories? Or is the args4j project responsible for this misconfiguration? How can I solve this problem?

Here is my project pom.xml. Thank you for any help or pointer!
<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>be.ac.ulb.erasme.ar</groupId>
 <artifactId>ItbTranslator</artifactId>
 <packaging>jar</packaging>
 <version>0.1-SNAPSHOT</version>
 <name>ItbTranslator</name>
 <url>http://maven.apache.org</url>
 <dependencies>
   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.5.6</version>
   </dependency>
   <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>4.5</version>
   </dependency>
   <dependency>
       <groupId>args4j</groupId>
       <artifactId>args4j</artifactId>
       <version>2.0.11</version>
   </dependency>
 </dependencies>
</project>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to