I have validated the POM using pom:validate and it doesn't report any error. Anyway,
here is the relevant portion:
<dependencies>
<dependency>
<id>NetComponents</id>
<version>1.0</version>
<url>http://foo.bar.com</url>
</dependency>
</dependencies>
When I noticed that the use of the <id> element is deprecated, I changed it to the
following; with no success:
<dependencies>
<dependency>
<groupId>NetComponents</groupId>
<artifactId>NetComponents</artifactId>
<version>1.0</version>
<url>http://foo.bar.com</url>
</dependency>
</dependencies>
The ~/build.properties defines my remote repository (in addition to ibiblio). It
should be noted that this setup is working for all other jars; I have confirmed this
by wiping out the ~/.maven/repository's contents -- this causes jars to be loaded from
one or the other of the stated remote repositories.
Sri
-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 12:25 AM
To: Maven Users List
Subject: Re: Plug-in dependency being ignored
On Sun, 2003-08-17 at 00:09, Sri Sankaran wrote:
> Using : Maven 1.0 beta 10
>
> Maven is ignoring a stated dependency of a plug-in.
>
> I have written a plug-in that invokes the ant telnet task. Since this requires the
> NetComponents jar, I placed this in my remote repository and added the appropriate
> dependency section in the plug-in's project.xml.
>
> However, when I invoke the plug-in I don't see it trying to load the jar from the
> repository and subsequently it fails with a
>
> Could not create task of type telnet
>
> error.
>
> Am I doing something wrong?
Could be, let's see the project.xml for the plug-in.
> Sri
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]