o Added back <aspectSourceDirectory/> and <integrationUnitTestSourceDirectory/>

o Added CDATA notation to some code segments that were causing trouble.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-03-17 22:53:12 +00:00
parent 17b770a2ab
commit 84c5379bd8
1 changed files with 88 additions and 63 deletions

View File

@ -588,32 +588,33 @@
<codeSegments>
<codeSegment>
<version>3.0.0</version>
<code>
public void setVersion(String version)
{
this.currentVersion = version;
}
public String getVersion()
{
return currentVersion;
}
// We need this because we can't use package as a field name.
public void setPackage(String packageName)
{
this.packageName = packageName;
}
public String getPackage()
{
return packageName;
}
</code>
<code><![CDATA[
public void setVersion(String version)
{
this.currentVersion = version;
}
public String getVersion()
{
return currentVersion;
}
/* We need this because we can't use package as a field name.*/
public void setPackage(String packageName)
{
this.packageName = packageName;
}
public String getPackage()
{
return packageName;
}
]]></code>
</codeSegment>
<codeSegment>
<version>4.0.0</version>
<code>
<code><![CDATA[
public String getId()
{
StringBuffer id = new StringBuffer();
@ -628,7 +629,7 @@
return id.toString();
}
</code>
]]></code>
</codeSegment>
</codeSegments>
</class>
@ -724,6 +725,29 @@
]]></description>
<type>String</type>
</field>
<field>
<name>aspectSourceDirectory</name>
<version>3.0.0</version>
<description><![CDATA[
This element specifies a directory containing Aspect
sources of the project. The generated build system will
compile the Aspects in this directory when the project is
built if Aspects have been enabled (see the
<a
href="plugins/aspectj/goals.html">Aspectj goals</a> document).
The path given is relative to the project descriptor.
]]></description>
<type>String</type>
</field>
<field>
<name>integrationUnitTestSourceDirectory</name>
<version>3.0.0</version>
<description><![CDATA[
This element specifies a directory containing integration test
sources of the project.
]]></description>
<type>String</type>
</field>
<field>
<name>sourceModifications</name>
<version>3.0.0</version>
@ -1080,16 +1104,16 @@
<codeSegments>
<codeSegment>
<version>3.0.0+</version>
<code>
<code><![CDATA[
public String toString()
{
return groupId + "/" + type + "s:" + artifactId + "-" + version;
}
</code>
]]></code>
</codeSegment>
<codeSegment>
<version>4.0.0</version>
<code>
<code><![CDATA[
public String getId()
{
return groupId + ":" + artifactId + ":" + type + ":" + version;
@ -1099,7 +1123,7 @@
{
return groupId + ":" + artifactId + ":" + type;
}
</code>
]]></code>
</codeSegment>
<codeSegment>
<version>3.0.0</version>
@ -1452,37 +1476,38 @@
<codeSegment>
<version>3.0.0+</version>
<!-- @todo: should these be built somewhere so they are only created once, and can be modified? -->
<code>
public List getDefaultExcludes()
{
List defaultExcludes = new ArrayList();
defaultExcludes.add( "**/*~" );
defaultExcludes.add( "**/#*#" );
defaultExcludes.add( "**/.#*" );
defaultExcludes.add( "**/%*%" );
defaultExcludes.add( "**/._*" );
// CVS
defaultExcludes.add( "**/CVS" );
defaultExcludes.add( "**/CVS/**" );
defaultExcludes.add( "**/.cvsignore" );
// SCCS
defaultExcludes.add( "**/SCCS" );
defaultExcludes.add( "**/SCCS/**" );
// Visual SourceSafe
defaultExcludes.add( "**/vssver.scc" );
// Subversion
defaultExcludes.add( "**/.svn" );
defaultExcludes.add( "**/.svn/**" );
// Mac
defaultExcludes.add( "**/.DS_Store" );
return defaultExcludes;
}
</code>
<code><![CDATA[
public List getDefaultExcludes()
{
List defaultExcludes = new ArrayList();
defaultExcludes.add( "**/*~" );
defaultExcludes.add( "**/#*#" );
defaultExcludes.add( "**/.#*" );
defaultExcludes.add( "**/%*%" );
defaultExcludes.add( "**/._*" );
// CVS
defaultExcludes.add( "**/CVS" );
defaultExcludes.add( "**/CVS/**" );
defaultExcludes.add( "**/.cvsignore" );
// SCCS
defaultExcludes.add( "**/SCCS" );
defaultExcludes.add( "**/SCCS/**" );
// Visual SourceSafe
defaultExcludes.add( "**/vssver.scc" );
// Subversion
defaultExcludes.add( "**/.svn" );
defaultExcludes.add( "**/.svn/**" );
// Mac
defaultExcludes.add( "**/.DS_Store" );
return defaultExcludes;
}
]]></code>
</codeSegment>
</codeSegments>
</class>
@ -1795,12 +1820,12 @@
<codeSegments>
<codeSegment>
<version>3.0.0</version>
<code>
<code><![CDATA[
public String toString()
{
return getId();
}
</code>
]]></code>
</codeSegment>
</codeSegments>
</class>
@ -1841,7 +1866,7 @@
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code>
<code><![CDATA[
public boolean equals( Object obj )
{
Repository other = ( Repository ) obj;
@ -1855,7 +1880,7 @@
return retValue;
}
</code>
]]></code>
</codeSegment>
</codeSegments>
</class>