My experience with Java, Groovy, Grails, Python and more.
  • Home

maven

A collection of 9 posts

maven

Maven and Hibernate hell.

I am a Maven newbie and wanted to setup an example Maven + Spring + Hibernate + Mockito project. I have been fairly successful at that but not without my struggles with Maven. Here is my

  • Ravi Hasija
    Ravi Hasija
3 min read
maven

Maven: Add Mockito Dependency.

Adding Mockito dependency to your project is pretty simple. Simply add the dependencies below to your pom.xml. NOTE: You will need JUnit version 4.4 or earlier. I couldn't get Mockito to

  • Ravi Hasija
    Ravi Hasija
1 min read
maven

Maven: Add Spring dependencies and Spring MVC your project

To enable Spring and Spring MVC modules in your maven project, follow the steps below 1: Add Spring related dependencies. The dependencies below will get all the rest of the transitive dependencies. <

  • Ravi Hasija
    Ravi Hasija
2 min read
maven

Maven and Spring Enterprise Bundle Repository (in settings.xml)

There is this very informative article about Maven and adding Spring dependencies to your project here. But I was not able to add the repositories below to my pom.xml and be able

  • Ravi Hasija
    Ravi Hasija
1 min read
maven

Maven: Add JBoss Maven repository as your alternate remote repository.

Hibernate publishes its artifacts to the JBoss Maven Repository under the org.hibernate groupId/namespace. To setup Maven to access JBoss Maven Repository follow the steps here. This will add the JBoss Maven

  • Ravi Hasija
    Ravi Hasija
1 min read
maven

Maven: Make project IntelliJ Idea/Eclipse ready

With Maven it is pretty simple to make a project importable into IntelliJ Idea/Eclipse/Netbeans IDE. In this post I will cover IntelliJ Idea and Eclipse only. For IntelliJ Idea: The easiest

  • Ravi Hasija
    Ravi Hasija
2 min read
maven

Maven, Spring MVC, Hibernate and Mockito

In this 8 part series, I will cover how to create a simple Maven Web project, and then add Hibernate, Spring MVC and Mockito dependencies. I am assuming you have Maven installed. If

  • Ravi Hasija
    Ravi Hasija
1 min read
maven

Maven, Grails, GWT and Spring MVC.

Maven has this concept of archetypes, which are in simple terms pre-configured or pre-setup projects for different technologies like GWT, Grails, Scala, Wicket etc. So what you are getting is Maven's goodness sprinkled

  • Ravi Hasija
    Ravi Hasija
1 min read
maven

My journey through Maven - 1

Recently I was at the Tampa Java Users Group (Tampa JUG) for a presentation on Maven. Although, I was introduced to Maven once earlier while working at Pentaho, this presentation was more "

  • Ravi Hasija
    Ravi Hasija
1 min read
My experience with Java, Groovy, Grails, Python and more. © 2025
Latest Posts Ghost