maven-plugin-api com.thoughtworks.qdox.parser.ParseException: syntax error

2009-06-04 Thread janszm
I am trying to write a maven plugin as per http://maven.apache.org/guides/plugin/guide-java-plugin-development.html When I compile my plugin I get the following error: com.thoughtworks.qdox.parser.ParseException: syntax error @[38,33] in

How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread janszm
I have a java program which takes an input-file and output-file as parameters. I need to run this for a set of files in a directory. How can I best achieve this with Maven? I have looked at the Exec Maven plugin and as per http://mojo.codehaus.org/exec-maven-plugin/usage.html I can use this to

Re: How to run Exec Maven plugin for each file in a directory?

2009-05-26 Thread janszm
Baptiste MATHUS wrote: Well, it depends on what you want to do. Maven is not designed to be used as a scripting engine for administration tasks. Do you want to do this as a part of your packaging/build process? If so, then look at Stephen answer. If you want to script something moving