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,958
questions
0
votes
0
answers
47
views
Migration from Artifactory to GCP artifact registry
I want to migrate our huge maven artifacts repository to the artifact registry on Google's cloud platform.
The process seems is long, and manual upload of each artifact to the maven repo on GCP is ...
-1
votes
0
answers
42
views
When running the main class using mvn exec:java, classes in rt.jar are not referenced
My java version is 8.0.372-zulu/zulu-8, maven version is 3.6.0
I have a problem that really bothers me.
I set up a maven project and use apache poi to process excel.
The code is simple as I just ...
0
votes
0
answers
38
views
Issues with Routing on Tomcat with Spring Boot and React Application
I'm facing an issue with routing on Tomcat. I'm receiving a ready-made .war file which contains the built files from a React app located in the resources/static folder.
After rebuilding with Maven, I ...
-2
votes
1
answer
31
views
Issue in spring-boot war startup in external tomcat due to unwanted spring jar
I am trying to run an spring-boot web application war file in external tomcat where many other applications (Spring and not spring-boot) are already running. There are some dependencies at some shared ...
0
votes
0
answers
11
views
Building Apache Zeppelin 0.11.1 without all interpreters
I'm trying to build tar.gz package of the Apache Zeppelin, version 0.11.1, with very minimal modules but when I check in the package I see all interpreters added and this makes tar.gz very fat.
My ...
0
votes
1
answer
68
views
Hot Reload/Hot Deployment in Tomcat using VS Code
I'm trying to enable hot reload for tomcat using vs code. Since "tomcat for java" extension has been deprecated which makes me use "community server connectors" extension in vs ...
0
votes
0
answers
18
views
How can I warn users when they download an outdated jar from my maven repository in gradle?
Essentially, I'm looking for a way to output a warning message to gradle when a user has a dependency on one of my older jars from my maven repository. Is this even possible?
Eg: "You've ...
0
votes
0
answers
24
views
maven dependency tree verbose - version managed with same version
Following up on this question:
maven dependency tree - version managed
What if the 2 dependencies stated have the same version?
For example, taking the example from above -
[INFO] | | \- xalan:xalan:...
-2
votes
0
answers
39
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 ...
1
vote
0
answers
44
views
IntelliJ idea closing and reopening my java project
I had a new installation of Intellij in macOS using m1 architecture and when I open my java project (spring boot/maven stack) the root folder are hidden/show every time.
Soons like some maven build ...
1
vote
1
answer
69
views
Spring Boot: Error 404 when accessing localhost endpoint
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
13
views
Debug kotlin in spring boot maven java
https://github.com/fwcd/vscode-kotlin/issues/154
Can i debug kotlin (vscode) in spring boot maven java (i only use kotlin build controller)
can debug kotlin when run app java , i want when run spring ...
0
votes
1
answer
22
views
Adding dcm4che 5 library to Java project using IntelliJ and Maven
To preface - I'm a python dev, but I wanted to do some testing using Java. I've taken a few classes on Java at WGU, but I'm having an issue with getting a certain dependency installed and I'm thinking ...
0
votes
0
answers
77
views
How can I resolve CVE-2023-2976 & CVE-2023-1370 vulnerabilities in Maven guava:31.1-jre & json-smart:2.4.7 while using spring-data-commons:3.3.1?
I recently discovered CVE-2023-2976 & CVE-2023-1370 vulnerabilities in my project. According to my SCA tool, these vulnerabilities stem from my use of guava:31.1-jre and json-smart:2.4.7. I could ...
0
votes
1
answer
19
views
package org.apache.tools.ant.util does not exist
I am trying to wrap an Ant Prjoect in Maven using the maven-antrun-plugin.
This is my Plugin config
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<...