I don't understand your problem. If you are in a legacy repo (m1), a group like foo.bar is a unique directory foo.bar. It's only with a m2 layout that you have a subdirectory bar in the directory foo. For maven 1 or maven 2 with a legacy repo a dependency : <groupId>foo.bar</groupId> <artifactId>baz</artifactId> <version>0.815</version> is translated to : /reponame/foo.bar/jars/baz-0.815.jar With m2, the dependency is : /reponame/foo/bar/baz/0.815/baz-0.815.jar
Arnaud On 1/2/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
I'd look at Apache url rewriting to convert those foo.bar into foo/bar urls. Wayne On 1/2/07, fuvo <[EMAIL PROTECTED]> wrote: > > Hi, > > I want to use our existing m1 repository with m2. I configured the > repository as legacy style, but it only works with a 'flat' hierarchy, > because m2 builds the downloadurl without replacing the points of the > groupid. > > <groupId>foo.bar</groupId> > <artifactId>baz</artifactId> > <version>0.815</version> > > will be computed to ..../reponame/foo.bar/jars/baz-0.815.jar (wrong) > instead of ..../reponame/foo/bar/jars/baz-0.815.jar (right) > > Has anybody an idea how i can get this to work (if its possible)? > > Thanks & regards, > Volker > -- > View this message in context: http://www.nabble.com/-M2--%27legacy%27-in-repo-configuration-is-not-working-as-expected-tf2908899s177.html#a8127030 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
