Menu

#6 use maven project.xml to collect info

open
None
5
2004-11-30
2004-11-26
No

The maven pom contain some usefull information like :
- short description
- long description
- dependancies list with the version to use
- version number with cvs tag/branch to use to have them

Discussion

  • Edouard Mercier

    Edouard Mercier - 2004-11-30

    Logged In: YES
    user_id=133029

    This is already forecast, and is available through the XSLT
    model plugin named 'MavenModel.xsl'.

    However, this plugin that reads information from the POM,
    does not extract all valuable information.

    If you can explain to me very precisely where to find the
    information in the POM, I'll do that in a glimpse...

     
  • Edouard Mercier

    Edouard Mercier - 2004-11-30
    • assigned_to: nobody --> edouard_mercier
     
  • Nicolas Chalumeau

    Logged In: YES
    user_id=844527

    <project>
    <id/> Identifiant of the project : maven-xrn-plugin
    <name/> Real name of the project : Maven XMLReleaseNotes
    Plugin
    <groupId/> The project group in the maven repository :
    xmlreleasenote
    <currentVersion/> Version in dev : 0.17.3
    <organization> Corporate info
    <name/>
    <url/>
    <logo/>
    </organization>
    <inceptionYear/> for the "copyrigth" info
    <description/> Long description of the project
    <shortDescription/> Resume of the project on a single line
    <url/> the project's homepage.
    <distributionSite/> server where the final distributions
    will be published
    <versions> CVS Tag for the previous version
    <version>
    <id/>
    <name/>
    <tag/>
    </version>
    </versions>
    <branches>CVS branch for the previous version
    <branch>
    <tag/>
    </branch>
    </branches>
    <mailingLists> Can be usefull
    <mailingList>
    <name/>
    <subscribe/>
    <unsubscribe/>
    <archive/>
    </mailingList>
    </mailingLists>
    <developers> Developers info
    <developer>
    <name/>
    <id/>
    <email/>
    <organization/>
    <roles>
    <role/>
    </roles>
    <url/>
    <timezone/>
    </developer>
    </developers>
    <contributors> contributors info
    <contributor>
    <name/>
    <email/>
    <organization/>
    <roles>
    <role/>
    </roles>
    <url/>
    <timezone/>
    </contributor>
    </contributors>
    <licenses> Maybe
    <license>
    <name/>
    <url/>
    <distribution/>
    </license>
    </licenses>
    <dependencies> List of dependancies with there version
    They can be doanload on
    http://www.ibiblio.org/maven/\[groupId]/[type]s/[artifactId]-[version].[type]
    <dependency>
    <groupId/>
    <artifactId/>
    <version/>
    <type/>
    <url/> Project that own the dependance url
    </dependency>
    </dependencies>
    ...
    </project>

     

Log in to post a comment.