tags:

views:

154

answers:

1

Hi there

I'm new to maven, I keep running in to the following syntax:

<include>**/*</include>

Im not sure how to interpret **/*, is this some Java or maven convention?

+5  A: 

It is more related to <fileset> ant convention upon which Maven is built.

**/* : all files in all subdirectories: see ant Patterns.

When ** is used as the name of a directory in the pattern, it matches zero or more directories.
For example: /test/** matches all files/directories under /test/, such as /test/x.java, or /test/foo/bar/xyz.html, but not /xyz.xml.

VonC
thank you for the link!
vpalle