On Tue, February 13, 2007 6:40 pm, lightbulb432 wrote:

> What's the difference between Maven and version control repositories when
> you're using both? Maven has its repository, but so does my version
> control.

"repository" is the word used in both cases to describe the data store of
record for each system, but a maven repository doesn't work anything like
a version control repository, and vice versa.

They aren't the same thing.

In a version control system, a repository is the place where all the
versions of the source being stored is kept.

In maven, the repository is a big directory tree where jar files[1] are
stored, in such a way that the jar files can be referenced quickly and
easily by maven.

> Is it possible to version everything in Maven using source control,
> including the library repository?

No[2], there is little point in doing this.

[1] Or other files, maven repos can contain artifacts other than jar, but
jar is most common.

[2] Ok, theoretically yes, but only when you version control server can
behave like a webserver.

Regards,
Graham
--



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

Reply via email to