Update ommongodb.c

Template is not mandatory regarding latest documentation
maintain ChangeLog
Merge branch 'v7-stable'

Conflicts:
	ChangeLog
Fix json includes

Rely on the include paths set by json-c.pc instead of hardcoding
the include to be <json/json.h> since this breaks with newer versions of
json-c where the files are installed in /usr/include/json-c.

While at it, remove a duplicate include.
Use automake 'subdir-objects' option

Newer automake versions complain if we use source files in subdirectories:

autoreconf: running: automake --add-missing --copy --force-missing
plugins/omelasticsearch/Makefile.am:4: warning: source file 'cJSON/cjson.c' is in a subdirectory,
plugins/omelasticsearch/Makefile.am:4: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
runtime/Makefile.am:7: warning: source file '../action.c' is in a subdirectory,
runtime/Makefile.am:7: but option 'subdir-objects' is disabled
runtime/Makefile.am:7: warning: source file '../threads.c' is in a subdirectory,
runtime/Makefile.am:7: but option 'subdir-objects' is disabled
runtime/Makefile.am:7: warning: source file '../parse.c' is in a subdirectory,
runtime/Makefile.am:7: but option 'subdir-objects' is disabled
runtime/Makefile.am:7: warning: source file '../outchannel.c' is in a subdirectory,
runtime/Makefile.am:7: but option 'subdir-objects' is disabled
runtime/Makefile.am:7: warning: source file '../template.c' is in a subdirectory,
runtime/Makefile.am:7: but option 'subdir-objects' is disabled
autoreconf: Leaving directory `.'

Explicitly set the 'subdir-objects' option to avoid any future issues.

Fixes #33
Merge branch 'fix-json-includes' of https://github.com/mbiebl/rsyslog into v7-stable
maintain ChangeLog
Merge branch 'v7-stable'

Conflicts:
	configure.ac
Fix rfc3195 configure check

Newer versions of liblogging were restructured and now also contain
other components besides rfc3195. As a result the original liblogging
library was split and the rfc3195 component was renamed to
liblogging-rfc3195 along with its pkg-config file.

Update the configure check accordingly.
Since we require liblogging >= 1.0.1 anyway, don't add a fallback check
for the old pkg-config name.

Fixes #30
Merge branch 'fix-rfc3195-configure-check' of https://github.com/mbiebl/rsyslog into v7-stable
Merge branch 'v7-stable'
bugfix: end of batch processing was not 100% correct.

Could lead to outputs not properly wirting messages. At least
omelasticsearch did not write anything to the database due to this bug.
See: https://github.com/rsyslog/rsyslog/issues/10
Thanks to Radu Gheorghe for reporting the issue.
preparing for 8.1.6 release
Add pom to package easily the java part with maven

Maven will create a target dir with its compilation files and three jars,
one with compiled classes, one with classes source code and one with
javadocs.

The generated jar is not executable directly. For instance, we will
have to do:
    java -cp target/rsyslog-8.1.6.jar com.rsyslog.gui.diaggui.DiagGUI
to execute the main in com.rsyslog.gui.diaggui.DiagGUI class.

The previous build system with makefile is not affected by this patch.