[macro] Added thisfile and stem macros

- thisfile -> the properties file of the current processor
- stem -> provides the part before the extension
Do not expect bnd to export the libg packages
[maven] Updated the -pom command

The -pom now accepts “true”, “false”, or properties:

- groupid – The group id to use. When set, the artifactid=bsn by default. The default is the bsn prefix up to the last ‘.’.
- artifactid – The artifact id to use. Will use bsn if groupid is set. Otherwise default is last segment of the bsn.
- version – The version to use. Default is the bundle version
- where – The place where to put the pom. Default is “pom.xml”.


Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
Merge pull request #681 from pkriens/master

-pom stuff
[pom] Added scm and developers

Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
Merge pull request #682 from pkriens/master

[pom] Added scm and developers
pom: set xmlns:xsi attribute properly

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #684 from bjhargrave/pom-generation-fixes

pom: set xmlns:xsi attribute properly
tag: CDATA ]]> escape fix

Split ]] and > between two CDATA sections.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
pom: Add <?xml?> header to pom.xml

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
tag: Fix generated xml so that string content is not altered by whitespace

String content was formatted by adding whitespace such as leading spaces
and linefeeds. This is actually altering the content and is wrong. This
change places string content directly between the start and end tags
with no leading or trailing spaces or line feeds.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #686 from bjhargrave/tag-printing-fixes

Tag printing fixes

Fix generated xml so that string content is not altered by whitespace. String content was formatted by adding whitespace such as leading spaces and linefeeds. This is actually altering the content and is wrong. This change places string content directly between the start and end tags with no leading or trailing spaces or line feeds.
tag: Don't write newline if not pretty printing

Fix regression from print fix.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #687 from bjhargrave/tag-compact-print-fix

tag: Don't write newline if not pretty printing

Fix regression from print fix.
Add Bundle-SCM to Constants

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Use Constants values rather than hard coded strings

Bundle-Developer was incorrectly used.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
bndlib: Bundle-SCM is set by cnf/build.bnd

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
jpm: Missing continuation character in Bundle-Developers

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
build: Tidy up bundle metadata

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #689 from bjhargrave/pom-fixes

Pom fixes

Use Constants values rather than hard coded strings. Bundle-Developer was incorrectly used.