Blog Archives
Page 1 of 4
1 2 3 4

20+ Maven plugins listed for an enterprise Java (i.e. a JEE) project

In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “build” element.

What is a “Plugin Architecture”?

In this architecture, a core application defines an interface,

Read more ›



8+ JMeter performance testing interview Q&As

Performance testing is an important process of any software development. You can bring this up yourself to many open-ended questions like — Tell me about yourself? What are some of your recent accomplishments that you are proud of? Setting up a performance/load test script is always the first step in...

Members Only Content
Log In Register Home


Checkstyle & Maven Tutorial

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.

Read more ›



Creating a Maven profile to compile using a different JDK version tutorial

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.

Step 2: Say now you want to compile using Java 1.5.

Read more ›



Findbugs and Maven tutorial

Findbugs is an open source project for a static analysis of the Java bytecode to identify potential software bugs.

Findbugs-structureFindbugs-structure

Step 1: The pom.xml with the findbug & site reporting plugins and properties.

Step 2: Exclude certain classes with an exclude filter

src/main/resources/findbugs/excludeFilter.xml

Step 3: Running mvn command to spot bugs

Step 4: Running mvn command to report bugs

this creates the file “findbugs.html”

Read more ›



Page 1 of 4
1 2 3 4

800+ Java Interview Q&As Menu

Top