File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\maven-plugin\src\main\java\hudson\maven\local_repo\DefaultLocalRepositoryLocator.java.html

1 package hudson.maven.local_repo;
2
3 import hudson.Extension;
4 import hudson.FilePath;
5 import hudson.maven.AbstractMavenBuild;
6 import org.kohsuke.stapler.DataBoundConstructor;
7
8 /**
9 * Uses Maven's default local repository, which is actually <tt>~/.m2/repository</tt>
10 *
11 * @author Kohsuke Kawaguchi
12 */
13 public class DefaultLocalRepositoryLocator extends LocalRepositoryLocator {
14 @DataBoundConstructor
15 public DefaultLocalRepositoryLocator() {
16 }
17
18 @Override
19 public FilePath locate(AbstractMavenBuild build) {
20 return null;
21 }
22
23 @Extension
24 public static class DescriptorImpl extends LocalRepositoryLocatorDescriptor {
25 @Override
26 public String getDisplayName() {
27 return "Default (~/.m2/repository)";
28 }
29 }
30 }
31