Home » Tag Archives: Apache Maven (page 5)

Tag Archives: Apache Maven

FindBugs Maven Plugin Tutorial

apache-maven-logo

FindBugs is a static code analysis tool which identifies problems found from Java code. We can integrate FindBugs into our build process by using the FindBugs Maven plugin. This blog post identifies four typical use cases and describes how we can configure the FindBugs Maven plugin to support each use case. The described use cases are:       Create ...

Read More »

Using an Embedded Tomcat with Maven tomcat plugin

apache-maven-logo

When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the machine in order to execute the application. If you are using Maven on your project, you can use the tomcat plugin to run an embedded tomcat installation and test the application. It is very simple as you can see below. ...

Read More »

Integration tests with Maven 3, Failsafe and Cargo plugin

apache-maven-logo

Unit testing is available in Maven out of the box. Because of that very often its used for integration tests as well. Major disadvantage of this is that integration tests can take much more time to execute and because no one likes to wait long time every build – tests are just skipped with -Dmaven.test.skip=true flag In order to execute ...

Read More »

Embedding Maven

apache-maven-logo

It is a very rare usecase, but sometimes you need it. How to embed Maven in your application, so that you can programatically run goals? Short answer is: it’s tricky. I dabbled into the matter for my java webapp automatic syncing project, and at some point I decided not to embed it. Ultimately, I used a library that does what ...

Read More »

Implementing a custom JSF 2.0 component with maven

apache-maven-logo

Some time ago, I have written my own custom JSF component. But at that point in time, JSF 1.0 was still up to date and the project didn’t use maven as build system. Thus, I always wanted to write a custom JSF2 component with maven. So let’s start: First of all we setup a maven project with two modules. Here ...

Read More »

Setting up your application server with maven

apache-maven-logo

In many cases there is no way to deploy an application without the need to setup your application before. In JBoss AS 7.x you may want to configure for example your database connection. Or you have to configure a security realm. Maybe you also want to adjust the SLSB pool… In any of these cases all developers in the team ...

Read More »

Creating Vulnerability Assessment Artifacts Using Maven Assembly

apache-maven-logo

This article will discuss using Maven Assembly to create artifacts that can be provided to third-party vulnerability assessment sites (e.g., Veracode) for review. Static Analysis for Bugs vs. Vulnerability Assessments At this point everyone is aware of findbugs and uses it religiously, right? Right? Findbugs uses static analysis to find bugs. More precisely, it uses static analysis to find bugs ...

Read More »

Detect Maven Dependency Mediation

apache-maven-logo

As of Maven 2.0.9 a new feature was added to Maven called dependency mediation. Dependency mediation is the technique used by Maven to resolve your project dependencies in the specific case when a dependency occurs multiple times in your dependency tree. Usually this occurs on transitive dependencies linked through the dependencies of your project. In these cases mediation will be ...

Read More »

Maven Reports in Jenkins

apache-maven-logo

Code quality is a sensitive topic. It affects your maintenance cost as well as your customer satisfaction. Not to mention your developers motivation to work with the code. Who wants to fix ugly code, right? Discussing code quality always needs hard facts and numbers! So this is a short tutorial how to create some simple reports to analyze some code ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close