Migrated target platform to Jetty 8.1.14 and Equinox Kepler SR2

The dependency to Jetty-RT has been replaced by a dependency to
the Jetty bundle repository, because Jetty-RT is no longer
available for Jetty 8.x and beyond. The target platform now
references the latest 8.x Jetty, which is Jetty 8.1.14.
A new feature, o.e.s.jetty.feature, has been introduced providing
the necessary bundles for building the standalone product.
The orbit and eclipse features needed some refinements, too.

Equinox was up to now taken from the Juno release, so it was high
time to upgrade it. Unfortunately, Jetty 8.x turned out to be
incompatible with Equinox from the Luna release (it has some
hard-coded class names in the bundle loader, which do no longer
exist in Equinox). So we have to stay with Equinox from the Kepler
SR2 release for the time being, which is compatible with Jetty 8.x.

org.eclipse.equinox.ds now logs some scary error messages during
startup when binding service dependencies with cardinality
0..1 or 0..n. This is a consequence of a bug in Equinox:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402750
Luckily, this seems to be a cosmetic problem since Skalli starts up
normally and all services are bound correctly. The error messages
vanish when starting the server without -consoleLog option.

The deployment mechanism for OSGi web bundles has changed in
Jetty 8.x and requires a diffent configuration in the
jetty.xml. Furthermore, for Jetty 8.x the jetty.xml file has been
split into several distinct configuration files (jetty-deployer.xml,
jetty-selector.xml etc.). Therefore, the Jetty configuration files
in o.e.skalli.target/jetty/etc needed some update, too.
The new configuration files are copies from the Jetty distribution
(jetty.releng.products/jetty-features/org.eclipse.jetty.product/
jettyhome/etc/) with some modifications for authentication.

Running the standalone product requires a slightly modified command
line due to the updated org.eclipse.osgi bundle:

java 
-Dosgi.compatibility.bootdelegation=true
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Dequinox.ds.print=true
-Djetty.home=./jetty
-Dlogback.configurationFile=./jetty/etc/logback.xml
-Dskalli.persistence.eclipselink.target-database=Derby
-Dskalli.persistence.javax.persistence.jdbc.driver=
org.apache.derby.jdbc.EmbeddedDriver
-Dskalli.persistence.javax.persistence.jdbc.url=
jdbc:derby:SkalliDB;create=true
-Dskalli.persistence.javax.persistence.jdbc.user=skalli
-Dskalli.persistence.javax.persistence.jdbc.password=skalli
-jar plugins/org.eclipse.osgi_3.9.1.v20140110-1610.jar
-clear
-console
-configuration ./configuration

Running Skalli in Eclipse works as before (select skalli.launch in
o.e.s.target > Run As > skalli).

Change-Id: Ic9fc8b57ed70d2f9e6796c6097f77744ca0873e0
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Migrated to Felix Gogo 0.10

Change-Id: Ibe04a95b44308ba2a5d57bf021d532e1f41c5edf
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Added a CONTRIBUTING file

Change-Id: I351e6263ce6775c6818c7af9bb95c126148a4a7f
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Switch off Vaadin debug mode for productive usage

Change-Id: I1d22b822244fc5b581ba2fbc36b16bd85f70eabd
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Adapt rules for compilation of JSP files

By default, Jasper runs in development mode, i.e. checks for
each request if JSP files have changed and must be recompiled.
That is not appropriate for a productive environment.

This patch adds a configuration section for the JspServlet to the
web.xml of o.e.s.view. By default "reload-interval=-1" is set now,
i.e. JSP files are compiled on first hit, but then never checked
for changes again. Other useful parameter combinations are given
in the web.xml, too, but are commented.

Change-Id: I2d0e63b82389acb88fb457a68626b363995de5a9
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Remove legacy Jira and P4 stuff

There were still some old and forgotten filters/servlets in
o.e.s.view with some proprietary Jira and P4 support.

o.e.s.view.ext.impl.test is not empty and has been removed from
the build, but will be kept as placeholder.

Change-Id: I7fcae4691bbf70d3d2d7a892b705e9e967100ae2
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Removed obsolete code-formatter.xml

All bundles have dedicated code formatting preferences, so this
file seems to be obsolete.

Change-Id: Id8ebcdf305f9efb2f6156c62ee685f7df15a4ab9
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Testing feature should provide source of o.e.s.testutil

Change-Id: Ice3c361717a0efb9f2a7e0bfcea0d978a4347649
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Introduce o.e.s.core.feature

This feature provides a headless version of Skalli. Just the REST
API but no UI. o.e.s.feature now includes this new feature and adds
the UI bundles.

Change-Id: I74e419cbc87f5539293a13ff92e810f3b1d13d2e
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Cleanup of project and pom files

Removed trailing blanks, replaced some wrong line ending characters,
added missing <?xml> directives in pom files, replaced tabs with
blanks in some .project files, added missing copyright headers.

No functional changes.

Change-Id: Ice16df802b310baa1b86a4a1b56e2535329f4197
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Simplified POM structure

The o.e.s.parent bundle always seemed a bit artifical since it kind
of introduced a cycle with the reactor POM. I cannot remember what
the reason for this setup was, but the build works pretty well with
all the build configuration stuff in the reactor POM.

The artifactId of the reactor POM is now simply org.eclipse.skalli.

Change-Id: I3960dead9765d7b3327325028a0bc6cc365b6f49
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Fixed invalid parent POM paths in examples bundles

Change-Id: I128d74e779843d6ad81c69f449835c56ebb4cd3b
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Fixed problem with missing icons in product file

Change-Id: I490e57d2e78eb4e6c88baed9d99f21f439f497c0
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Fixed another invalid POM path (o.e.s.examples)

Change-Id: Ic9a91b1e9c0f09de2a1d76c88c047f4f4ef61137
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>