Oh wait I'm stupid :) Maven 2 is able to work with a maven 1 repository.
Just make sure layout is set to 'legacy' in your repository declaration.

On 5/8/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

 I think this is it :
https://svn.apache.org/repos/asf/maven/sandbox/repoclean/

But I have no idea how it works.


 On 5/8/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> This problem seem to come quite often lately. I know Apache use a
> conversion tool or script to keep in sync their Maven 1 & 2 repositories.
> Would be nice if a developer could give us an idea where we can find it.
>
>
> On 5/8/06, barth <[EMAIL PROTECTED] > wrote:
> >
> >
> > Hello all,
> >
> > I am trying to migrate a project from maven 1 to maven 2. We have an
> > internal repository containing a lot of libraries we use. The problem
> > I am
> > experiencing is that we just have jar files in this repository but not
> > any
> > pom file... With maven 1 it was working fine but with maven 2 I get
> > this
> > kind of error :
> >
> > ***
> > Downloading:
> > file:/G:/Departments/IT/Groups/AIS/Sections/PM/maven/cewolf/poms/batik-
> > dom-0.10.1.pom
> > [WARNING] Unable to get resource from repository repo2
> > (file:/G:/Departments/IT/Groups/AIS/Sections/PM/maven)
> > Downloading:
> >
> > http://repo1.maven.org/maven2/cewolf/batik-dom/0.10.1/batik-dom-0.10.1.pom
> > [WARNING] Unable to get resource from repository central
> > ( http://repo1.maven.org/maven2)
> > ***
> >
> > G:/Departments/IT/Groups/AIS/Sections/PM/maven/cewolf/poms doesn't
> > exist but
> > G:/Departments/IT/Groups/AIS/Sections/PM/maven/cewolf/jars does.
> > My question is simple : what should I do ? create manually each pom ?
> > or can
> > I specify somewhere that I want the same behaviour than for maven 1 ?
> >
> > Thanks a lot in advance,
> >
> > Barth
> >
> > PS: Here is the definition of my repository
> > <repository>
> >                    <id>repo2</id>
> >                    <name>repo2</name>
> >
> > <url>file:/G:/Departments/IT/Groups/AIS/Sections/PM/maven</url>
> >                    <layout>legacy</layout>
> >                    <snapshots><enabled>true</enabled></snapshots>
> >                </repository>
> > --
> > View this message in context: 
http://www.nabble.com/-m2-internal-repository-with-jars-but-no-pom-t1577488.html#a4282535
> >
> > Sent from the Maven - Users forum at Nabble.com <http://nabble.com/>.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to