Category "pom.xml"

Problem with my response in Postman : i keep receiving the response in xml format

I keep receiving my response in xml i dont know why and i want it to be by default json, once i used jackson-dataformat-xml but i delete it and update it the pr

Liquibase using H2 getting Driver class was not specified and MVMap$2 error

When I execute: ./mvnw liquibase:diff I am getting errors: Driver class was not specified and ClassNotFoundException: org.h2.mvstore.MVMap$2: [ERROR] Failed to

maven error: Could not find artifact hosted in private github repository

Iam trying to pull an artifact hosted in github(company's private repo) but it is throwing an error: [INFO] Scanning for projects... [INFO] [INFO] ------------

What is the purpose of dependency management tag in pom.xml?

Can someone please explain what this dependency do under dependency management and after adding it why we don't need to mention version of our dependencies?

What is the purpose of dependency management tag in pom.xml?

Can someone please explain what this dependency do under dependency management and after adding it why we don't need to mention version of our dependencies?

Maven- Getting dependencies from pom file

I need to get all the dependencies of a project, so to my knowledge, everything under <dependencies> ... <dependencies> and <exclusions> ... &

Failed to Build Application Getting Error::No toolchain found for type jdk

I have tried different solution for this but didn't work for me, please see the error log and toolchain.xml file. These are error logs: [INFO] --- maven

Build a jar file from project folder in a specific location of git repository using azure devops

I am having a git repository for my project with a structure as shown below. The structuring is based on the source, all the codes, scripts related to a sourc

Could not transfer artifacts from/to central maven repo when using Spring Framework Cloud

I am trying to create a maven project using Spring Framework Cloud. I defined pom.xml file as below <parent> <groupId>org.springframework.

Could not transfer artifacts from/to central maven repo when using Spring Framework Cloud

I am trying to create a maven project using Spring Framework Cloud. I defined pom.xml file as below <parent> <groupId>org.springframework.

Missing artifact com.fasterxml.jackson.core:jackson-core:jar:1.9.11

I build a maven project and get an error on pom.xml Missing artifact in some dependencies. How can I resolve it?

How to properly remove a dependency in a Maven project

I have a Java Maven project where I have some dependencies defined in the pom.xml file. Recently I decided to move from Junit to TestNG so I deleted the Junit d

Compiling multi module maven projects without installing to local repository

I have a compiling (and packaging) problem in my multi-module maven project. Problem occurs when compiling one of two projects which are siblings and included i

delete target directory in maven during mvn clean phase

I would like to delete target directory from project after performing mvn clean build life cycle. I have observed that after performing mvn clean generated reso

Eclipse -- Testng references non-existing project XXX, launch configuration

When trying to run a test as a TestNG suite, I would get a very cryptic error message saying that TestNG can't launch because it references a non-existant proje

How to install a tagged version (i.e. not a snapshot) of your project locally and not to the maven central?

So I have done mvn release:clean and mvn release:prepare. As a result I have a clean tag on my subversion with the latest version 1.3.3 of my artifact. Now I

how to Use system properties to pass parameters to the runner/maven build

I want to run my test in three different preset resolution: 768x1024, 360x740, 1920x1024 using the existing framework. And I have to use system properties to pa

Microsoft.Playwright.PlaywrightException:Connection closed (connection disposed) - getting this error using PoM Playwright c#, Visual studio 2022

public async Task Test2() { //IPage page=null; LoginPage lpage = new LoginPage(); IPage page = await IPage.loginToApllication("john", "admin", "<&

Maven - /test/classes isn't directory - Error

I'm trying to make mvn clean package in a project that has this pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.or

sbt publish assembly jar with a pom

I am able to build one of my multi-project's jars as a single jar and then publish it How do I publish a fat JAR (JAR with dependencies) using sbt and sbt-relea