Category "maven"

War file does not work with maven complier source 17

I am using JDK 17.0.3 in eclipse (2022-04). below is my pom.xml <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org

How to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven (Problem Continues)

one can say that, it is a continuation of questionHow to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven I am updating my old li

how to add external file to maven package output jar during runtime?

I have a spring maven project. In that Project (root folder), I have folder called config which contains multiple folder like t1, t2, t3 etc, Inside of each fol

How can I add dependency configuration in gradle

So I'm trying to convert this maven configuration to gradle <plugin> <groupId>io.axoniq</groupId> <artifact

maven-enforcer-plugin False Positive RequireJavaVersion

I'm new to a project and the project is using the maven-enforcer-plugin. The plugin (version 3.0.0) is configured to require Java 11 <requireJavaVersion>

How to change the version of a dependency during test execution to test binary compatibility with maven?

I'm currently working on a dbunit extension library. Thus this library depends on dbunit. I extracted the version as a maven property. <properties> &l

maven-enforcer-plugin False Positive RequireJavaVersion

I'm new to a project and the project is using the maven-enforcer-plugin. The plugin (version 3.0.0) is configured to require Java 11 <requireJavaVersion>

Failed to deduce bean type for org.springframework.boot.actuate.autoconfigure.metrics.JvmMetricsAutoConfiguration.jvmHeapPressureMetrics

I am trying to upgrade Spring-boot from 2.2.5.RELEASE to 2.6.6 and I am encountering few issues with spring-boot-starter-actuator dependency. This service runs

com.google.guava version upgrade from 20.0 to 30.0-jre

we are working on spring3 application so due to veracode issues i am trying to upgrade library com.google.guava 20.0 to 30.0-jre, getting below errors Error : 2

build spring boot (mvnw) with docker can not use cache

Spring Boot Docker Experimental Features Docker 18.06 comes with some “experimental” features, including a way to cache build dependencies. To switc

Create XML file from Maven

There are many Maven plugins for file manipulation, filtering, copying etc. But is there also a way to create a new XML file from Maven (without creating my own

Java Maven - CVE-2017-1000487 on plexus-utils-2.0.4.jar plexus-utils-3.0.10.jar

Small question regarding Java and maven please. With a very simple project, reproducible 100%, with just this code snippet (please feel free to copy paste) <

What is the way around this error "java.lang.RuntimeException: PowerMock internal error: Should never throw exception at this level"

java.lang.RuntimeException: PowerMock internal error: Should never throw exception at this level at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44R

Repeatedly getting "PKIX path building failed" and "unable to find valid certification path to requested target"

I have been facing this annoying issue of certificate during mvn clean install execution. PS C:\Users\milan\service> mvn clean install [INFO] Scanning for pr

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

Eclipse Terminal Not Updating / Weird Behaviour

I am using Eclipse (Theme = DevStyle) for Development of Java Maven Projects. When working within Eclipse with a Windows Terminal there's very weird behaviour,

"no main manifest attribute" in .jar Netbeans 13

I recently just started toying around with Maven in java. Time comes to test my project, it works fine in the NetBeans window, running the main class found in A

While running build on Teamcity getting below error base dir does not exist

java.lang.IllegalStateException basedir does not exist. While packaging the application using maven

Moving dependencies from pom to properties file

is there any way to moving dependencies from pom.xml to application.properties file? <dependency> <groupId>org.postgresql</groupId>