Quoting Dion Gillard <[EMAIL PROTECTED]>:

> I'm having problems with maven:get in the latest builds of the 1.0 branch.
> 
> In the NSIS plugin I have this:
> 
>    <maven:get var="maven.dist.bin.assembly.dir"
> plugin="maven-dist-plugin" property="maven.dist.bin.assembly.dir"/>
> 
> And it comes back blank.

This stuff has always been flaky. It depends on the plugin already being loaded.
The "documented" fashion of doing so is a taglib dependency handle (see
eclipse's use of test/cactus). Using a pregoal will also work.

> Also, running maven dist by itself works ok, but putting it as a
> pre-req for a plugin goal fails miserably with
> 
> INTERNAL ERROR
> Reference made to goal 'dist' which has no definition.

Clear your plugin cache and try again... try depending on dist:dist... that's
all I can think of off the top of my head.

Incidentially, I saw the bug you filed against dist + touchstone. Maven doesn't
use dist to build releases at the moment, so I'm not sure fix for 1.0 is
appropriate.

- Brett


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

Reply via email to