On Dec 22, 2008, at 12:38 PM, Todd Thiessen wrote:
I think the reason why you are having so much trouble with Maven is that you want to "configure" it to do what you want by giving it a specific command.
But actually, I can give Maven a specific command to do what I want ... as long as a plugin exists for it. Take for example DocBook. There's a plugin for that, so I can invoke one of its goals explicitly, or at the same time I can have it run automatically by binding it to a phase. That's exactly the kind of flexibility I need.
For install4j, however, there's no plugin, so I have to emulate one with AntRun. That's when my problems start, since there's no way to target a particular AntRun configuration without using profiles.
So I think the lesson here is that I should try to avoid AntRun and Exec, and use a specific plugin for the task, even if that means writing my own.
Trevor --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
