On 20 January 2015 at 00:51, Phil Steitz <phil.ste...@gmail.com> wrote:
> On 1/19/15 4:53 PM, sebb wrote:
>> Building the full site for a component can be quite time-consuming,
>> which makes checking the documentation build tedious.
>>
>> Almost all the reports have "skip" parameters, so it's possible to
>> build up a command that only builds the component docs. This can be
>> saved as a shell script or alias. (Or define a profile in
>> settings.xml)
>> But those won't be available on other systems - or to other users.
>>
>> Just wondering whether anyone else would find it useful to have an
>> (optional) profile for this?
>>
>> For example, I have an alias:
>>
>> mvnsite='mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
>> -Dcobertura.skip -Dfindbugs.skip -Dcheckstyle.skip -Dclirr.skip
>> -Dchanges.jira.skip'
>>
>> It would be possible to define these props in a profile, for example
>> "basic" (or "docsonly" ?)
>
> I would just commit mvnsite.sh somewhere ;)

But that only works for Unix OSes; and it has to be downloaded.

> I wish something like the old xdoc:xdoc would be restored by maven
> itself.  The javadoc goal still seems to work.

AIUI xdoc is not the only type of source for site builds.

> Phil
>>
>> mvn site -Pbasic
>>
>> This would then create a basic site without all the additional reports.
>>
>> If a particular report was needed, that would be possible too:
>>
>> mvn site -Pbasic -Dclirr.skip=false
>>
>> Just a thought.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

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

Reply via email to