|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Package org.apache.maven.model |
---|
Class org.apache.maven.model.Activation extends Object implements Serializable |
---|
Serialized Fields |
---|
boolean activeByDefault
String jdk
1.4
only activates on JDKs versioned 1.4, while
!1.4
matches any JDK that is not version 1.4.
ActivationOS os
ActivationProperty property
ActivationFile file
ActivationCustom custom
Class org.apache.maven.model.ActivationCustom extends Object implements Serializable |
---|
Serialized Fields |
---|
Object configuration
String type
Class org.apache.maven.model.ActivationFile extends Object implements Serializable |
---|
Serialized Fields |
---|
String missing
String exists
Class org.apache.maven.model.ActivationOS extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
${os.name}
Java property, such
as Windows XP
.
String family
windows
or
unix
.
String arch
String version
Class org.apache.maven.model.ActivationProperty extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String value
Class org.apache.maven.model.Build extends BuildBase implements Serializable |
---|
Serialized Fields |
---|
String sourceDirectory
String scriptSourceDirectory
String testSourceDirectory
String outputDirectory
String testOutputDirectory
List<E> extensions
Class org.apache.maven.model.BuildBase extends PluginConfiguration implements Serializable |
---|
Serialized Fields |
---|
String defaultGoal
List<E> resources
List<E> testResources
String directory
String finalName
${artifactId}-${version}
.
List<E> filters
Class org.apache.maven.model.CiManagement extends Object implements Serializable |
---|
Serialized Fields |
---|
String system
continuum
.
String url
List<E> notifiers
Class org.apache.maven.model.ConfigurationContainer extends Object implements Serializable |
---|
Serialized Fields |
---|
String inherited
Object configuration
boolean inheritanceApplied
Class org.apache.maven.model.Contributor extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String email
String url
String organization
String organizationUrl
List<E> roles
String timezone
Properties properties
Class org.apache.maven.model.Dependency extends Object implements Serializable |
---|
Serialized Fields |
---|
String groupId
org.apache.maven
.
String artifactId
maven-artifact
.
String version
3.2.1
. In Maven 2, this can also be
specified as a range of versions.
String type
jar
. While it usually represents the extension
on
the filename of the dependency, that is not
always the case. A type can be mapped to a different
extension and a classifier.
The type often correspongs to the packaging
used, though this is also not always the case.
Some examples are jar
,
war
, ejb-client
and
test-jar
.
New types can be defined by plugins that set
extensions
to true
, so
this is not a complete list.
String classifier
jdk14
and jdk15
.
String scope
compile
, runtime
,
test
,
system
, and provided
.
Used to
calculate the various classpaths used for
compilation, testing, and so on. It also assists in
determining
which artifacts to include in a distribution of
this project. For more information, see
the
dependency mechanism.
String systemPath
${java.home}
.
List<E> exclusions
boolean optional
Class org.apache.maven.model.DependencyManagement extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> dependencies
Class org.apache.maven.model.DeploymentRepository extends RepositoryBase implements Serializable |
---|
Serialized Fields |
---|
boolean uniqueVersion
Class org.apache.maven.model.Developer extends Contributor implements Serializable |
---|
Serialized Fields |
---|
String id
Class org.apache.maven.model.DistributionManagement extends Object implements Serializable |
---|
Serialized Fields |
---|
DeploymentRepository repository
DeploymentRepository snapshotRepository
repository
element.
Site site
String downloadUrl
url
. This is given to assist in
locating artifacts that are not in the repository due to
licensing restrictions.
Relocation relocation
String status
none
(default),
converted
(repository manager
converted this from an Maven 1 POM), partner
(directly synced from a partner Maven 2
repository), deployed
(was deployed from a
Maven 2
instance), verified
(has been hand
verified as correct and final).
Class org.apache.maven.model.Exclusion extends Object implements Serializable |
---|
Serialized Fields |
---|
String artifactId
String groupId
Class org.apache.maven.model.Extension extends Object implements Serializable |
---|
Serialized Fields |
---|
String groupId
String artifactId
String version
Class org.apache.maven.model.FileSet extends PatternSet implements Serializable |
---|
Serialized Fields |
---|
String directory
Class org.apache.maven.model.IssueManagement extends Object implements Serializable |
---|
Serialized Fields |
---|
String system
String url
Class org.apache.maven.model.License extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String url
String distribution
String comments
Class org.apache.maven.model.MailingList extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String subscribe
mailto:
link will automatically be
created when
the documentation is created.
String unsubscribe
mailto:
link will automatically be
created
when the documentation is created.
String post
mailto:
link will automatically be
created
when the documentation is created.
String archive
List<E> otherArchives
Class org.apache.maven.model.Model extends ModelBase implements Serializable |
---|
Serialized Fields |
---|
Parent parent
String modelVersion
String groupId
org.apache.maven
).
String artifactId
String packaging
jar
war
ear
pom
.
Plugins can create their own packaging, and
therefore their own packaging types,
so this list does not contain all possible
types.
String name
String version
String description
String url
Prerequisites prerequisites
IssueManagement issueManagement
CiManagement ciManagement
String inceptionYear
List<E> mailingLists
List<E> developers
List<E> contributors
List<E> licenses
Scm scm
Organization organization
Build build
List<E> profiles
String modelEncoding
Class org.apache.maven.model.ModelBase extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> modules
List<E> repositories
List<E> pluginRepositories
List<E> dependencies
Object reports
Reporting reporting
mvn site
. All of the
reports will be included in the navigation bar
for browsing.
DependencyManagement dependencyManagement
DistributionManagement distributionManagement
Properties properties
Class org.apache.maven.model.Notifier extends Object implements Serializable |
---|
Serialized Fields |
---|
String type
boolean sendOnError
boolean sendOnFailure
boolean sendOnSuccess
boolean sendOnWarning
String address
Properties configuration
Class org.apache.maven.model.Organization extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String url
Class org.apache.maven.model.Parent extends Object implements Serializable |
---|
Serialized Fields |
---|
String artifactId
String groupId
String version
String relativePath
pom.xml
file within the check out.
The default value is ../pom.xml
.
Maven looks for the parent pom first in the
reactor of currently building projects, then in this
location on
the filesystem, then the local repository, and
lastly in the remote repo.
relativePath
allows you to select a
different location,
for example when your structure is flat, or
deeper without an intermediate parent pom.
However, the group ID, artifact ID and version
are still required,
and must match the file in the location given or
it will revert to the repository for the POM.
This feature is only for enhancing the
development in a local checkout of that project.
Class org.apache.maven.model.PatternSet extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> includes
List<E> excludes
Class org.apache.maven.model.Plugin extends ConfigurationContainer implements Serializable |
---|
Serialized Fields |
---|
String groupId
String artifactId
String version
boolean extensions
List<E> executions
List<E> dependencies
Object goals
Map<K,V> executionMap
Class org.apache.maven.model.PluginConfiguration extends PluginContainer implements Serializable |
---|
Serialized Fields |
---|
PluginManagement pluginManagement
Class org.apache.maven.model.PluginContainer extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> plugins
Map<K,V> pluginMap
Class org.apache.maven.model.PluginExecution extends ConfigurationContainer implements Serializable |
---|
Serialized Fields |
---|
String id
String phase
List<E> goals
Class org.apache.maven.model.PluginManagement extends PluginContainer implements Serializable |
---|
Class org.apache.maven.model.Prerequisites extends Object implements Serializable |
---|
Serialized Fields |
---|
String maven
Class org.apache.maven.model.Profile extends ModelBase implements Serializable |
---|
Serialized Fields |
---|
String id
Activation activation
BuildBase build
String source
Class org.apache.maven.model.Relocation extends Object implements Serializable |
---|
Serialized Fields |
---|
String groupId
String artifactId
String version
String message
Class org.apache.maven.model.Reporting extends Object implements Serializable |
---|
Serialized Fields |
---|
boolean excludeDefaults
String outputDirectory
${project.build.directory}/site
.
List<E> plugins
Map<K,V> reportPluginMap
Class org.apache.maven.model.ReportPlugin extends Object implements Serializable |
---|
Serialized Fields |
---|
String groupId
String artifactId
String version
String inherited
Object configuration
List<E> reportSets
Map<K,V> reportSetMap
boolean inheritanceApplied
Class org.apache.maven.model.ReportSet extends Object implements Serializable |
---|
Serialized Fields |
---|
String id
Object configuration
String inherited
List<E> reports
boolean inheritanceApplied
Class org.apache.maven.model.Repository extends RepositoryBase implements Serializable |
---|
Serialized Fields |
---|
RepositoryPolicy releases
RepositoryPolicy snapshots
Class org.apache.maven.model.RepositoryBase extends Object implements Serializable |
---|
Serialized Fields |
---|
String id
settings.xml
file, for example.
String name
String url
protocol://hostname/path
.
String layout
legacy
or
default
.
Class org.apache.maven.model.RepositoryPolicy extends Object implements Serializable |
---|
Serialized Fields |
---|
boolean enabled
String updatePolicy
always,
daily
(default),
interval:XXX
(in minutes) or
never
(only if it doesn't exist locally).
String checksumPolicy
ignore
,
fail
or
warn
(the default).
Class org.apache.maven.model.Resource extends FileSet implements Serializable |
---|
Serialized Fields |
---|
String targetPath
org.apache.maven.messages
), you
must specify this
element with this value:
org/apache/maven/messages
.
This is not required if you simply put the
resources in that directory structure at the source,
however.
boolean filtering
properties
element and from the properties in
the files listed
in the filters
element.
Class org.apache.maven.model.Scm extends Object implements Serializable |
---|
Serialized Fields |
---|
String connection
String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.
String tag
String url
Class org.apache.maven.model.Site extends Object implements Serializable |
---|
Serialized Fields |
---|
String id
settings.xml
file, for example.
String name
String url
protocol://hostname/path
.
Package org.apache.maven.model.v3_0_0 |
---|
Class org.apache.maven.model.v3_0_0.Branch extends Object implements Serializable |
---|
Serialized Fields |
---|
String tag
Class org.apache.maven.model.v3_0_0.Build extends BuildBase implements Serializable |
---|
Serialized Fields |
---|
String nagEmailAddress
String sourceDirectory
String unitTestSourceDirectory
String aspectSourceDirectory
String integrationUnitTestSourceDirectory
List<E> sourceModifications
UnitTest unitTest
Class org.apache.maven.model.v3_0_0.BuildBase extends PluginConfiguration implements Serializable |
---|
Serialized Fields |
---|
String defaultGoal
List<E> resources
Class org.apache.maven.model.v3_0_0.Contributor extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String email
String url
String organization
String organizationUrl
List<E> roles
String timezone
Properties properties
Class org.apache.maven.model.v3_0_0.Dependency extends Object implements Serializable |
---|
Serialized Fields |
---|
String id
groupId
and
artifactId
together instead.
String groupId
org.apache.maven
.
String artifactId
maven-artifact
.
String version
3.2.1
. In Maven 2, this can also be
specified as a range of versions.
String url
String jar
String type
jar
. While it usually represents the extension
on
the filename of the dependency, that is not
always the case.
Some examples are jar
,
war
, and plugin
.
A dependency of type plugin
is
loaded as a Maven plugin and not added to the project
build classpath.
Properties properties
Class org.apache.maven.model.v3_0_0.Developer extends Contributor implements Serializable |
---|
Serialized Fields |
---|
String id
Class org.apache.maven.model.v3_0_0.FileSet extends PatternSet implements Serializable |
---|
Serialized Fields |
---|
String directory
Class org.apache.maven.model.v3_0_0.License extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String url
String distribution
String comments
Class org.apache.maven.model.v3_0_0.MailingList extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String subscribe
mailto:
link will automatically be
created when
the documentation is created.
String unsubscribe
mailto:
link will automatically be
created
when the documentation is created.
String post
mailto:
link will automatically be
created
when the documentation is created.
String archive
List<E> otherArchives
Class org.apache.maven.model.v3_0_0.Model extends ModelBase implements Serializable |
---|
Serialized Fields |
---|
String extend
project.xml
file. For
example,
<extend>${basedir}/../project.xml</extend>
.
String pomVersion
3
.
String groupId
org.apache.maven
).
String artifactId
String id
groupId
and artifactId
elements
if they were previously empty.
String name
String currentVersion
String shortDescription
String description
String url
String logo
/images/project-logo.png
) or
an absolute URL
(e.g.,
http://my.corp/project-logo.png
). This is used
when generating the project documentation.
String issueTrackingUrl
String inceptionYear
String gumpRepositoryId
String siteAddress
String siteDirectory
String distributionSite
maven.repo.central
and maven.repo.central.directory
.
String distributionDirectory
List<E> mailingLists
List<E> developers
List<E> contributors
List<E> licenses
List<E> versions
List<E> branches
List<E> packageGroups
List<E> reports
Repository repository
Organization organization
Properties properties
String packageName
Build build
String modelEncoding
Class org.apache.maven.model.v3_0_0.ModelBase extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> dependencies
Class org.apache.maven.model.v3_0_0.Organization extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
String url
String logo
/images/org-logo.png
) or an
absolute URL
(e.g., http://my.corp/logo.png
).
This value is used
when generating the project documentation.
Class org.apache.maven.model.v3_0_0.PackageGroup extends Object implements Serializable |
---|
Serialized Fields |
---|
String title
String packages
Class org.apache.maven.model.v3_0_0.PatternSet extends Object implements Serializable |
---|
Serialized Fields |
---|
List<E> includes
List<E> excludes
Class org.apache.maven.model.v3_0_0.PluginConfiguration extends PluginContainer implements Serializable |
---|
Class org.apache.maven.model.v3_0_0.PluginContainer extends Object implements Serializable |
---|
Class org.apache.maven.model.v3_0_0.Repository extends Object implements Serializable |
---|
Serialized Fields |
---|
String connection
String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.
String url
Class org.apache.maven.model.v3_0_0.Resource extends FileSet implements Serializable |
---|
Serialized Fields |
---|
String targetPath
org.apache.maven.messages
), you
must specify this
element with this value:
org/apache/maven/messages
.
This is not required if you simply put the
resources in that directory structure at the source,
however.
boolean filtering
properties
element and from the properties in
the files listed
in the filters
element.
Class org.apache.maven.model.v3_0_0.SourceModification extends FileSet implements Serializable |
---|
Serialized Fields |
---|
String className
sourceDirectory
.
String property
sourceDirectory
.
Class org.apache.maven.model.v3_0_0.UnitTest extends PatternSet implements Serializable |
---|
Serialized Fields |
---|
List<E> resources
Class org.apache.maven.model.v3_0_0.Version extends Object implements Serializable |
---|
Serialized Fields |
---|
String name
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.
String tag
String id
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |