You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/03/22 23:27:15 UTC

[jira] [Created] (HBASE-8186) Untether javadoc and site build

stack created HBASE-8186:
----------------------------

             Summary: Untether javadoc and site build
                 Key: HBASE-8186
                 URL: https://issues.apache.org/jira/browse/HBASE-8186
             Project: HBase
          Issue Type: Bug
            Reporter: stack
            Assignee: stack


Currently javadoc is built when site is invoked.  It is tied to the pre-site scope.  The javadoc goal is aggregate.  Aggregate goals should be run from the command line generally, not tied to scopes else they tend to trigger package invocations in sub-modules (http://www.sonatype.com/books/mvnref-book/reference/assemblies-sect-basics.html).

This issue manifests as mvn build failing because we can't find hbase-*.jar dependencies even though we don't think we want them since we're just doing a site build (We've seen this on jenkins build where Nick added the site check; up there the workaround was adding a -N -- do not recurse -- flag).

Let me remove building javadoc from site lifecycle.  Invoke it explicitly on the command line if you need it.    Will update the refguide and remove the -N from the dev-tools as part of this patch.

--
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