« Return to Thread: RE: [RANT] This Maven thing is killing us....

Re: [RANT] This Maven thing is killing us....

by Andrew Williams-5 :: Rate this Message:

Reply to Author | View in Thread

This is only true for release repositories though, as a snapshot
repository will have an updated version when you re-deploy surely?

Andy

On Sun, 2006-07-02 at 07:01 +0800, Edwin Punzalan wrote:

> May I add, that when maven already downloaded a poor/invalid pom, even
> after fixing the pom in the repository, maven won't know that it's
> changed (unless the version changed) and it will not download it.  So
> you end up still using your local repo copy.
>
> To re-download a pom, you have to delete your local copy first.
>
> This is a good solution though: http://jira.codehaus.org/browse/MNG-1258
>
>
> Mike Perham wrote:
> >> -----Original Message-----
> >> From: Kenney Westerhof [mailto:kenney@...]
> >> Sent: Saturday, July 01, 2006 2:59 PM
> >> To: Maven Developers List
> >> Subject: RE: [RANT] This Maven thing is killing us....
> >>
> >>
> >>    
> >>> Perhaps we can have a rule that every dependency MUST have
> >>>      
> >> a declared
> >>    
> >>> <scope> and <optional> element so that we know the
> >>>      
> >> developer has thought
> >>    
> >>> about the correct values for them, rather than always using the
> >>> defaults?
> >>>      
> >> That's against Maven philosophy: conventions based builds.
> >> Only specify
> >> things that don't follow the defaults..
> >>
> >> I think the problems with poms are because they're generated
> >> by default
> >> or converted from maven 1, or just uploaded by someone who
> >> wants it there.
> >> If a project is built using maven 2, the poms should be correct.
> >>
> >>    
> >
> > Agreed, but how do we solve the problem?  My suggestion does not force
> > anyone to change their POMs _unless_ they want them hosted at central.
> > The issue is that anything hosted at central necessarily becomes a
> > publicly available component that others can use.  If people want to use
> > the conventions, fine, but there obviously needs to be a higher standard
> > to make your component publicly available for use by others.  We are
> > hurting nobody but ourselves by distributing poorly defined POMs because
> > inevitably the Maven project as a whole gets the blame.
> >
> > mike
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@...
> > For additional commands, e-mail: dev-help@...
> >
> >
> >  
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: RE: [RANT] This Maven thing is killing us....