Simon Kitching schrieb:
On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote:
Thanks Tim for useful tip, I installed the thirdparty artifact, but did
not use the option as you mentioned -- (-DgeneratePom=true). I would do
this and let you know the results.

Note: there are some jars (in particular, Sun stuff like
javax.transaction) for which there is a pom in the ibiblio repository,
but not the jar, for legal reasons.

For these jars, you don't want to specify -DpomFile or -DgeneratePom;
just install the jar and the pom will be downloaded (with all the right
info). At least I think that's how it works.

In the settings.xml, I have specified the localRepository pointing to
local filesystem, but file:// -- protocol has been specified. Might be
that because of the first problems, further stacktrace is getting
generated. I would try and see the results.

Are you talking about the *local* repository (ie cache typically in
~/.m2/repository), or a remote repository that happens to be hosted by
you? If the latter, I've been unable to get file:// urls working; if you
do, please let me know!

I have this in my settings.xml:

<repository>
  <id>spike.releases.3dparty</id>
  <name>Repository for third party libraries</name>
  <url>file:///C:/MavenRepo</url>
</repository>


Regards,

Simon



---------------------------------------------------------------------
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]

Reply via email to