Skip to main content

Posts

Showing posts with the label maven

Findbugs maven plugin configuration

By using findbugs we can avoid some performance issues before deployment. To use findbugs in project, 2 plugins required. One for execute findbugs check on the code, another for print the report in console or generate html report. <project> ...... <build> <plugins> ....             <plugin>                 <groupId>org.codehaus.mojo</groupId>                 <artifactId>findbugs-maven-plugin</artifactId>                 <version>2.3.2</version>                 <inherited>true</inherited>                 <configuration> <!-- skip findbugs execution set value "true" -->                     <skip>false</skip>...

Integrate Checkstyle plugin with maven build

Checkstyle will make java code more readable & maintainable.             checkstyle-maven plugin configuration:          <build >         <plugins>                ..................           <plugin>                 <groupId>org.apache.maven.plugins</groupId>                 <artifactId>maven-checkstyle-plugin</artifactId>                 <version>2.5</version>                 <inherited>true</inherited>                 <configuration>                     <!--to skip checkstyle validation set value as "...