With elasticsearch 2.x I used the following code to launch an embedded Node for testing:
@Bean public Node elasticSearchTestNode() { return NodeBuilder.n
It's not supported.
You should read this blog post.
EDIT:
This is how I solved the integration tests with maven problem.