Category "maven"

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.

Run Java Selenium tests in Azure DevOps release pipeline

I'm doing a POC for a Java project in an AzureDevops CI/CD pipeline. I created a Maven project that has Selenium tests (TestNG) that run against a demo website

package org.assertj.core.api does not exist

I am getting compilation error while I am trying to install the maven dependencies from my POM.xml. I tried adding and deleting many dependencies but I'm not

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?

Reuse object/property in different stages of a declerative pipeline in Jenkins

We create a new maven build: def rtMaven = Artifactory.newMavenBuild() Now we want to reuse this rtMaven in a different stage than the current one; like in t

Maven: How to fix foreign imports? (in Azure Function)

when I try to start my Azure function locally in Visual Studio Code I get a Maven error as following: [ERROR] Failed to execute goal com.microsoft.azure:azure-f

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

How to resolve a maven dependency with a name that is not compliant with the java 9 module system? [duplicate]

I am trying to build a demo project in java 9 with maven that uses the dependency: <dependency> <groupId>org.apache.spark<

Ways to make maven build faster?

I have a multi module java project. Maven takes almost around 40 secs to build it. I have tried maven with multi threaded builds too by specifying -T and -C arg

How can I specify the directory where to create the project for archetype:generate?

I am using mvn archetype:generate -B ... to generate a maven project. It places the generated project in the current working directory. Can this be customize

resolution will not be reattempted until the update interval of mymaven has elapsed or updates are forced

I have this error: [ERROR] Failed to execute goal on project com.my.cms: Could not resolve dependencies for project com.my.cms.jar:jar:0.0.1-SNAPSHOT: Failed

Run maven deploy without re-running the entire build

I'm working on a multi-branch pipeline for a maven project. I'm trying to follow what the Jenkins docs keep referring to as the standard CI steps, Build, Test,

Forcing jaxb2-maven-plugin to generate setters or constructors

I have a following build configuration. It is working properly, however the problem is in case of generating constructor with all args or generating setters for

Can not resolve symbol "security" in spring boot application

I'm trying to learn Java Spring and doing exactly like here: https://spring.io/guides/gs/securing-web/ But my IDE says "cannot resolve 'security' symbol" while

'mvnw' is not recognized as an internal or external command

I am getting the following, while running 'mvnw' command. How to add maven wrapper to a project? project_root>mvnw 'mvnw' is not recognized as an inter

What's the default value for maven-surefire-plugin's forkedProcessTimeoutInSeconds?

forkedProcessTimeoutInSeconds can be set to 0 in order to prevent forked test VMs from being assumed dead after the specified time. What's the default value for

"The POM for ... is missing, no dependency information available" even though it exists in Maven Repository

Problem: A dependency will not download even though I copied it from the Maven Repository. When I hover over the dependency in Eclipse, it warns: "Maven Missi

Spring Boot, ClassNotDef Error with JaxB, Package -Info.java

I am using AJSC framework in SpringBoot with JaxB implementation. I built the stubs outside the project and copied them inside the project with proper directori

Artifact has not been packaged yet

I am letting Maven copy some dependency files into a specific location for a GWT project. The maven-dependency-plugin does the job and so far it works. The only

Unable to Create Session using org.openqa.selenium.devtools.DevTools.createSession

When I run the sample program below: import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.devtools.D