[ALL] Maven plugins common configuration.

2016-10-25 Thread Artem Barger
Hi, While working on creating multi module configuration for commons-rng component I've extracted all configurations for maven plugins such as: pmd, findbugs, checkstyle into separate module "commons-rng-build-tools". Such that parent project can now refer to it within build plugins section and wi

Re: [ALL] Maven plugins common configuration.

2016-10-25 Thread sebb
On 26 October 2016 at 01:14, Artem Barger wrote: > Hi, > > While working on creating multi module configuration for commons-rng > component I've extracted all configurations for maven plugins such as: pmd, > findbugs, checkstyle into separate module "commons-rng-build-tools". Such > that parent pr

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Artem Barger wrote: > Hi, > > While working on creating multi module configuration for commons-rng > component I've extracted all configurations for maven plugins such as: > pmd, findbugs, checkstyle into separate module "commons-rng-build-tools". > Such that parent project can now refer to it wi

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 3:20 AM, sebb wrote: > Why not include it in commons parent? > Because than it will introduce cyclic dependencies I guess. You will declare "commons-parent" is parent module and later add it as dependency for maven plugin config.​ Best regards, Art

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 10:08 AM, Jörg Schaible < joerg.schai...@bpm-inspire.com> wrote: > You may put both parts into an own profile that is activated automatically > at the extistence of pmd/pmd-ruleset.xml. Each component has then a chance > to use it or not simply by providing that file. > ​N

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Hi Artem, Artem Barger wrote: > On Wed, Oct 26, 2016 at 10:08 AM, Jörg Schaible < > joerg.schai...@bpm-inspire.com> wrote: > >> You may put both parts into an own profile that is activated >> automatically at the extistence of pmd/pmd-ruleset.xml. Each component >> has then a chance to use it or

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 10:36 AM, Jörg Schaible < joerg.schai...@bpm-inspire.com> wrote: > Because you must have a mechanism to trigger the e.g. the PMD plugin > individually, if you put the declarationsof it into the commons parent > (pluginManagement as well as report). > > ​Ok, I see, I didn't

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Gilles
Hello. On Wed, 26 Oct 2016 03:14:59 +0300, Artem Barger wrote: Hi, While working on creating multi module configuration for commons-rng component I've extracted all configurations for maven plugins such as: pmd, findbugs, checkstyle into separate module "commons-rng-build-tools". Such that pa

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
​Hi, ​ On Wed, Oct 26, 2016 at 5:53 PM, Gilles wrote: > What is the command to "build everything"? > > > I tried > $ mvn site > ​Try "mvn install site" ​ instead. For some reason dependencies between is not sorted out and maven could not find "commons-rng-build-tools" (posted a question in

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Hi Artem, Artem Barger wrote: > ​Hi, > > On Wed, Oct 26, 2016 at 5:53 PM, Gilles > wrote: > >> What is the command to "build everything"? >> >> > >> I tried >> $ mvn site >> > > ​Try "mvn install site" > ​ instead. For some reason dependencies between is not sorted out and > maven > could

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 6:30 PM, Jörg Schaible < joerg.schai...@bpm-inspire.com> wrote: > > 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.

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Gilles
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 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

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 7:14 PM, Gilles wrote: > 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

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 7:14 PM, Gilles wrote: > ​Try "mvn install site" >>> >> > That works but does not build the complete site, for which I'd > invoke > > $ mvn site:stage ​Can you try now? I've pushed some changes.​ Best regards, Artem Barger.

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Gilles
On Wed, 26 Oct 2016 19:31:18 +0300, Artem Barger wrote: On Wed, Oct 26, 2016 at 7:14 PM, Gilles wrote: ​Try "mvn install site" That works but does not build the complete site, for which I'd invoke $ mvn site:stage ​Can you try now? I've pushed some changes.​ $ mvn clean install sit

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Artem Barger wrote: > On Wed, Oct 26, 2016 at 6:30 PM, Jörg Schaible < > joerg.schai...@bpm-inspire.com> wrote: > >> >> 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 produ

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Artem Barger wrote: > On Wed, Oct 26, 2016 at 7:14 PM, Gilles > wrote: > >> 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 su

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Artem Barger
On Wed, Oct 26, 2016 at 7:42 PM, Gilles wrote: > > But the modules link are still dead. > [E.g. there is no "apidocs".] ​Added aggregation of javadocs for parent project.​ Best regards, Artem Barger.

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread sebb
On 26 October 2016 at 17:50, Jörg Schaible wrote: > Artem Barger wrote: > >> On Wed, Oct 26, 2016 at 7:14 PM, Gilles >> wrote: >> >>> could not find "commons-rng-build-tools" (posted a question in maven ML > list). > The reactor of Maven does not consider plugins itself or depen

Re: [ALL] Maven plugins common configuration.

2016-10-26 Thread Jörg Schaible
Hi Sebb, sebb wrote: > On 26 October 2016 at 17:50, Jörg Schaible wrote: [snip] >> We have commons-build in proper. Don't know what it is used for, but it >> looks like an old Maven 1 project ;-) > > Commons-build is current. > It is even documented. See: > > http://commons.apache.org/proper

Re: [ALL] Maven plugins common configuration.

2016-10-29 Thread Artem Barger
​Hi Gilles,​ On Wed, Oct 26, 2016 at 7:42 PM, Gilles wrote: > > $ mvn clean install site site:stage > > succeeds. :-) > > But the modules link are still dead. > [E.g. there is no "apidocs".] ​Did you have chance to work that javadoc aggregation serves your need and now links are not broken any

Re: [ALL] Maven plugins common configuration.

2016-11-02 Thread Gilles
Hi. On Sun, 30 Oct 2016 01:34:03 +0200, Artem Barger wrote: ​Hi Gilles,​ On Wed, Oct 26, 2016 at 7:42 PM, Gilles wrote: $ mvn clean install site site:stage succeeds. :-) But the modules link are still dead. [E.g. there is no "apidocs".] ​Did you have chance to work that javadoc aggre

[RNG] More grunt work... (Was: [ALL] Maven plugins common configuration)

2016-11-01 Thread Gilles
Hello. Could you please have a look at the changes in "multimodule" branch? I created an issue: https://issues.apache.org/jira/browse/RNG-23 You are most welcome to create the corresponding sub-tasks, and tackle some of them. Top-priority is IMO: * the web site duplication issue, * how to n

Re: [RNG] More grunt work... (Was: [ALL] Maven plugins common configuration)

2016-11-03 Thread Artem Barger
On Wed, Nov 2, 2016 at 1:25 AM, Gilles wrote: > Hello. > > Could you please have a look at the changes in "multimodule" > branch? > ​Sure.​ > I created an issue: > https://issues.apache.org/jira/browse/RNG-23 > > You are most welcome to create the corresponding sub-tasks, and > tackle some o