Hey,
I am getting this error while running the 'mvn clean deploy' at shell prompt

1.  find: missing argument to `-exec'
2.  [INFO] 
------------------------------------------------------------------------
3.  [ERROR] BUILD ERROR
4.  [INFO] 
------------------------------------------------------------------------
5.  [INFO] Command execution failed.
6.
7.  Embedded error: Process exited with an error: 1(Exit value: 1)
while executing these lines written in pom.xml.
1.  ...
2.              <phase>deploy</phase>
3.              <goals>
4.                <goal>exec</goal>
5.              </goals>
6.              <configuration>
7.                <executable>find</executable>
8.                <commandlineArgs>pkg -name "*.yicf" -exec ls 
\;</commandlineArgs-->
9.              </configuration>
10.           </execution>
Although when I run the command 'find pkg -name "*.yicf" -exec ls \; on the 
shell prompt, it works and doesn't give any error.

Any reason for this strange behavior and how can I resolve it.

--
Anurag

Reply via email to