Wilfred,
 I must confess I never used the 'repo override' myself... ;-)
 people: correct me if I'm wrong !!
 I guess since you want to always override you best create a profile that 
always
'activates' e.g.
  
<profile>
<id>jdk-1.5</id>
<activation>
<jdk>1.5</jdk>
</activation>

<repositories>
<repository>
<id>my own repo</id>
<name>My own Repository</name>
<url>http://localhost:8080/myownrepo/maven2</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
</profile>
Dennis


 On 7/14/05, Peter van de Hoef <[EMAIL PROTECTED]> wrote: 
> 
> If you specify a plugin repository in your POM, like:
> 
> <pluginRepositories>
> <pluginRepository>
> <id>my-plugins</id>
> <name>My Plugin Repository</name>
> <url>http://repository.mycompany.org</url>
> </pluginRepository>
> </pluginRepositories>
> 
> then, this plugin repository is always consulted before the central maven 
> plugin repository.
> At least, that is what I experience. I'm using the latest from SVN. Could 
> this be different for alpha-3 or whatever
> version you are using?
> 
> HTH,
> Peter
> 
> 
> Wilfred Springer wrote:
> > I have seen this URL, thanks. In fact, I even tried a number of things
> > to understand how it works, but I'm not sure if I'm required to
> >
> > add a mirror
> > add a server
> > add a profile with a repository
> >
> > What do you suggest?
> >
> > Thanks,
> >
> > Wilfred
> >
> > On Thu, 2005-07-14 at 16:34, Dennis Geurts wrote:
> >
> >>try this URL:
> >> http://maven.apache.org/maven2/maven-settings/settings.html
> >>
> >>Dennis
> >> On 7/14/05, Wilfred Springer <[EMAIL PROTECTED]> wrote:
> >>
> >>>All,
> >>>
> >>>I want my project to check for a maven plugin from my own repository,
> >>>before trying the http://repo1.maven.org/maven2/plugins repository. Any
> >>>clues?
> >>>
> >>>Thanks,
> >>>
> >>>Wilfred
> >>>
> >>>--
> >>>_________________________________________________________________
> >>>Wilfred Springer Phone : +31 (0)3 3451 5736
> >>>Software Architect Mobile : +31 (0)6 2295 7321
> >>>Client Solutions Fax : +31 (0)3 3451 5734
> >>>Enterprise Web Services Mail : [EMAIL PROTECTED]
> >>>Sun Microsystems Netherlands AIM : wilfred springer
> >>>http://blogs.sun.com/wilfred/
> >>>
> >>>
> >>>NOTICE: This email message is for the sole use of the intended
> >>>recipient(s) and may contain confidential and privileged
> >>>information. Any unauthorized review, use, disclosure or distribution
> >>>is prohibited. If you are not the intended recipient, please contact
> >>>the sender by reply email and destroy all copies of the original
> >>>message.
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>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