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,923
questions
0
votes
1
answer
71
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
0
answers
48
views
How to work on JavaFX 19 Projects in Eclipse 2024-06? (shows "maven dependency not found" for Java FX, while earlier versions work)
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
0
answers
9
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 maven build the frontend maven plugin installs all the dependencies in /node directory created in the working directory specified in the ...
0
votes
1
answer
41
views
IntelliJ IDE Cannot Find javax.annotation.processing.Generated Symbol While mvn test Works Correctly
I am having a problem with my project configuration and running the program and unit test. When running with mvn test the JUnit test executes propertly, but when executing from within the IntelliJ IDE,...
0
votes
0
answers
47
views
Importing external packages in Java
I'm trying to import the jbox2d package with import org.jbox2d.*; to my Java project (not a Maven project). I cloned the jbox2d package with the command - git clone https://github.com/jbox2d/jbox2d. I ...
0
votes
0
answers
39
views
Packaging cross-platform Appimages and DEB Packages in Linux missing dependencies
I have a JavaFX Application, and I'm using maven to distribute it. Currently, I first create a runtime image of my program with jlink, and then package it with jpackage.
However, if I package either a ...
-1
votes
1
answer
20
views
Is there any chance to get the vulnerability fixed for spring-web and spring-webmvc version 5.3.37?
Recently I'm migrating spring boot legacy application from spring boot version 1.x to 2.7.x and used spring-web and spring-webmvc artifact with version 5..3.37 which is having 1 vulnerability. I'm ...
0
votes
1
answer
29
views
Robot Framework run command giving issue "[ ERROR ] Suite 'Acceptance' contains no tests or tasks."
I am creating simple Robot framework project in Eclipse from one of the Youtube video (https://www.youtube.com/watch?v=H5LQJttkunQ ).
Project Structure is like:
Automation
|
src
|
test
|
...
0
votes
0
answers
16
views
How to exclude files from running in testResource
Trying to exclude the files in path "/path/to/exclude/" while running the unit test cases in
"path/to/directory" . Unfortunately the following snippet is not working in pom.xml
<...
0
votes
0
answers
13
views
Maven Build Failing with SSLContext Error When Downloading Plugin
I'm trying to execute a Maven build using the following command:
mvn clean install.
I encounter the following error message:
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:3.2.0 or one of ...
-1
votes
0
answers
25
views
Import correctrly maven project from git
I would like to know what is the most correct method to import a maven project into eclipse downloaded with git clone and avoid the problem with the pom.xml and the related paths.
I hope someone can ...
-1
votes
0
answers
40
views
Maven Local Repository Works in IntelliJ but Fails in JAR/EXE
I'm using a local repository for some dependencies in my Maven project. The local repository works fine when I run the project in IntelliJ IDEA. However, when I create a JAR or EXE file and try to run ...
0
votes
0
answers
13
views
Eclipse error when creating new maven project
In my Eclipse IDE I was created and run java programs without any issue, but when I was going to create a new maven project in archetype quickstart 1.1. Project creation stop in 33% and it shows ...
-1
votes
0
answers
34
views
Spring boot: Why am I getting this 404 Error?
Just to give a little background on the project; I'm making a Spring Boot project using Maven. I have a two microservices, one called "products" and one called "config-server" to ...
-1
votes
0
answers
23
views
How do I pass a Java Maven project's version value from the pom.xml to a Bitbucket pipelines YAML file?
I have a Spring Boot Maven Java project. My POM file has a version number property in it of 1.2.3, as seen below:
<project ...>
<modelVersion>#.#.#</modelVersion>
<groupId>...