[ 
https://issues.apache.org/jira/browse/FLUME-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629195#comment-13629195
 ] 

Edward Sargisson commented on FLUME-1262:
-----------------------------------------

This is actually a bug and not just an improvement.

Without this patch, the Maven build will attempt to create Javadoc based on the 
version of the artifacts it finds in the repository - and *then* goes on to 
build new versions. This means that the Javadoc is always out of date unless 
you build the same code twice.

It also makes the code impossible for new developers to build without figuring 
out how to disable the javadoc generation.
                
> Move doc generation to a different profile
> ------------------------------------------
>
>                 Key: FLUME-1262
>                 URL: https://issues.apache.org/jira/browse/FLUME-1262
>             Project: Flume
>          Issue Type: Improvement
>          Components: Docs
>    Affects Versions: v1.2.0
>            Reporter: Hari Shreedharan
>            Assignee: Mike Percy
>             Fix For: v1.4.0
>
>         Attachments: FLUME-1262-0.patch, FLUME-1262-1.patch
>
>
> Moving to Sphinx has caused our build memory requirements to increase, 
> causing build failures if MAVEN_OPTS does not set higher PermSpace. We should 
> move it to a separate profile, to remove this requirement for normal dev 
> builds and also speed up the build(this is not a major concern - doc 
> generation itself does not take much time).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to