Top "Pom.xml" questions

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

How do you specify the Java compiler version in a pom.xml file?

I wrote a maven code on netbeans that has approximately more than 2000 lines. When I compile it on netbeans, everything …

java maven pom.xml
Differences between dependencyManagement and dependencies in Maven

What is the difference between dependencyManagement and dependencies? I have seen the docs at Apache Maven web site. It seems …

maven pom.xml dependency-management
Specify JDK for Maven to use

I am trying to build a Hudson plugin I've modified and it requires jdk1.6. This is fine, but I don't …

maven-2 settings java pom.xml
IntelliJ - Convert a Java project/module into a Maven project/module

I have a project on Bitbucket. Only the sources are committed. To retrieve the project onto a new machine, I …

java maven intellij-idea pom.xml
Maven Out of Memory Build Failure

As of today, my maven compile fails. [INFO] [ERROR] Unexpected [INFO] java.lang.OutOfMemoryError: Java heap space [INFO] at java.…

maven out-of-memory maven-3 pom.xml maven-compiler-plugin
How to refer environment variable in POM.xml?

I am using maven as build tool. I have set an environment variable called env. How can I get access …

java maven environment-variables pom.xml
What is <scope> under <dependency> in pom.xml for?

Looking at documentation http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html, we can see <scope> tag under &…

maven pom.xml
Missing artifact com.microsoft.sqlserver:sqljdbc4:jar:4.0

I am trying to add MS SQL driver dependency in my POM.xml file and the following is the dependency. &…

sql-server spring maven pom.xml
What is pluginManagement in Maven's pom.xml?

This is a snippet of my pom file. .... <plugins> <plugin> <groupId>org.apache.maven.…

java maven build pom.xml maven-dependency-plugin
Error when deploying an artifact in Nexus

Im' getting an error when deploying an artifact in my own repository in a Nexus server: "Failed to deploy artifacts: …

maven deployment pom.xml nexus