Hi,

Please provide "ant -v" output to let us understand what you mean by "I get a 
validation error".

Regards,

Hervé

Le vendredi 01 février 2008, Thomas Tardy a écrit :
> Does anybody have an idea why the maven ant tasks see the repository
> configured in the settings.xml during the later build phases but not during
> the validate phase?
>
> On Jan 31, 2008 1:38 PM, Thomas Tardy <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm trying to load an existing pom.xml with ant. The pom refers his
> > parent, which is not in the local repository. The remote repository is
> > configured in the settings.xml ${user.home}/.m2/settings.xml and it's
> > working with "normal" maven. The maven ant tasks are not able to download
> > the parent from the repository. I get a validation error. When I download
> > the parent pom to the local repository the validation is successful.
> > After the validation phase, the maven ant tasks are able to download
> > artefacts from the remote repository.
> >
> > Is this a bug? What am I doing wrong?
> >
> > Thank you for your help!
> >
> > Regards,
> > Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to