> I'm attempting to write a plug-in for writing Eclipse plug-ins that
> scans the project dependencies for eclipse JARs and copies them from the
> local eclipse installation into the local maven repo.

This doesn't sound like the right approach. Instead, the plugin goal
should probably just copy an entire set of JARs from the installation
to the local repository without depending on them.

> Obviously, I would like this new goal to decorate the build process
> *before* maven attempts to obtain the project dependencies. I tried to a
> create a pregoal for build:start but this didn't seem to work either!

No, its not possible at the moment. Dependencies are done first.

> Also, is it possible to install pre/post goals with plugins so that an
> installed plugin permenantly decorates existing maven goals?

It's possible, but its a very very bad idea. Any call to the existing
maven goals will require calling your plugin. It happens in a couple
of Maven plugins at the moment, and is a constant source of pain.

Cheers,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to