Class PomDTO

java.lang.Object
aQute.maven.dto.PomDTO

public class PomDTO extends Object
The <code>&lt;project&gt;</code> element is the root of the descriptor. The following table lists all of the possible child elements. The <code>&lt;project&gt;</code> element is the root of the descriptor. The following table lists all of the possible child elements.
  • Field Details

    • modelVersion

      public String modelVersion
      Declares to which version of project descriptor this POM conforms.<
    • parent

      public ParentDTO parent
      The location of the parent project, if one exists. Values from the parent project will be the default for this project if they are left unspecified. The location is given as a group ID, artifact ID and version.
    • groupId

      public String groupId
      A universally unique identifier for a project. It is normal to use a fully-qualified package name to distinguish it from other projects with a similar name (eg. <code>org.apache.maven</code>).
    • artifactId

      public String artifactId
      The identifier for this artifact that is unique within the group given by the group ID. An artifact is something that is either produced or used by a project. Examples of artifacts produced by Maven for a project include: JARs, source and binary distributions, and WARs.
    • version

      public aQute.bnd.version.MavenVersion version
      The current version of the artifact produced by this project.
    • packaging

      public String packaging
      The type of artifact this project produces, for example <code>jar</code> <code>war</code> <code>ear</code> <code>pom</code>. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types.
    • name

      public String name
      The full name of the project.
    • description

      public String description
      A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the web site. While this element can be specified as CDATA to enable the use of HTML tags within the description, it is discouraged to allow plain text representation. If you need to modify the index page of the generated web site, you are able to specify your own instead of adjusting this text.
    • url

      public URI url
      The URL to the project's homepage.
      Default value is: parent value [+ path adjustment] + artifactId
    • inceptionYear

      public int inceptionYear
      The year of the project's inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational.
    • organization

      public OrganizationDTO organization
      This element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links).
    • licenses

      public LicenseDTO[] licenses
      This element describes all of the licenses for this project. Each license is described by a license element, which is then described by additional elements. Projects should only list the license(s) that applies to the project and not the licenses that apply to dependencies. If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all.
    • developers

      public DeveloperDTO[] developers
      Describes the committers of a project.
    • contributors

      public DeveloperDTO[] contributors
      Describes the contributors to a project that are not yet committers.
    • mailingLists

      public MailingListDTO[] mailingLists
      Contains information about a project's mailing lists.
    • prerequisites

      public PrerequisitesDTO prerequisites
      Describes the prerequisites in the build environment for this project.
    • scm

      public ScmDTO scm
      Specification for the SCM used by the project, such as CVS, Subversion, etc.
    • issueManagement

      public IssueManagementDTO issueManagement
      The project's issue management system information.
    • ciManagement

      public CiManagementDTO ciManagement
      The project's continuous integration information.
    • distributionManagement

      public DistributionManagementDTO distributionManagement
      Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.
    • properties

      public Map<String,String> properties
      Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled. The format is <name>value</name>.
    • dependencyManagement

      public DependencyManagementDTO dependencyManagement
      Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the version and other values from this section are used for that dependency if they were not already specified.
    • dependencies

      public DependencyDTO[] dependencies
      This element describes all of the dependencies associated with a project. These dependencies are used to construct a classpath for your project during the build process. They are automatically downloaded from the repositories defined in this project. See the dependency mechanism for more information.
    • repositories

      public RepositoryDTO[] repositories
      The lists of the remote repositories for discovering dependencies and extensions.
    • pluginRepositories

      public RepositoryDTO[] pluginRepositories
      The lists of the remote repositories for discovering plugins for builds and reports.
    • build

      public BuildDTO build
      Information required to build the project.
    • reporting

      public ReportingDTO reporting
      This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. These reports will be run when a user executes mvn site. All of the reports will be included in the navigation bar for browsing.
  • Constructor Details

    • PomDTO

      public PomDTO()