In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “
…
In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “
…
Performance testing is an important process of any software development. You can bring this up yourself to many open-ended questions like — … Read more ›...
Step 1: The pom.xml with the checkstyle plugin and properties.
Step 2: The checkstyle files that define the rules.
src/main/resources/checkstyle/myapp-checks.xml
src/main/resources/checkstyle/myapp-suppressions.xml
Step 3: Running via mvn command.
…
Profiles are very handy in maven to use different JDK versions, include different files for different environments, etc.
Step 1: Say you have a pom.xml file using Java 7 to compile.
…
Findbugs is an open source project for a static analysis of the Java bytecode to identify potential software bugs.
Step 1: The pom.xml with the findbug &
…
This tutorial performance test the RESTFul web service we created ealier as part of the “RESTful Web Service Tutorial with Apache CXF, Maven, and Eclipse” with JMeter. JMeter is an opensource performance testing tool.
…
This post extends 8 JMeter Performance testing Interview Q&As to cover JSON HTTP post. Now a days, a single page interactive web sites are very popular, and they post JSON...
Cobertura is a free code coverage tool, which calculates the percentage of Java code accessed by unit tests.
Step 1: The pom.xml file with the relevant reporting plugins.
…
Maven assembly plugin is primarily intended to allow users to aggregate the project output along with its dependencies, modules, site documentation, and other files into a single distribution archive like zip,
…
This extends the Maven assembly plugin with additional examples to create an assembly by controlling what artifacts get included in the archive.
Example 1: dev-assembly.xml
The datasource and properties files are packaged for DEV environment.
…