You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles <gi...@harfang.homelinux.org> on 2016/10/21 11:07:49 UTC

Re: [RNG] Evaluating work required for a multi-module project

Hello.

On Fri, 21 Oct 2016 02:31:33 +0300, Artem Barger wrote:
> \u200bHi Gilles,\u200b
>
> On Thu, Oct 20, 2016 at 4:47 PM, Gilles 
> <gi...@harfang.homelinux.org>
> wrote:
>
>> Hi Artem.
>>
>> Would you be willing to create a branch containing actual
>> files?
>>
>> If so, since the break-down into modules I'm thinking of is
>> not the one you've taken below,[1] I suggest that you create
>> an "all-example" module, into which you'd move _all_ the code.
>>
>> I'd think that you should start from
>>   
>> https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/pom.xml
>> as suggested by Matt.
>>
>> Then, I expect that
>>  $ mvn clean site
>> will run smoothly, and produce everything which the current
>> config does.[2]
>>
>> Please let me know if you don't have the time to do it, or if
>> you run into any problem that would prevent this goal to be
>> achieved quickly.[3]
>>
>
>
> \u200bI've create a new branch where restructured project folders to add 
> support
> for multi modules. I still need to work on some configurations. Would 
> be
> glad if you can take a look and provide comments.

As I feared:
  $ mvn clean site
does not produce everything...

Is there an alternative command for a multi-module project?

The
  * userguide [1]
  * apidocs
  * jacoco
  * clirr
  * rat
and others, are missing (or partial).

The "About" page provides a link to "Apache Commons RNG Core", but it
is dead ("File not found").

The "Dependencies" page refers to packages that shouldn't be there
("jopt-simple", "commons-math3").



Regards,
Gilles

[1] It should probably stay at the top-level (i.e. not have one
     userguide par module).


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


Re: [RNG] Evaluating work required for a multi-module project

Posted by Artem Barger <ar...@bargr.net>.
On Fri, Oct 21, 2016 at 2:07 PM, Gilles <gi...@harfang.homelinux.org>
wrote:

> As I feared:
>  $ mvn clean site
> does not produce everything...
>
> ​I think that in case of multi model project simple "mvn site" won't be
enough,
​not sure but I think that "mvn site:deploy" should do the work in that
case.



> Is there an alternative command for a multi-module project?
>
> The
>  * userguide [1]
>  * apidocs
>  * jacoco
>  * clirr
>  * rat
> and others, are missing (or partial).
>
> The "About" page provides a link to "Apache Commons RNG Core", but it
> is dead ("File not found").
>
> The "Dependencies" page refers to packages that shouldn't be there
> ("jopt-simple", "commons-math3").
>

Well as I said I'm still have a few things to add, also I'd like to take
all build related
plugins config files (pmd, findbug, checkstyle and etc) into separate
module.​




Best regards,
                      Artem Barger.

Re: [RNG] Evaluating work required for a multi-module project

Posted by Artem Barger <ar...@bargr.net>.
On Fri, Oct 21, 2016 at 6:25 PM, Ralph Goers <ra...@dslextreme.com>
wrote:

> Please read the documentation on the maven site plugin -
> https://maven.apache.org/plugins/maven-site-plugin/
> examples/multimodule.html <https://maven.apache.org/
> plugins/maven-site-plugin/examples/multimodule.html>. “mvn site” builds
> the sites for all the individual modules but it does not put them together.
> That happens when you do site:stage-deploy or site:deploy.
>

​Yeah, as I thought just "mvn site" for multimodule is not enough. ​


Best regards,
                      Artem Barger.

Re: [RNG] Evaluating work required for a multi-module project

Posted by Ralph Goers <ra...@dslextreme.com>.
Please read the documentation on the maven site plugin - https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html <https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html>. “mvn site” builds the sites for all the individual modules but it does not put them together. That happens when you do site:stage-deploy or site:deploy.

Ralph

> On Oct 21, 2016, at 4:07 AM, Gilles <gi...@harfang.homelinux.org> wrote:
> 
> Hello.
> 
> On Fri, 21 Oct 2016 02:31:33 +0300, Artem Barger wrote:
>> ​Hi Gilles,​
>> 
>> On Thu, Oct 20, 2016 at 4:47 PM, Gilles <gi...@harfang.homelinux.org>
>> wrote:
>> 
>>> Hi Artem.
>>> 
>>> Would you be willing to create a branch containing actual
>>> files?
>>> 
>>> If so, since the break-down into modules I'm thinking of is
>>> not the one you've taken below,[1] I suggest that you create
>>> an "all-example" module, into which you'd move _all_ the code.
>>> 
>>> I'd think that you should start from
>>>  https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/pom.xml
>>> as suggested by Matt.
>>> 
>>> Then, I expect that
>>> $ mvn clean site
>>> will run smoothly, and produce everything which the current
>>> config does.[2]
>>> 
>>> Please let me know if you don't have the time to do it, or if
>>> you run into any problem that would prevent this goal to be
>>> achieved quickly.[3]
>>> 
>> 
>> 
>> ​I've create a new branch where restructured project folders to add support
>> for multi modules. I still need to work on some configurations. Would be
>> glad if you can take a look and provide comments.
> 
> As I feared:
> $ mvn clean site
> does not produce everything...
> 
> Is there an alternative command for a multi-module project?
> 
> The
> * userguide [1]
> * apidocs
> * jacoco
> * clirr
> * rat
> and others, are missing (or partial).
> 
> The "About" page provides a link to "Apache Commons RNG Core", but it
> is dead ("File not found").
> 
> The "Dependencies" page refers to packages that shouldn't be there
> ("jopt-simple", "commons-math3").
> 
> 
> 
> Regards,
> Gilles
> 
> [1] It should probably stay at the top-level (i.e. not have one
>    userguide par module).
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org <ma...@commons.apache.org>
> For additional commands, e-mail: dev-help@commons.apache.org <ma...@commons.apache.org>