maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <>
Subject [jira] Closed: (MDEPLOY-89) Skip won't work if distribution management is not specified
Date Sun, 20 Dec 2009 17:32:55 GMT


Benjamin Bentmann closed MDEPLOY-89.

       Resolution: Fixed
    Fix Version/s: 2.5
         Assignee: Benjamin Bentmann

Fixed in [r892616|].

> Skip won't work if distribution management is not specified
> -----------------------------------------------------------
>                 Key: MDEPLOY-89
>                 URL:
>             Project: Maven 2.x Deploy Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: René Link
>            Assignee: Benjamin Bentmann
>             Fix For: 2.5
> Imagine a project where you want to adjust the standard build lifecycle of a packaging
type. You want to do most of the build steps as definied by the packacking type except the
deployment. You want to a let your own plugin do the work. In this case you have to skip the
deploy goal of the deploy plugin. It is possible to set the skip property of the deploy plugin
to true, but this will cause an error if you haven't specified a distribution management.
> The problem:
> The deploy plugin defines the property deploymentRepository (
> Because of the dependency injection by plexus, plexus tries to resolve the ArtifactRepository
which is not possible if there is no distribution management definied.
> I don't know much about plexus, but it should be possible to define that property as
lazy loading. I guess this will fix the problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message