Category "maven"

How to get all the dependencies of Maven packages

To start off, I am still a student and trying to learn things, but I am quite stuck on how to get all the dependencies of each package from Maven. Initially, I

Debugging Github Packages repository connection in Gradle

I have set up a private project in Github that has some Maven packages. I can browse to them on the Github web site. By following the directions here I have set

Gradle cannot find Spring Boot 3.0.0-M1

I'm not sure how to debug this or what is wrong at all. I am trying to run this project: https://github.com/spring-projects/spring-security-samples/tree/main/se

Getting 403 while pushing a build to maven central with a different group id

Say my initial group id was com.something.anything. And I was able to deploy the build successfully using the android maven-publish plugin. I already own the do

JavaFX Maven shaded jar fails to open on double click but can run from terminal

This is the Maven shaded plugin I'm using in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mav

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