Package org.codehaus.mojo.mrm.plugin
Class ProxyRepo
java.lang.Object
org.codehaus.mojo.mrm.plugin.ProxyRepo
- All Implemented Interfaces:
ArtifactStoreFactory
@Named("proxyRepo")
@Singleton
public class ProxyRepo
extends Object
implements ArtifactStoreFactory
A proxy repository serving the content from the current Maven session.
- Since:
- 1.0
-
Constructor Summary
ConstructorDescriptionConstructor used by Plexus configuration injector.ProxyRepo
(FactoryHelper factoryHelper) Injects the singleton instance -
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(org.apache.maven.execution.MavenSession session, org.apache.maven.plugin.logging.Log log) void
setFactoryHelper
(FactoryHelper factoryHelper) toString()
-
Constructor Details
-
ProxyRepo
public ProxyRepo()Constructor used by Plexus configuration injector. Note: since it does not provide theFactoryHelper
instance, the instance needs to be provided usingsetFactoryHelper(FactoryHelper)
-
ProxyRepo
Injects the singleton instance- Parameters:
factoryHelper
- injectedFactoryHelper
instance
-
-
Method Details
-
newInstance
public ArtifactStore newInstance(org.apache.maven.execution.MavenSession session, org.apache.maven.plugin.logging.Log log) - Specified by:
newInstance
in interfaceArtifactStoreFactory
-
setFactoryHelper
- Specified by:
setFactoryHelper
in interfaceArtifactStoreFactory
-
toString
-