Thanks for the suggestion. I thought that would do the trick, but maven is still trying to download the dependencies directly first rather than execute my plug-in goal. Maybe I need to pregoal some other goal?

Here is my maven.xml for the sample project I am attempting to build with:

<project>
        <preGoal name="build:start">
                <attainGoal name="eclipse-plugin:install-eclipse-libs"/>
        </preGoal>
</project>

It's a bit of hack, but is there someway to mark dependencies so that maven does not attemp to download them during the "build:start" goal?

TIA
-- Ricardo Gladwell

Nicolas De Loof wrote:
Did you try a pregoal for build:start ?

Nico.

Hi All,

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.

Obviously, I would like this new goal to decorate the build process *before* maven attempts to obtain the project dependencies. Is this possible? If so, how so? Or, should I be looking at doing this differently?

-- Ricardo Gladwell

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



Reply via email to