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]

Reply via email to