Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The project dependency trees model consists of a top level <project> tag and three types of immediate children elements:

Code Block
languagexml
<project modelVersion="..." groupId="..." artifactId="..." [platformId="..."] version="...">

...


  <generator .../>

...


  <information .../>

...


  <license .../>

...


  <artifacts .../>

...


</project>

The following are mandatory elements:

...

The generator element identifies the build tool that created the document.

Code Block
languagexml
<generator name="..." version="..." url="..."/>

The following are mandatory elements

...

TODO: decide what, if any, additional content can go in here, SCM, Issue trackers, URLs, Mailing Lists, etc.

...

Code Block
languagexml
<information>
  <name .../>

...


  

...

<description .../>

...


</information>

There are no mandatory elements

...

The license element consists of information about one set of licensing terms that the project and its artifacts is made available under.

Code Block
languagexml
<license spdx="..."/

...

There is one mandatory element

...

The artifacts element consists of details of all the artifacts produced by the project. The artifacts are partitioned by platformId.

Code Block
xml
xml
<artifacts [platformId="..."]>

...


  

...

<artifact .../>

...


</artifacts>

There is one mandatory element:

...

The artifact element consists of the details of a specific artifact produced by the project.

Code Block
<artifact type="..."

...

 [classifier="..."]>

...


  <information .../>

...


  <license .../>

...


  <component .../>

...


  <provides .../>

...


  <requires .../>

...


  <supports .../>

...


</artifact>

There is one mandatory element:

...

The component element consists of hints to the consumer of type specific components that are present within the artifact for consideration during conflict resolution.

Code Block
<component id="..."/>

There is one mandatory element:

...