Anders Nawroth of the Neo4J project asked an interesting question on the neo4j-user lis
t:
What’s the best option when deploying neo4j code examples using Maven? It’s really not of any interest to deploy the artifact itself, it’s the sources (if possible with some exclusion of resources) that we want.
Anders’ requirements: create a project which packages itself, wire the appropriate goal into the lifecycle. He’s headed in the right direction, the Maven Assembly Plugin, but he might not know about the pre-defined assembly descriptors as they are somewhat hidden on the Apache Maven site. Since other projects might have similar requirements, here’s a quick explanation of all the moving parts…

