Skip to main content

All Questions

Tagged with
-1 votes
0 answers
34 views

Maven dependency release dates [closed]

I've noticed that some Maven dependencies have release dates earlier than the components they depend on. I'm investigating the reasons behind this and suspect that the upstream component might have ...
Nkiru Ede's user avatar
0 votes
0 answers
25 views

Maven test pass, but with install tests fail

I'm using maven, liquibase in project and spock with groovy to test java code. Normally my tests pass, but when I'm using packaging/install then tests fails with error of spring context initializing ...
Cezary's user avatar
  • 35
1 vote
0 answers
30 views

jOOQ throws error cannot access java.util.concurrent.Flow with 3.19.10

As the title says, I am unable to build my maven module using jOOQ as a dependency (3.19.10) even after using java version 17 to build my code. The pom.xml file also specifies java 17 as the source ...
Humaid Kidwai's user avatar
1 vote
1 answer
122 views

GitHub Actions Maven Build Failing with "relative path" Error After Dynamic Version Update

I'm working on a project where we use GitHub Actions to automate our Maven build process. We dynamically set the version number in the format projectversion-runID-runNumber, like 8.1.0-9761957358-18. ...
sdanzig's user avatar
  • 4,430
0 votes
0 answers
24 views

How to replace the direct dependency `A` with all transitive dependencies of `A` in the artifact pom.xml?

I have a maven project named A which is dependent on artifacts B and C, I want to generate a thin jar which will have only the classes of A, B and C from project A with As pom. I can do this using ...
Naveen Kumar's user avatar
0 votes
1 answer
31 views

Maven ${project.version} scope

I have parent pom with dependency management declared by ${project.version}. Then I inherit parent in my target project, this project has other version than parent. This throws errors, because of ...
Cezary's user avatar
  • 35
-1 votes
1 answer
25 views

Extract required libraries using maven assembly plugin

I have a maven project that works fine so far, but building an executable JAR gives me a problem I could not solve so far. This question here: Why is my .jar file running slower than the program in ...
BitMaster48's user avatar
0 votes
0 answers
14 views

maven dependency:list-classes transitive not working with tar.gz dependencies

I want to be able to get a list of all classes that an artifact depends on. The maven-dependency-plugin goal list-classes with parameter transitive set to true does exactly what I need. Except there ...
Kyle Seaman's user avatar
0 votes
0 answers
27 views

Is there a way to tell maven that dependencies are coming from the same maven project?

I have a multi-module maven project that can be simplified as follow: * root |- moduleA \- moduleB (depending on moduleA) I want to run several commands on the structure of the project, such as mvn ...
Kineolyan's user avatar
  • 733
0 votes
0 answers
27 views

What's the best practice in a Spring Boot 3 project using Gradle Kotlin to publish Maven artifacts of both the fat jar and an openapi json document?

Environment: Spring Boot 3 app written in Kotlin (bootstrapped from https://start.spring.io) Gradle Kotlin 8.7 Requirements: Publish generated openapi json specification as a Maven artifact Publish ...
Matthew Adams's user avatar
1 vote
0 answers
51 views

Tests execution order: JUnit 5 vs Maven Surefire Plugin documentation

I know that tests should not rely on the order in which they are executed but sometimes bad things happen. I have just fixed a Maven project whose tests were passing when executed by Jenkins but not ...
Pino's user avatar
  • 9,073
1 vote
1 answer
35 views

Can't impot ntfy.java package from GitHub Maven repository

I'm trying to use com.github.maheshbabu11.ntfy.java in my project, but Maven can't find it: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile): ...
Pixelcode's user avatar
  • 377
0 votes
1 answer
34 views

multi-module maven project - how to build some of the modules

we have following scenario parent pom contains <packaging>pom</packaging> <modules> <module>mod1</module> <!--<packaging>jar</packaging>--> &...
Vasyl Razinkov's user avatar
0 votes
0 answers
95 views

Error when using CoroutineCrudRepository in Spring Boot 3.2.4

I just created a new Spring Boot project using spring initializr Specification: Project: Maven Language: Kotlin Spring Boot 3.2.4 Project Metadata Group: com.michaelrenops Artifact: demo Name: demo ...
Michael Reno Pratama Setyawan's user avatar
0 votes
0 answers
39 views

Having trouble setting up Maven on MAC OS

I have been trying for the past week to set up maven on my MacBook Pro. I have looked through this forum and tried different solutions however I am still stuck and that is why I am compelled to post ...
Rohani Sharma's user avatar

15 30 50 per page
1
2 3 4 5
203