|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.Repository
null
Field Summary | |
private java.lang.String |
connection
Field connection |
private java.lang.String |
developerConnection
Field developerConnection |
private java.lang.String |
modelEncoding
|
private java.lang.String |
url
Field url |
Constructor Summary | |
Repository()
|
Method Summary | |
java.lang.String |
getConnection()
Get |
java.lang.String |
getDeveloperConnection()
Get Just like connection, but for developers, i.e. |
java.lang.String |
getModelEncoding()
|
java.lang.String |
getUrl()
Get The URL to the project's browsable CVS repository. |
void |
setConnection(java.lang.String connection)
Set |
void |
setDeveloperConnection(java.lang.String developerConnection)
Set Just like connection, but for developers, i.e. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setUrl(java.lang.String url)
Set The URL to the project's browsable CVS repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String connection
private java.lang.String developerConnection
private java.lang.String url
private java.lang.String modelEncoding
Constructor Detail |
public Repository()
Method Detail |
public java.lang.String getConnection()
Optional. The source configuration management system URL that describes the repository and how to connect to the repository. This is used by Maven when building versions from specific ID.
The format of this element is as follows:
scm:<provider>:<provider-parameters>
For cvs, the format for pserver repositories should be:
scm:cvs:pserver:user@host:/cvs/root:module-name
For local networked repositories (eg. pserver to local machine)
scm:cvs:lserver:user@host:/cvs/root:module-name
For ssh access:
scm:cvs:ext:user@host:/cvs/root:module-name
CVS_RSH
to be set, typically to
ssh
or your
ssh client.
Some cvs clients support other protocols, such as ntserver and extssh. Here's an example using CVS NT and ntserver:
scm|cvs|ntserver|user@server|e:\cvs|Deployment
:
) in it.
For local file system repositories
scm:cvs:local:ignored:/cvs/root:module-name
For StarTeam access:
scm:starteam:username:password@host:port/project/view/folder
The delimiter is determined by the character
after "scm". eg.
scm|cvs|pserver|user@host|/cvs/root|module-name
is equivalent to that listed above. This can
be useful for Windows users
who have : in their cvsroot parameter (eg.
D:\cvsroot)
Where pserver
is the protocol
used to access CVS,
user@host
is the user name to log
in to the specified
cvs host,
/cvs/root
is the cvs root
directory, and module-name
is the
name of the cvs
module to be worked on
As an example, the settings for an Apache project are usually:
scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:module-name
Currently CVS, Starteam and SubVersion are the only supported scm's. Others will be added as soon as possible
public java.lang.String getDeveloperConnection()
public java.lang.String getUrl()
public void setConnection(java.lang.String connection)
Optional. The source configuration management system URL that describes the repository and how to connect to the repository. This is used by Maven when building versions from specific ID.
The format of this element is as follows:
scm:<provider>:<provider-parameters>
For cvs, the format for pserver repositories should be:
scm:cvs:pserver:user@host:/cvs/root:module-name
For local networked repositories (eg. pserver to local machine)
scm:cvs:lserver:user@host:/cvs/root:module-name
For ssh access:
scm:cvs:ext:user@host:/cvs/root:module-name
CVS_RSH
to be set, typically to
ssh
or your
ssh client.
Some cvs clients support other protocols, such as ntserver and extssh. Here's an example using CVS NT and ntserver:
scm|cvs|ntserver|user@server|e:\cvs|Deployment
:
) in it.
For local file system repositories
scm:cvs:local:ignored:/cvs/root:module-name
For StarTeam access:
scm:starteam:username:password@host:port/project/view/folder
The delimiter is determined by the character
after "scm". eg.
scm|cvs|pserver|user@host|/cvs/root|module-name
is equivalent to that listed above. This can
be useful for Windows users
who have : in their cvsroot parameter (eg.
D:\cvsroot)
Where pserver
is the protocol
used to access CVS,
user@host
is the user name to log
in to the specified
cvs host,
/cvs/root
is the cvs root
directory, and module-name
is the
name of the cvs
module to be worked on
As an example, the settings for an Apache project are usually:
scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:module-name
Currently CVS, Starteam and SubVersion are the only supported scm's. Others will be added as soon as possible
connection
- public void setDeveloperConnection(java.lang.String developerConnection)
developerConnection
- public void setUrl(java.lang.String url)
url
- public void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |