Ricardo Gladwell wrote:
Hi All,
I'm trying to write a project.xml that, for various reasons, references a JAR on the local filesystem. However, when I define something like the following in my POM:
<dependency> <artifactId>jfacetext</artifactId> <groupId>eclipse</groupId> <version>3.0.0</version> <type>jar</type> <jar>jfacetext.jar</jar> <url>file:/C:/eclipse/plugins/org.eclipse.jface.text_3.0.0/</url> </dependency>
Maven fails to obtain the required dependencies. The value of the URL element is generated from a java.io.File.toUrl() call so I assume it is formatted correctly. Is there any reason Maven is not parsing the URL above properly?
url is just a marker tag that lets users know where to manually download the artifact in case it's not in the remote repository.
try putting your path into the <jar> tag, not sure if it takes any file or just files in the local repository.
hope that helps.
Milos Kleint
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
