Maven
the description
org.apache.maven.model
Model
extend
The model you wish this model to extend.
String
modelVersion
The version of this model.
String
groupId
the description
String
artifactId
the description
String
name
Human readable name of the project.
String
version
the description
String
shortDescription
the description
String
description
the description
String
type
the description
String
url
the description
String
logo
the description
String
issueTrackingUrl
the description
String
inceptionYear
the description
String
gumpRepositoryId
the description
String
siteAddress
the description
String
siteDirectory
the description
String
distributionSite
the description
String
distributionDirectory
the description
String
mailingLists
the description
java.util.List
new ArrayList()
developers
the description
java.util.List
new ArrayList()
contributors
the description
java.util.List
new ArrayList()
dependencies
the description
java.util.List
new ArrayList()
licenses
the description
java.util.List
new ArrayList()
versions
the description
java.util.List
new ArrayList()
branches
the description
java.util.List
new ArrayList()
packageGroups
the description
java.util.List
new ArrayList()
reports
the description
java.util.List
new ArrayList()
versionMap
the description
java.util.Map
new HashMap()
repository
the description
Repository
build
the description
Build
organization
the description
Organization
private String packageName;
public void setPackage(String packageName)
{
this.packageName = packageName;
}
public String getPackage()
{
return packageName;
}
public String getId()
{
StringBuffer id = new StringBuffer();
id.append( getGroupId() );
id.append( ":" );
id.append( getArtifactId() );
id.append( ":" );
id.append( getType() );
return id.toString();
}
public void setId( String id )
{
int i = id.indexOf( "+" );
int j = id.indexOf( ":" );
if ( i > 0 )
{
setGroupId( id.substring( 0, i ) );
setArtifactId( id.replace( '+', '-' ) );
}
else if ( j > 0 )
{
setGroupId( id.substring( 0, j ) );
setArtifactId( id.substring( j + 1 ) );
}
else
{
setGroupId( id );
setArtifactId( id );
}
}
Branch
tag
the description
String
Build
nagEmailAddress
the description
String
sourceDirectory
the description
String
unitTestSourceDirectory
the description
String
aspectSourceDirectory
the description
String
sourceModifications
the description
java.util.List
new ArrayList()
unitTest
the description
UnitTest
new UnitTest()
resources
the description
java.util.List
new ArrayList()
Contributor
name
the description
String
email
the description
String
url
the description
String
organization
the description
String
roles
the description
java.util.SortedSet
new TreeSet()
Dependency
groupId
the description
String
artifactId
the description
String
version
the description
String
url
the description
String
artifact
the description
String
type
The type of dependency.
String
jar
properties
Properties for this dependency.
java.util.Properties
new Properties()
public String getId()
{
return groupId + ":" + artifactId;
}
Contributor
Developer
id
the description
String
License
name
the description
String
url
the description
String
distribution
the description
String
comments
the description
String
MailingList
name
the description
String
subscribe
the description
String
unsubscribe
the description
String
archive
the description
String
Organization
name
the description
String
url
the description
String
logo
the description
String
PackageGroup
title
the description
String
packages
the description
String
PatternSet
includes
the description
java.util.List
new ArrayList()
excludes
the description
java.util.List
new ArrayList()
Repository
connection
the description
String
developerConnection
the description
String
url
the description
String
Resource
PatternSet
directory
the description
String
targetPath
the description
String
filtering
the description
boolean
SourceModification
Resource
className
the description
String
property
the description
String
UnitTest
PatternSet
resources
the description
java.util.List
new ArrayList()
Version
name
the description
String
tag
String
id
the description
String