Coding guidelines

Guideline summary


Trunk and branches

Sources must be prefixed by the following namespaces.
  • Java : org.ow2.aspirerfid
  • Bundles symbolic names : org.ow2.aspirerfid
  • OSGi prefix: org.ow2.aspirerfid
  • JMX ObjectNames for end-to-end management: org.ow2.aspirerfid:type=component,name=concern
  • C# : Org.Ow2.AspireRfid
  • PHP : TODO
  • XML (XML Schema) : TODO
  • WebServices (WSDL, ...) : TODO
  • ...


  • Java : org.ow2.aspirerfid.sandbox
  • Bundles symbolic names : org.ow2.aspirerfid.sandbox
  • C# : org.ow2.aspirerfid.sandbox
  • PHP : TODO
  • XML (XML Schema) : TODO
  • WebServices (WSDL, ...) : TODO
  • ...

Sub project group and artifact ids

Names and ids must be prefixed by the following namespaces.

  • Artifact/bundle names : OW2 :: AspireRFID ::
  • Artifact ids : org.ow2.aspirerfid.


Two mandatory files (NOTICE and LICENSE) must be provided in each project directory
  • NOTICE contains the description of the dependencies and their licenses.
  • LICENSE contains the license text.
Those files are automatically added in the artifact after the package phase


OW2 :: AspireRFID :: Foobar Reader
Copyright 2008-2010 OW2 AspireRFID Project

I. Included Software

This product includes software developed at
The OW2 Consortium (
Licensed under the LGPL v2.1.

II. Used Software

This product uses software developed at
the FooBar project (
licensed under the Apache License 2.0.

This product uses software developed at
the TicTac project (
licensed under the LGPL v2.1.

III. License Summary
- LGPL v2.1


Beginning comments

All source files (Java, XML, ...) must begin with the comments shown in the following code sample.

 * Copyright (c) 2008-2010, AspireRFID
 * This library is free software; you can redistribute it and/or
 * modify it either under the terms of the GNU Lesser General Public
 * License version 2.1 as published by the Free Software Foundation
 * (the "LGPL"). If you do not alter this
 * notice, a recipient may use your version of this file under the LGPL.
 * You should have received a copy of the LGPL along with this library
 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
 * OF ANY KIND, either express or implied. See the LGPL  for
 * the specific language governing rights and limitations.
 * Contact: AspireRFID


Dependencies license compatibility and tracking

Open Source License Checker (oslc) is a tool for inspection and analysis of licence information from open source packages. It audits a code base and provide licenses conflicts. USE IT !

The dependencies must be listed in the NOTICE file.