> On Feb. 8, 2016, 7:22 p.m., Abraham Fine wrote:
> > docs/pom.xml, line 72
> > <https://reviews.apache.org/r/43315/diff/1/?file=1237090#file1237090line72>
> >
> >     what is the reason for this change? shouldn't the documentation be 
> > generated during the "site" goal?

So that is a maven playing badly on us. The "site" goal is actually not part of 
standard lifecycle, but an extra one (similarly to clean). So when one does 
"mvn package", the "site" goal is not necessarily called. And since our docs 
are primarily targetted for the being included in package, I've decided to move 
them to this goal to ensure that our binary package always have them. I could 
move the doc generation to "site" goal and update our "How to release guide" to 
call "mvn clean site package", but that seemed quite fragile to me. What do you 
think?


- Jarek


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43315/#review118275
-----------------------------------------------------------


On Feb. 7, 2016, 6:10 p.m., Jarek Cecho wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43315/
> -----------------------------------------------------------
> 
> (Updated Feb. 7, 2016, 6:10 p.m.)
> 
> 
> Review request for Sqoop and Jarek Cecho.
> 
> 
> Bugs: SQOOP-2827
>     https://issues.apache.org/jira/browse/SQOOP-2827
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> -------
> 
> In order to solve SQOOP-2826 I need facilities to execute pre-processing 
> steps while generating documentation.
> 
> 
> Diffs
> -----
> 
>   docs/pom.xml c96a582 
>   docs/src/main/java/org/apache/sqoop/docs/generator/DocPreprocessor.java 
> PRE-CREATION 
>   
> docs/src/main/java/org/apache/sqoop/docs/generator/plugins/AbstractPlugin.java
>  PRE-CREATION 
>   
> docs/src/main/java/org/apache/sqoop/docs/generator/plugins/CopySourceToDestination.java
>  PRE-CREATION 
>   docs/src/main/resources/log4j.properties PRE-CREATION 
>   pom.xml ba0a243 
> 
> Diff: https://reviews.apache.org/r/43315/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jarek Cecho
> 
>

Reply via email to