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,943
questions
0
votes
0
answers
9
views
Importing external packages in Java
I'm trying to import the jbox2d package. I cloned this with the command - git clone https://github.com/jbox2d/jbox2d. I then imported this as a Maven Project.
The test-bed is working fine (even ...
0
votes
0
answers
21
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
15
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
19
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
13
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
22
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
32
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
12
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
28
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
20
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>...
0
votes
0
answers
9
views
failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec, command execution failed, CreateProcess error=193
I am trying to run a spring-boot maven project in local environment.
Build is failing due to error.
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (spec1) on project abc-xyz-...
-1
votes
0
answers
9
views
JaCoCo always generates aggregate report in a non-module project, won't display coverage in Maven Site
I have a single Java 11 library (jar) project whose Maven pom refers to a parent pom for common properties and configuration. There are no submodules and the parent pom doesn't have any submodules. ...
0
votes
0
answers
11
views
cxf-java2ws-plugin:3.3.13 jd11 is not able to generate wsdl issue in classpath configuration
`complete deppendency is taking for classpath -cp for java2ws command , it should take traget/classes folder as classpath
<plugin>
<groupId>org.apache.cxf</...
1
vote
1
answer
40
views
Maven repository lookup order - always try central first
I need to use artifacts from a third-party repo in my project.
Therefore, I add the following to my POM:
<repositories>
<repository>
<id>bunch-of-cowboys</id>
...