You can make sure that the arguments are passed literally by doing

<arguments>
   ...
   <argument>-name</argument>
   <argument>*.yicf</argument>
   ...
</arguments>

James

On Mon, Aug 23, 2010 at 10:35 AM, Wayne Fay <[email protected]> wrote:
>> 8.                <commandlineArgs>pkg -name "*.yicf" -exec ls
>> \;</commandlineArgs-->
>
> Probably need to add some single or double quotes or something like
> you did around the *.yicf. Your shell may be automatically escaping
> some things for you while Maven exec plugin is not.
>
> Just because it "works on the command line" does not automatically
> mean that it works -- there are convenience things going on in shells
> sometimes that you don't even know about.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to