Top "Pom.xml" questions

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

Maven: How do I activate a profile from command line?

This is a snippet from my pom.xml. I tried the following, but the profile was not activated. mvn clean …

maven pom.xml
Maven and Spring Boot - non resolvable parent pom - repo.spring.io (Unknown host)

I am trying to build my project but I get this: Non-resolvable parent POM: Could not transfer artifact org.springframework.…

spring maven spring-boot pom.xml parent-pom
"Non-resolvable parent POM: Could not transfer artifact" when trying to refer to a parent pom from a child pom with ${parent.groupid}

I'm following a tutorial for maven. I have a very simple project with a couple of modules inside. On the …

maven pom.xml parent-pom
The POM for project is missing, no dependency information available

Background Trying to add a Java library to the local Maven repository using a clean install of Apache Maven 3.1.0, with …

java maven build compilation pom.xml
What does mvn install in maven exactly do

I just started using Maven and I was told to do mvn install in a specific directory. What does mvn …

java maven pom.xml
.m2 , settings.xml in Ubuntu

In the windows environment you will have .m2 folder in C:\Users\user_name location and you will copy your …

java linux maven ubuntu pom.xml
Is there anyway to exclude artifacts inherited from a parent POM?

Artifacts from dependencies can be excluded by declaring an <exclusions> element inside a <dependency> But in …

java maven-2 pom.xml
Maven:Non-resolvable parent POM and 'parent.relativePath' points at wrong local POM

I am using maven 3 to run the application but I am getting the following error: [ERROR] The build could not …

maven build maven-2 pom.xml parent-pom
Non-resolvable parent POM using Maven 3.0.3 and relativePath notation

After migrating to Mavent 3.0.3 Parent poms in several Projects cannot be resolved anymore. The Projects are structured in a default …

maven-3 pom.xml
Non-resolvable parent POM for Could not find artifact and 'parent.relativePath' points at wrong local POM

I am new to maven. I have one project which I try to build with the maven3. When I run …

build maven-3 packaging pom.xml