Review Board 1.7.22


SQOOP-758 Sqoop2: Generate documentation in package goal

Review Request #8529 - Created Dec. 11, 2012 and submitted

Jarek Cecho
SQOOP-758
Reviewers
Sqoop
sqoop-sqoop2
I've bind sphinx plugin "site" goal with "package" goal. So that the documentation will be generated on every "mvn package" call.

 

Diff revision 1 (Latest)

  1. docs/pom.xml: Loading...
docs/pom.xml
Revision cbe5053105b355533223c4cd8ce904919c39f6ad New Change
[20] 82 lines
[+20]
83
                  <artifactId>sphinx-maven-plugin</artifactId>
83
                  <artifactId>sphinx-maven-plugin</artifactId>
84
                  <version>1.0.2</version>
84
                  <version>1.0.2</version>
85
                </plugin>
85
                </plugin>
86
              </reportPlugins>
86
              </reportPlugins>
87
            </configuration>
87
            </configuration>

    
   
88

   

    
   
89
            <!-- Configure generating documentation alongside with package -->

    
   
90
            <executions>

    
   
91
              <execution>

    
   
92
                <id>packaging-documentation</id>

    
   
93
                <phase>package</phase>

    
   
94
                <goals>

    
   
95
                  <goal>site</goal>

    
   
96
                </goals>

    
   
97
              </execution>

    
   
98
            </executions>

    
   
99

   
88
          </plugin>
100
          </plugin>
89
        </plugins>
101
        </plugins>
90
      </build>
102
      </build>
91
    </profile>
103
    </profile>
92
  </profiles>
104
  </profiles>
[+20] [20] 14 lines
  1. docs/pom.xml: Loading...