Questions tagged [maven]
Apache Maven is a build automation and project management tool used primarily for Java projects. This tag is for questions that don't relate to a specific Maven version. Use the gradle tag instead for questions relating to Gradle.
maven
88,934
questions
0
votes
1
answer
24
views
How to add a maven dependency in gradle 8.x
My react-native android project is running on Gradle v8.3. I have files like settings.gradle and build.gradle in my android project.
The problem I'm having is when I try to implement PendoSDK for ...
-1
votes
0
answers
14
views
Eclipse IDE in MacOS: how to set an environment variable from an AWS CLI execution? (for setting AWS Code Artifact Token)
I'm trying to use our AWS Code Artifact as Maven repository. That repo is set up to authenticate via a token, which expires every 24 hours. The token is retrieved from AWS via its CLI using aws ...
-2
votes
0
answers
29
views
Maven cannot build a JAR file
I was making a minecraft plugin these last two days and every day at 00:00 in my time maven just stops working like it was. I don't really know if it's cause the time, but this happend to me twice ~at ...
1
vote
0
answers
14
views
M2E in Eclipse (Maven Integration): how to see actual Maven output and customize builds?
I might be missing something fundamental here, but if I need to debug a Maven Project in Eclipse, I'm used to simply select Project -> Clean or Build Project, then look to the Errors view to find ...
0
votes
0
answers
33
views
Why are tests running successfully when running as Junit test but when building the pom file, there are test failures and build failure?
I dont have any error and tests run successfully when its run as Junit. But on Building that project's pom, the following error is coming and the build is being failed because of these test failure.
...
0
votes
0
answers
22
views
When i am. trying to run spring intializr using ./mvnw spring-boot:run. it showing the error
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.2:run (default-cli) on project initializr: Unable to find a suitable main class, please add a 'mainClass' property -...
-2
votes
0
answers
22
views
Creating a jenkins plugin for adding custom build parameters [closed]
I am new to jenkins, java and maven.
But i need to create a jenkins plugin to add some required string fields to build parameters and those should be accessible through environment variables as other ...
1
vote
0
answers
7
views
create executable jar of karate testSuite , features are present src/test/java (maven project ) [duplicate]
I want to create an executable jar of my karate test suite created with maven.so that I can run the testcases directly using the jar .The testcases are present in src/test/java and some required ...
-1
votes
0
answers
42
views
What is .info file and is it related to maven? [closed]
I took over a project from a previous developer. This is a maven project and in its resource folder there is a version.info file. Inside there is
info.buildVersion = ${project.version}
I have never ...
1
vote
0
answers
33
views
How can I add all jar files from my lib folder to my maven project? [duplicate]
I have many maven projects packaged as Jar files and I need those projects that interact with each other to be available in my web project which is also a maven project.
I need the classes inside ...
0
votes
0
answers
44
views
Cucumber maven <rerunFailingTestsCount>1</rerunFailingTestsCount> does not rerun failed tests and does not create report file
could you tell me what are required dependencies to make cucumber reporting plugin working when I want to rerun failed tests ? I am using in my project the following dependencies. Could you tell me ...
0
votes
2
answers
53
views
Log4j2 No inject constructor error when launching through java.exe
I have a program in java made through maven and packaged with assembly into a single jar with all the dependencies. I need to run this in docker so I need to be able to launch it with java.exe. The ...
0
votes
1
answer
82
views
Why does my IntelliJ say that there's an error in my pom.xml?
Recently I added a pom.xml file to my java project in IntelliJ IDEA and I then made it into a Maven project. Though when I opened the pom.xml back again with IntelliJ, I saw 2 errors at "project&...
2
votes
1
answer
82
views
maven dependency not found with Java FX 19 on Eclipse 2024-06 but not earlier
I have the following issue with Eclipse 2024-06: A project that references
<dependencies>
<!-- Java FX -->
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-...
1
vote
1
answer
16
views
Make frontend maven plugin install node_modules in the same directory as the package.json, NOT in a /node directory
How it works currently:
During the generate-resource phase of the Maven build, the frontend Maven plugin installs all the dependencies in the /node directory created in the working directory specified ...