You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mirko Friedenhagen <mf...@apache.org> on 2015/07/15 21:29:25 UTC

maven-changes-plugin: AnnouncementMojo requires dependency resolution ResolutionScope.TEST

Hello everybody,

according to https://github.com/apache/maven-plugins/blob/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java#L70
the AnnouncementMojo requires dependency resolution
ResolutionScope.TEST

Does anybody know why this is the case?

Because of this it is not possible to run
changes:announcement-generate in multi module project when the
artifacts are not already installed/deployed.

I just removed requiresDependencyResolution and all
tests/invoker-tests ran fine.

Regards
Mirko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-changes-plugin: AnnouncementMojo requires dependency resolution ResolutionScope.TEST

Posted by Mirko Friedenhagen <mf...@gmail.com>.
Done: https://issues.apache.org/jira/browse/MCHANGES-358
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Mon, Jul 20, 2015 at 5:26 AM, Olivier Lamy <ol...@apache.org> wrote:
> Hi,
> IMHO this doesn't make sense so get rid of it.
>
> Olivier
>
> On 16 July 2015 at 05:29, Mirko Friedenhagen <mf...@apache.org>
> wrote:
>
>> Hello everybody,
>>
>> according to
>> https://github.com/apache/maven-plugins/blob/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java#L70
>> the AnnouncementMojo requires dependency resolution
>> ResolutionScope.TEST
>>
>> Does anybody know why this is the case?
>>
>> Because of this it is not possible to run
>> changes:announcement-generate in multi module project when the
>> artifacts are not already installed/deployed.
>>
>> I just removed requiresDependencyResolution and all
>> tests/invoker-tests ran fine.
>>
>> Regards
>> Mirko
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: maven-changes-plugin: AnnouncementMojo requires dependency resolution ResolutionScope.TEST

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
IMHO this doesn't make sense so get rid of it.

Olivier

On 16 July 2015 at 05:29, Mirko Friedenhagen <mf...@apache.org>
wrote:

> Hello everybody,
>
> according to
> https://github.com/apache/maven-plugins/blob/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java#L70
> the AnnouncementMojo requires dependency resolution
> ResolutionScope.TEST
>
> Does anybody know why this is the case?
>
> Because of this it is not possible to run
> changes:announcement-generate in multi module project when the
> artifacts are not already installed/deployed.
>
> I just removed requiresDependencyResolution and all
> tests/invoker-tests ran fine.
>
> Regards
> Mirko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy