On Wednesday 28 June 2006 16:03, Graham Leggett wrote:
> On Wed, June 28, 2006 3:41 pm, Tomasz Pik wrote:
> >> Why is maven2 trying to read the metadata file, when the jar file is
> >> already present?
> >
> > To find out, if there are also dependencies, that needs to be downloaded
> > and so on.
>
> But the dependancy in question was installed manually by a human using
> install:install-file, which means there will never be any depedancies
> unless also specified by the human.
>
> It would make the most sense that install:install-file created an empty
> pom by default, to stop the unnecessary network traffic and warnings.

Use -DgeneratePom=true. This option has apparantly been set to false per 
default (used to be
true in the 2.0.2 release...)

>
> >> Is there some way to tell maven2 "this is a local file in the local
> >> repository, do not try and download this file remotely"?
> >
> > Install them in local repository with generic POM, see
> > http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
>
> This describes the deployment of files to a remote repository. What I need
> is for install:install-file to install the files correctly in the local
> repository only.
>
> Having used maven 1 for a number of years, installing files into a local
> repository was no trouble at all. So far maven 2's repository handling is
> a nightmare in comparison.
>
> Regards,
> Graham
> --
>
>
>
> ---------------------------------------------------------------------
> 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