gradle: Pass bnd gradle plugin classpath to build.gradle

Plugin coordinates are in gradle.properties and ivy repository is setup
in settings.gradle. We do that to use the plugin from the cloudbees
build.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
2.4.1 update version

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
[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>
[pom] Added scm and developers

Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
pom: set xmlns:xsi attribute properly

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
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>
tag: Don't write newline if not pretty printing

Fix regression from print fix.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
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>
pom: Change where default if groupid is set

Since groupid is a new key for -pom, it is safe to use a different
default for where when the groupid key is set. In this case the default
is META-INF/maven/${groupid}/${artifactid}/pom.xml instead of pom.xml.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
pom test: Correct spelling of Bundle-Developers header

Use constants.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
pom test: Add asserts for Bundle-Developers and Bundle-SCM headers

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
pom test: Remove trim() calls

pom xml no longer corrupts the value with leading or trailing whitespace.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
travis: For next branch, use cloudbees bnd.next build as bnd repo

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

Initial 2.4.1 fixes