maven

  • submit to reddit

Unit Test Code Coverage

It’s easy to collect unit test code coverage because all of the common tools are geared up for it. This article will explain how you can add unit test coverage to your Maven application in 10 minutes. We will use the excellent Jacoco code coverage library...

0 replies - 1781 views - 01/18/12 by John Dobie in Articles

Maven: great idea, poor implementation (Part 3)

In the first post in this series, I explained why I think Maven Maven is a good idea. Most projects need pretty much the same thing from a build system, but using Ant normally results in complex, non-standard build system which becomes a headache to...

16 replies - 6710 views - 01/09/12 by Kief Morris in Articles

Maven: great idea, poor implementation (Part 2)

In my previous post I explained why Maven is a good concept for Java project builds. In this post I'll delve into a key area where it falls down, the overcomplexity of its configuration. In brief, we have a proliferation of home-brewed build systems created...

4 replies - 6736 views - 01/09/12 by Kief Morris in Articles

Maven: great idea, poor implementation (Part 1)

I've been building Java software using Ant for over 10 years. I've been giving Maven a try every few years since it first came out, and going back to Ant pretty quickly each time, until last year. Early last year I used Maven on a few smallish - pretty...

5 replies - 8876 views - 01/09/12 by Kief Morris in Articles

Ant vs. Maven: An Entertaining Look at the Arguments

There are many ways to organise build systems for Java projects. The two most predominant are probably still Ant and Maven.  Debates between the two tend to go around in circles with the balance now swinging towards maven - since IDE support has got...

10 replies - 7023 views - 12/08/11 by Alex Staveley in Articles

From Dev to DevOps with Maven and Puppet

Maven is an open source tool that you may not have thought of as a 'DevOps tool', but that's pretty much what it is for the development department.  It's used in development, project standardization and automation which ties nicely into other open source...

0 replies - 3105 views - 11/16/11 by Mitchell Pronsc... in Articles

Exporting MAVEN_OPTS not working for Freestyle Jenkins Projects

I’m running Jenkins version 1.428 and I have a “Freestyle” project. The aim of this project is to upload a large tar.gz file to an artifactory repository. The team are using Maven so we started out by looking at using Maven to do the deployment. It...

0 replies - 1940 views - 11/10/11 by James Betteley in Articles

Securing a RESTful Web Service with Spring Security 3.1, part 3

This is the third of a series of articles about setting up a secure RESTful Web Service using Spring 3.1 and Spring Security 3.1 with Java based configuration. This article will focus on the security configuration using Spring Security 3.1, assuming some...

0 replies - 3400 views - 11/09/11 by Eugen Paraschiv in Articles

A Free EC2 Cloud Server With Ubuntu, Jenkins And Sonar.

IntroductionThis example shows you how to create a free Amazon EC2 cloud based continuous integration and testing environment on Ubuntu.  This is a low power server but it is useful for infrequent use. I personally tend to recommend Cloudbees,  but this is...

0 replies - 4227 views - 10/29/11 by John Dobie in Articles

Skinny WAR done right

In a previous post, I wrote about how to create skinny WAR with Maven the DRY way: it was not the DRYier way to do it, as was demonstrated to me this week by my colleague Olivier Chapiteau (credit where credit is due). His solution is far more elegant; it...

0 replies - 2869 views - 09/07/11 by Nicolas Frankel in Articles

Release of JUnit-DynamicSuite (0.2.0) (A Suite to filter JUnit 4.x Tests dynamically)

Did you ever have the problem that you only wanted to run certain unit tests from a directory in JUnit? For example you might want to run fast running Tests only or skip integration tests ending with "ITCase". Some IDEs do have good support for...

2 replies - 1022 views - 07/20/11 by Christof Schoell in Announcements

CloudBees and JFrog collaboration offers Artifactory as part of the Ecosystem One-Click Cloud Services!

It was just natural resault of the strong Jenkins - Artifactory integration.

0 replies - 1379 views - 07/07/11 by Shlomi Ben-haim in Announcements

Maven Release Plugin and Continuous Delivery

I was setting up a Continuous Delivery system using Maven as the build tool, Perforce as the SCM and Go (ThoughtWorks’ CI system). All was going perfectly well until I got to the point when I no longer wanted to make snapshot builds… The idea behind my...

7 replies - 6298 views - 07/07/11 by James Betteley in News

Creating a WebSocket-Chat-Application with Jetty and Glassfish

This article describes how to create a simple HTML5 chat application using WebSockets to connect to a Java back-end. I decided to include a Jetty 8 and a GlassFish 3.1 example to demonstrate the current approaches for server side WebSocket implementations....

9 replies - 14889 views - 07/01/11 by Andy Moncsek in Articles

Moving from Ant to Maven: Best Practices with Maven Plugins

I would like to share my experience of moving from "our reinventing wheel" of Ant build scripts to Maven standard.  I reworked some apps which have following characteristics:

5 replies - 4053 views - 06/29/11 by Lofi Dewanto in Articles