Hi Dipti,
I had the same "issue" on CassandraIO.
If you take a look on:
https://github.com/apache/beam/pull/592/files
you will see that I use <compiler.error.flag></compiler.error.flag> to
remove the default -Werror causing issue with Java8 dependencies.
Regards
JB
On 02/27/2017 06:16 PM, Dipti Kulkarni wrote:
Hi all,
While working on HadoopInputFormatIO, when I rebased my code to fetch the
latest from Beam repo, I see an Enforcer rule added to the parent POM to ensure
that all dependencies used are compliant with JDK 1.7
I have written tests for Cassandra and Elasticsearch to test if HIFIO works ok
to read data from these sources using their respective inputformat classes, for
these tests, I am using the latest version of ES, and Cassandra which need
dependencies working on JDK 1.8.
These dependencies are marked as test scope, .and my builds continue to fail
due to the Banned Dependency error. Is it mandatory for the tests also to
comply with the enforcer rule of JDK 1.7? Or is there any way we can override
the JDK compliance for Tests? Thoughts?
-Dipti
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy, print, distribute or
use this message. If you have received this communication in error, please
notify the sender and delete all copies of this message. Persistent Systems
Ltd. does not accept any liability for virus infected mails.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com