I'm also start migrating projects to maven2. Only new projects use maven2
but I have the same issue regarding corporate repository.

I've installed Archiva (Maven repository manager) that can act as a proxy
for maven public repository and manager for private artifacts. As it
auto-detects request from maven1 or maven2, it can be used to serve
artifacts to maven1 from a maven2-layout repository. It can also manage
legacy (maven1) layout repositories if required.

I have converted my m1 repo to m2 layout and m1 projects now use my archiva
URL as remoteRepo.

If you need to deploy artifacts to your corporate repo, you have two options
:
1. build those artifacts using maven2 (requires all projects to migrate)
2. configure archiva to set your corporate repo as "legacy" layout, so that
maven1 can deploy on it.

You may mix solution : have a dual private repo (m1 & m2 layout). M1 builds
deploy to m1 private, and m2 builds deploy to m2. archiva proxying both will
"merge" those two repository from a user point of view.

AFAIK there is no issue having both M1 and M2 running.

Nico.


2006/12/7, Rakesh Patel <[EMAIL PROTECTED]>:

Hi,

I have just joined a new company which uses Maven 1.x. I have no
experience with Maven at all and have been charged with evaluating a
move to Maven 2.x.

I am looking for some high-level information about the implications of
moving:

1. The existing infrastructure includes a repository for maven 1.x
builds - this must remain in place so is it possible to have a separate
repository for maven 2.x builds?
2. We have a build machine which must be used for compiling all
releases. This is hooked to the maven 1.x repository. Can it (easily)
aslo use the maven 2.x repositiory or would we be better off starting
with a new build box?
3. Any other issues?

Like i said, i have not used Maven before and the hope is that if its
feasible to move to Maven 2.x on my project, then i can begin to learn
there.

Thanks

Rakesh

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


Reply via email to