Thank you Pedro Pedruzzi!



oliver.lee
2008-07-04



发件人: Pedro Pedruzzi
发送时间: 2008-07-04 19:04:00
收件人: [email protected]
抄送: 
主题: Re: [m2eclipse-user] What should i do if the pom report that missing some 
artifact?

Hi Oliver.

On Fri, Jul 4, 2008 at 12:35 AM, oliver.m2eclipse
<[EMAIL PROTECTED] > wrote:
> hi,all
>
> In order to remove the errors in pom,
>
> should i download the artifact and install it to local repository manually,
>
> or run some mvn command to download automatically?

If maven is reporting some missing artifacts, it means that it could
not find those in your configured repositories (local and remotes).

When some project depends on artifacts that are not present in the
official maven repository, it usually references some other repository
in its pom descriptor (or inherit this reference from a parent pom).
But it may not do this, and expects that you have access to some
particular remote repository (configured in your settings file) that
have those dependencies (that is a very common situation in corporate
environments, where you have an internal repository).

There are some licensing issues with some packages that prohibits them
from being hosted in a public repository. In such cases, your are
expected to install it locally as you pointed out.

Regards,

-- 
Pedro Pedruzzi | V2COM

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

    http://xircles.codehaus.org/manage_email

Reply via email to