@Component(role=ModelLocator.class) public class DefaultModelLocator extends Object implements ModelLocator
Constructor and Description |
---|
DefaultModelLocator() |
Modifier and Type | Method and Description |
---|---|
File |
locatePom(File projectDirectory)
Locates the POM file within the specified project directory.
|
public File locatePom(File projectDirectory)
ModelLocator
locatePom
in interface ModelLocator
projectDirectory
- The (possibly non-existent) base directory to locate the POM file in, must not be null
.null
.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.