public interface ModelSource2 extends ModelSource
ModelSource, this interface supports loading of parent POM(s) from the same backing store and allows
construction of MavenProject instances without the need to have parent POM(s) available from local or remote
ModelSource2 instances are cached in
ModelBuildingRequest.getModelCache(). Implementations must guarantee
that the connection to the backing store remains active until request's
ModelCache is discarded or flushed.
|Modifier and Type||Method and Description|
Returns location of the POM, never
Returns model source identified by a path relative to this model source POM.
ModelSource2 getRelatedSource(String relPath)
relPathparameter values that
relPath- is the path of the requested model source relative to this model source POM.
nullif no such model source.
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.