> -----Original Message----- > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2008 2:44 PM > To: [email protected] > Subject: Re: useMavenMetadata not implemented on ibiblio resolver? > > On Mon, Mar 10, 2008 at 7:38 PM, Brown, Carlton > <[EMAIL PROTECTED]> wrote: > > I tried to set useMavenMetadata according to the documentation on > > ibiblio resolver like this: > > > > <ibiblio name="m2-proxied-http" > > > root="http://myrepo:8080/archiva/repository/m2-central-cached" > > m2compatible="true" > > usepoms="true" > > useMavenMetadata="true" > > checkmodified="true" > > > </ibiblio> > > > > This error was the result: > > > > impossible to configure ivy:settings with given file: > > ivy-settings.xml > > :java.text.ParseException: failed to load settings from > > file:/ivy-settings.xml: problem in config file: failed to load > > settings from file:/ivy-settings.xml: no set method found for > > useMavenMetadata on class > > org.apache.ivy.plugins.resolver.IBiblioResolver > > > > Does Ivy not implement this attribute, or have I made an error > > somewhere? > This is strange, it should work. Which version of Ivy are you using? > BTW, true is the default for useMavenMetadata.
I'm using 2.0.0-beta1. I like to set important attributes explicitly. It helps the poor maintainers who will inherit my code and will not know the attribute's default value in the ancient year 2008. ----------------------------------------- ==================================================== This message contains PRIVILEGED and CONFIDENTIAL information that is intended only for use by the named recipient. If you are not the named recipient, any disclosure, dissemination, or action based on the contents of this message is prohibited. In such case please notify us and destroy and delete all copies of this transmission. Thank you. ====================================================
