Top "Pom.xml" questions

A Project Object Model or POM is the fundamental unit of work in Maven.

Maven adding mainClass in pom.xml with the right folder path

I want to get a working jar file with my maven project. The build part is: <build> <…

java xml maven pom.xml mainclass
Where do CSS and JavaScript files go in a Maven web app project?

I am switching to use Maven for my Spring web app projects and I am running into a simple issue. …

css maven pom.xml
Eclipse: The archive which is referenced by the classpath, does not exist

My Eclipse is Indigo Java classic. I have a java project which has mockito-all as a dependency. pom.xml: <…

java eclipse maven pom.xml
How to include a config file in the "META-INF/services" folder of a JAR using Maven

I'm working on a Java project in Eclipse, which is built using Maven. I'm using some recycled code from an …

java eclipse maven pom.xml
How to pass java code a parameter from maven for testing

I need to pass on following values … exeEvironment (Test environment) , testGroup (Group in testNG) from Command-Line -> POM -&…

maven command-line testng pom.xml surefire
What is the difference between "pom" type dependency with scope "import" and without "import"?

Starting from Maven 2.0.9 there is possibility to include <type>pom</type> <scope>import</…

java maven dependencies pom.xml
Remove or delete resource files from target directory using pom file

I have two profiles in pom.xml, and I have some resource files which I have added into target resource …

maven pom.xml
Plugins in Maven and POM.xml

I just started using Maven and I read that plugins are additional components that can be used. A typical structure …

java maven maven-3 pom.xml maven-plugin
Maven Dependencies Eclipse

I added the below depdencies in my pom <dependency> <artifactId>richfaces-api</artifactId> <groupId&…

java maven richfaces pom.xml
Maven cannot resolve dependency for module in same multi-module project

When running commands such as mvn dependency:build-classpath or mvn exec:java Maven is unable to resolve a dependency of …

java maven jar classpath pom.xml