public class ScmProviderRepositoryStub extends ScmProviderRepository
Constructor and Description |
---|
ScmProviderRepositoryStub()
Creates a ScmProviderRepositoryStub with null user and password, and persistCheckout false
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPersistCheckout()
Will checkouts using this repository be persisted so they can
be refreshed in the future? This property is of concern to SCMs
like Perforce and Clearcase where the server must track where a
user checks out to.
|
void |
setPersistCheckout(boolean persistCheckout) |
getParent, getPassword, getRelativePath, getUser, getWorkItem, isPushChanges, setPassword, setPushChanges, setUser, setWorkItem
public ScmProviderRepositoryStub()
public boolean isPersistCheckout()
This setting can be overriden by using the system property "maven.scm.persistcheckout" to true.
The default is false. See SCM-113 for more detail.
isPersistCheckout
in class ScmProviderRepository
public void setPersistCheckout(boolean persistCheckout)
setPersistCheckout
in class ScmProviderRepository
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.