hudson.maven.local_repo
Class PerJobLocalRepositoryLocator

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<LocalRepositoryLocator>
      extended by hudson.maven.local_repo.LocalRepositoryLocator
          extended by hudson.maven.local_repo.PerJobLocalRepositoryLocator
All Implemented Interfaces:
ExtensionPoint, Describable<LocalRepositoryLocator>

public class PerJobLocalRepositoryLocator
extends LocalRepositoryLocator

Uses a local repository isolated per job.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class PerJobLocalRepositoryLocator.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
PerJobLocalRepositoryLocator()
           
 
Method Summary
 FilePath locate(AbstractMavenBuild build)
          Called during the build on the master to determine the location of the local Maven repository.
 
Methods inherited from class hudson.maven.local_repo.LocalRepositoryLocator
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerJobLocalRepositoryLocator

@DataBoundConstructor
public PerJobLocalRepositoryLocator()
Method Detail

locate

public FilePath locate(AbstractMavenBuild build)
Description copied from class: LocalRepositoryLocator
Called during the build on the master to determine the location of the local Maven repository.

Specified by:
locate in class LocalRepositoryLocator
Returns:
null to let Maven uses its default location. Otherwise this must be located on the same node as AbstractBuild.getWorkspace() does.


Copyright © 2004-2013. All Rights Reserved.