Maven distro directory layout

From Gcube Wiki
Jump to: navigation, search

The guidelines provided in this page have been decided and being adopted starting from March 2015

distro

README

Each gCube component must include a README file that must be included in distribution packages of the component. The file briefly describe the component and the gCube system and provide references to the source code, binaries, documentation as well as to the INSTALL and LICENSE file.

In order to have as much as possible uniform README files across components and to reduce the effort to maintain the file updated, a standardized template is provided. The template makes use of placeholders (delimited by ${...}) that are replaced at build-time with the value of Maven properties. This approach allows to keep the same README in the source code while containing always updated information.

This is the README file that all components should have in their distro/ folder:

The gCube System - ${name}
--------------------------------------------------
 
${description}
 
 
${gcube.description}
 
${gcube.funding}
 
 
Version
--------------------------------------------------
 
${version} (${buildDate})
 
 
Authors
--------------------------------------------------
 
* John Doe (john-AT-acme.org), Acme Inc., New York.* [other maintainers] 
 
Download information
--------------------------------------------------
 
Source code is available from SVN: 
    ${scm.url}
 
Binaries can be downloaded from the gCube website: 
   ${gcube.website}
 
 
Documentation 
--------------------------------------------------
 
Documentation is available on-line in the gCube Documentation Wiki:
    Developer Guide - ${gcube.wikiRoot}/[page name here]    User Guide - ${gcube.wikiRoot}/[page name here]    Admin Guide - ${gcube.wikiRoot}/[page name here] 
Installation
--------------------------------------------------
 
Please see the file named "INSTALL" in this directory.
 
 
Support 
--------------------------------------------------
 
Bugs and support requests can be reported in the gcube issue tracking tool:
    ${gcube.issueTracking}
 
 
Licensing
--------------------------------------------------
 
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
  • the highlighted lines should be replaced with appropriate data
  • all the placeholders must correspond to Maven properties. There are two source of properties:


Common properties

Following properties are

LICENSE

${gcube.license}

https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/eupl%20v%20%201%201%20-%20EN.txt.txt