Provide an activation profile so that site generation
and deploy run when the merge flag is passed by JJB
merge jobs.
Change-Id: I546afbf2dade6c324ceba161b7b401b992aad973
Signed-off-by: Mathieu Lemay <mlemay@inocybe.com>
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <activation>
+ <property>
+ <name>merge</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>site</goal>
+ </goals>
+ <phase>compile</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ <phase>install</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>