hibernate/hibernate-ogm — pull request #255 by DavideD (2013-11-22 10:27:03+00:00)
Title: OGM-381 Add Neo4j dependencies only once to distribution file

https://hibernate.atlassian.net/browse/OGM-381

Initially I've started adding the exclusion filters like we did for the other modules but this method does not look scalable and it also make hard to understand in which module a dependency is included.

When I've replace the exclusions with inclusions maven started to print many Warning and to resolve them I've created a distribution maven module as suggested in the maven documentation: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html

As before, the distribution won't be built by default but I've added profile that will be active when the parameter -DbuildDistro is specified