Thanks Benjamin
It works great!
/Lucas

On 04/18/2011 03:35 PM, Benjamin Bentmann wrote:
Lucas Persson wrote:

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?

Yes, just make sure your JAR has the META-INF/plexus/components.xml bit (e.g. as generated by the plexus-component-metadata plugin, cf. existing Aether connectors) to be recognized by the container and then declare it as a build.extension in the POMs.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
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