commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [ALL] Maven plugins common configuration.
Date Wed, 26 Oct 2016 16:14:08 GMT
On Wed, 26 Oct 2016 17:30:45 +0200, Jörg Schaible wrote:
> Hi Artem,
>
> Artem Barger wrote:
>
>> ​Hi,
>>
>> On Wed, Oct 26, 2016 at 5:53 PM, Gilles 
>> <gilles@harfang.homelinux.org>
>> wrote:
>>
>>> What is the command to "build everything"?
>>>
>>>
>>
>>> I tried
>>>  $ mvn site
>>>
>>
>> ​Try "mvn install site"

That works but does not build the complete site, for which I'd
invoke

$ mvn site:stage

But this then fail with:
... skipped ...
[INFO] Build Tools ........................................ FAILURE [  
0.610 s]
[INFO] Apache Commons Parent RNG .......................... SKIPPED
[INFO] Apache Commons RNG Core ............................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 0.972 s
[INFO] Finished at: 2016-10-26T18:09:23+02:00
[INFO] Final Memory: 14M/221M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.3:stage (default-cli) on 
project commons-rng-build-tools: Missing distribution management in 
project Build Tools 
(org.apache.commons:commons-rng-build-tools:1.0-SNAPSHOT) -> [Help 1]


>> ​ instead.  For some reason dependencies between is not sorted out 
>> and
>> maven
>> could not find "commons-rng-build-tools" (posted a question in maven 
>> ML
>> list).
>
> The reactor of Maven does not consider plugins itself or dependencies 
> to
> plugins for its build order (by design). To support something like 
> this, you
> will have to produce a released artifact first.

As maven-ignoramus, I do not follow.
Does it mean that Artem's proposal is not feasible (according to
Commons policy)?

Gilles

>
> - Jörg
>
>


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


Mime
View raw message