Hi

In Maven 2 I could define my own repository layout for remote repositories by implementing the org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout 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.
Thanks
Lucas




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


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

Reply via email to