Top "Maven-2" questions

Apache Maven is a software project management and comprehension tool.

Can't instantiate javax.servlet.ServletException

I am trying to create instance of class javax.servlet.ServletException with following code public class MyTroubleViewer { public static void …

java maven-2 servlets jakarta-ee java-ee-6
Eclipse Maven web application - can not run on server anymore

I have an maven eclipse webapp project that I was able to right click and 'Run on server' and it …

eclipse maven-2 web-applications m2eclipse eclipse-wtp
Running single test class or group with Surefire and TestNG

I want to run single test class from command line using Maven and TestNG Things that doesn't work: mvn -Dtest=…

java unit-testing maven-2 testng surefire
How to force Maven to download maven-metadata.xml from the central repository?

What I want to do is to force Maven to download the 'maven-metadata.xml' for each artifact that I have …

java maven-2 maven-metadata
Maven Assembly Plugin is not setting the MainClass manifest setting

I have a maven project which generates a jar via the maven assembly plugin I want to run as a …

maven-2 maven-assembly-plugin
How to check pom.xml for updated dependencies

I am fairly new to Maven and pom.xml. Is there a way I can find out which of my …

maven maven-2 dependency-management
In what maven2 repository can Google Guice be found?

As far as I understand Google Guice 2.0 is out not so long ago. But I see that central repo still …

maven-2 repository guice
How to make maven place all jars common to wars inside the same EAR to EAR root?

We have a solution with numerous wars. Wars are similar in the sense they all use hibernate and spring. This …

maven-2 dependencies package war ear
JPA 2.0 API maven artifact

I am using JPA 2.0 and my persistence provider is Hibernate; however, I'd like to just include a standard API from …

maven-2 jpa-2.0
maven-assembly-plugin doesn't add dependencies with system scope

This is my pom file: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" …

maven-2 maven-assembly-plugin