Category Archives: Maven

Posts about Maven

Running the Maven Release Plugin with Jenkins

Recently I started to implement our release process in Jenkins. Until then I just ran the release plugin of Maven on my local machine which did the job. As I said we decided to move this task to Jenkins. The … Continue reading

Posted in Jenkins, Maven | Tagged , , , | 2 Comments

Automated deployment with Mule Management Console and Maven

In my opinion a deployment of any application should be as automated as possible to avoid errors due to manual mistakes. This is no different with a Mule ESB application. If you are using the Enterprise Edition of the Mule … Continue reading

Posted in Maven, Mule | Tagged , , , | 2 Comments

Populate your Maven repo with Mule ESB libraries

Update: I recently discovered that the Mule EE libraries are available in a Maven repository. You have to have a Mule EE license to obtain the credentials. More info about it here. This option would make the remainder of the … Continue reading

Posted in Maven, Mule3 | Tagged , , | 1 Comment

Unit testing a Java Hadoop job

In my previous post I showed how to setup a complete Maven based project to create a Hadoop job in Java. Of course it wasn’t complete because it is missing the unit test part :-). In this post I show … Continue reading

Posted in Hadoop, Maven | Tagged , , | 2 Comments

Deploying the WSO2 CAR file with Maven

To deploy my WSO2 Carbon Application aRchive (CAR) file to my WSO2 ESB instance I use this Maven plugin. I couldn’t find a lot of documentation about it but I post here how I use it. I added the following … Continue reading

Posted in Maven, Security, WSO2 ESB | Tagged , , | 4 Comments

Using Maven Jetty plugin

Although I am using Maven since a long time I never used the Jetty plugin until recently. To be able to test a REST client I created a servlet which showed me all incoming parameters and headers with the incoming … Continue reading

Posted in Maven, Web Service | Tagged

Cloning a JAXB object

When you are using Java language to integrate applications you sooner or later will need a XML Binding framework. I have always used JAXB which is very easy to use in combination with Maven and the right plugin. Currently I … Continue reading

Posted in JAXB, Maven | Tagged ,

Generate JAXB classes with Maven based on multiple schema’s

Earlier, we blogged about generating JAXB classes based on XSD files. However, sometimes we need multiple configurations with multiple XSD files. Previous blog posts did not cover this topic, so I thought I’d cover it in a seperate post. The solution … Continue reading

Posted in General, JAXB, Maven | Tagged

Using a WAR module as dependency in Maven

Today I created a Maven module which holds our integration tests. The disadvantage when holding these tests in your ‘normal’ Maven modules is that the tests are fired every time the module is built (by you or your continuous integration … Continue reading

Posted in Maven | Tagged

Side-effects of using Maven3

After attending to Jason van Zyl’s session about Maven3 we decided to start using Maven 3 instead of the 2.2 we were using. Since it is fully backward compatible we made it run without making a change to our pom’s. … Continue reading

Posted in Maven, Technical | Tagged