maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucas Persson <>
Subject How to create a custom repository layout
Date Mon, 18 Apr 2011 12:53:54 GMT

In Maven 2 I could define my own repository layout for remote
repositories by implementing the
interface and drop the implementation in maven/lib.

I understand that this is not supported in Maven3, but I still have a
need to use other layouts then the "default".
And using a repository manager is not an option (since our build must be
completely standalone).

Anyway I have seen a plugin that support other repository layouts; the
Tycho plugin for Eclipse. But since that is actually a set of plugins
that solve many different problems it is kind of hard for me to see what
is needed to implement a custom repository layout.

Is there some documentation for how a custom repository layout is
supported in Maven3?

Or at least is there some example plugin that I can take a look at?

I got a tip that I can implement
org.sonatype.aether.spi.connector.RepositoryConnectorFactory but I do
not really understand how to package that into a maven plugin, or it is
simply to use the <build><extensions><extension> element in the pom.xml?

Any response is welcome.

Oracle <>
Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 <tel:+4684773644> | | | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Folkungagatan 122 | 116 30 Stockholm

Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, 556254-6746
Green Oracle <> Oracle is committed to
developing practices and products that help protect the environment

View raw message