hi,
i was able to bind the gen goal to generate-sources phase. But each time i
run mvn (phase) 
gen goal is invoked but it asks the user to enter the pojo name and also if
100 pojos are there only one pojo is processed.
i need gen to run iteratively on invocation of mvn generate-sources.
i'm new to maven..so i only i have book-knowdledge.

Brett Randall-2 wrote:
> 
> Would referencing it as a <plugin> in your POM and allowing it to bind by
> default to the generate-sources phase work, rather than running the
> individual mojo?
> 
> Brett
> 
> On Thu, Jan 22, 2009 at 4:49 PM, arve <[email protected]> wrote:
> 
>>
>> hi,
>> I run a maven task mvn appfuse:gen -Dentity=Pojo name.
>> if i have 100 pojos in a folder i have to run the same command 100 times.
>> Instead is there some plugin/trick whcih could iterate the same command
>> with
>> different pojo names with a  single command?
>> --
>> View this message in context:
>> http://www.nabble.com/Iterating-through-a-files-using-maven-plugin-tp21598334p21598334.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Iterating-through-a-files-using-maven-plugin-tp21598334p21617930.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to