The link you're providing is for a totally different plugin, so that would
not be expected to work unless stated on the sql plugin site. Which it
isn't.

I think your best option is using the fileset param [1] to use a Ant-style
fileset [2] with combined includes/excludes.

/Anders

[1] http://mojo.codehaus.org/sql-maven-plugin/execute-mojo.html#fileset
[2] http://ant.apache.org/manual/Types/fileset.html

On Wed, Apr 25, 2012 at 11:14, Jakub 1983 <jjaku...@gmail.com> wrote:

> Hallo
>
> is it possible to use regexps in sql-maven-plugin ? how?
>
>
> I tried this way
>
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
>
>           <includes>
>             <include>%regex[.*[Cat|Dog].*Test.*]</include>
>           </includes>
>
> and it doesn't work
>
> how can I configure it to include all files ending with sql (*.sql)
> but without files ending  with *-call.sql
> and without ending with tilda ~
>
> ?
>
> is it possible?
>
> Regards and thanks
>
> Jakub

Reply via email to