Tag Archive
maven
Discover 9 stories with “maven” Tag.

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 hibernate dependency structure in pom.xml. Some
Read More

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 work with higher JUnit versions. Also, I
Read More

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. <dependency> groupid>org.springframework<
Read More

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 to connect with Enterprise Bundle Repository (EBR)
Read More

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 Repository as an additional repository along with
Read More

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 way is to choose: New Module -&
Read More

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 not you can learn how to install
Read More

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 on top of these pre configured project
Read More

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 "what-maven-is?" and "why-maven?". And, then I came across
Read More