Bloc-Note sur Maven
Générer la documentation dans le site
Contexte : pom.xml/project/reporting/plugins
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<test>**/*Test</test>
</configuration>
</plugin>
Générer lun rapport CheckStyle dans le site
Contexte : pom.xml/project/reporting/plugins
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.0-beta-1</version>
<configuration>
<configLocation>./janus.checkstyle.xml</configLocation>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<!-- <propertiesURL>http://localhost/conf/checkstyle.xml</propertiesURL> -->
</configuration>
</plugin>
Déployer sous tomcat
Contexte : pom.xml/project/buid/plugins
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<url>http://www.serverTomcat.com:8080/manager</url>
<server>serverTomcat</server>
</configuration>
</plugin>
Poster un nouveau commentaire