On Sat, 2002-06-01 at 20:17, Jon Scott Stevens wrote:
> on 6/1/02 4:31 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
> > -    
> > <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic/jakarta-tur
> > bine-maven</connection>
> > +    
> > <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:jakarta-tur
> > bine-maven</connection>
> 
> Why not make these new elements instead of having to parse them? For
> example, what if the CVS server lives on a different port # than the default
> on? That would break the parser...
> 
> What if we aren't using CVS?

The whole point of the new structure is to provide an agnostic way to
deal with repositories. Hence the removal of the CVS specific elements
in the POM. Underneath we are still dealing with CVS only but that's
simply a matter of not fleshing out the handling mechanism for SCMs
other than CVS.

The method used is one that reflects something like the JDBC mechanism
where you have an URL and it's up to the handler to parse URL and do
with it what it will.

We could have elements within a repsository to handle the specifics of
the SCM a la:

<repository className="org.apache.maven.CvsRepository">
  <root/>
  <module/>
</repository>

But we decided to go for the handler mechanism where the handler will
deal with the URL.
 
> -jon
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://tambora.zenplex.org


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

Reply via email to