Added support for repositories

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michal Maczka 2004-06-07 18:16:53 +00:00
parent 464c78ec9f
commit 62659b716c
1 changed files with 63 additions and 0 deletions

View File

@ -186,6 +186,14 @@
<type>String</type>
<comment>This naming is inconsistent and distriubtion should occur from a repository structure.</comment>
</field>
<field>
<name>repositories</name>
<version>4.0.0</version>
<description>The lists of the remote repositories</description>
<type>java.util.List</type>
<defaultValue>new ArrayList()</defaultValue>
</field>
<field>
<name>mailingLists</name>
<version>3.0.0+</version>
@ -1065,5 +1073,60 @@
</field>
</fields>
</class>
<class>
<name>Repository</name>
<version>4.0.0</version>
<description>
Repository contains the information needed
for establishing connections with remote repoistory
</description>
<fields>
<field>
<name>id</name>
<version>4.0.0</version>
<description>
A unique identifier for a repository.
</description>
<type>String</type>
</field>
<field>
<name>name</name>
<version>4.0.0</version>
<description>
Human readable name of the repository
</description>
<type>String</type>
</field>
<field>
<name>url</name>
<version>4.0.0</version>
<description>
The url of of the repository
</description>
<type>String</type>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code>
public boolean equals( Object obj )
{
Repository other = ( Repository ) obj;
boolean retValue = false;
if ( id != null )
{
retValue = id.equals( other.id );
}
return retValue;
}
</code>
</codeSegment>
</codeSegments>
</class>
</classes>
</model>