Pierre Delisle wrote:
> Whenever I run a maven command, the following always happens
> first:
>
> Attempting to download glassfish-image-SNAPSHOT.jar.
>
> A few questions:
>
> - Why is this always run by default for any maven command?
Because its the default behaviour with Maven 1.x, and it is impossible
to customize the behaviour (will be with Maven 2.0).
> - Does it do the download only if the snapshot has changed?
Yes.
> - How can this be disabled?
% maven -o ...
will disable the dependencies mechanism. Or you can change the binary
you are building agains. In glassfish/bootstrap/project.properties, changes:
glassfish.image.version=SNAPSHOT
to
glassfish.image.version=9.0-b10 (b10 is the latest promoted build).
This way you will download the image only once (SNAPSHOT is updated
every night (nightly build).
-- Jeanfrancois
>
> Thanks,
>
> -- Pierre
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>