Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
34 views

How to find all the dependencies for my Java project [duplicate]

I am working on reducing the build size of a large project to deploy it. The developers have decided to include a lot of jar files in the dependency folder, some of them not even being used. (haha ...
Hasan Tariq's user avatar
0 votes
0 answers
24 views

Want to use active choice parameter value in Root POM path in Jenkins

I have a job in Jenkins consisting of multiple maven projects and their respective pom.xml file. By giving active choice parameter value in root POM path user can select which project to run. My ...
Somesh Maggo's user avatar
0 votes
0 answers
19 views

separate frontend and backend from spring boot project

Now I have a spring boot project, I have added the frontend (nextJS) in the root directory project-root/ |-- frontend/ |--|-- out/ |--|src/ |--|-- main/ |-- pom.xml when I compile the war file, it ...
mrsamsam555's user avatar
1 vote
0 answers
38 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 ...
Ismael J. Varela's user avatar
0 votes
0 answers
17 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 <...
Akshara Prasad's user avatar
1 vote
1 answer
44 views

Can `${...}` properties appear in the `<parent>` section of a POM file?

Maven's POM reference says that property values "are accessible anywhere within a POM". But that can't possibly be 100% true. The resolved value of a property depends on the POM's parent, so ...
Calvin's user avatar
  • 2,912
0 votes
0 answers
39 views

Change Maven Repository Order

Our enterprise team maintains a settings.xml file that defines various repositories that development teams can use with Maven to build their artifacts. <repositories> <repository> ...
jjcie's user avatar
  • 1
-1 votes
1 answer
44 views

Cannot find spring-boot-starter-oauth2-client no matter the version

I am trying to import the spring-boot-start-oauth2-client into my pom.xml. I have tried using different versions and no matter which version I use, this error pops up: Dependency 'org.springframework....
AppleDev3's user avatar
0 votes
1 answer
39 views

Unable to update the maven-core dependency version within the plugin maven-compiler-plugin

I'm trying to resolve a vulnerability (CVE-2021-26291) related to the dependency maven-core version 3.2.5, which is being pulled in by the build plugin maven-compiler-plugin version 3.12.1. I tried ...
Nicola Cortese's user avatar
0 votes
1 answer
28 views

java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet on tomcat 10.1 maven project [duplicate]

I am creating maven web project with Spring configuration I added the jakarta.servlet-api Dependency in pox.xml as below <dependency> <groupId>jakarta.servlet</groupId> <...
Ashhh's user avatar
  • 1
0 votes
1 answer
38 views

NoClassDefFound Could not initialize class org.appformer.maven.integration.embedder.MavenSettings$SettingsHolder

When I upgraded the dependency org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1, I started getting the error below when the method kieBuilder.buildAll(); gets executed. Error: NoClassDefFound ...
MA1's user avatar
  • 1,002
0 votes
0 answers
32 views

Run tests from different Maven projects

I have a microservice repo and also a separate 'common-tests' repo which contains testNG tests that I would like to re-use across different microservices. (both packaged in Maven). In CI for my ...
David Kelleher's user avatar
1 vote
1 answer
51 views

Maven transitive dependency shows older version even though parent package is updated within dependencyManagement

I have the following POM (not the complete file): <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>11</maven....
user6952691's user avatar
0 votes
1 answer
48 views

lionbridge-connector on Azure Artifacts gives Dependency Error

I'm trying to migrate our Maven artifacts from Nexus to Azure Artifacts, but I've run into a problem due to the "lionbridge-connector.all.author" artefact. This artefact is zip archive, ...
Cristian Mocofanescu's user avatar
0 votes
0 answers
60 views

Failed to Acquire Lock Downloading Maven Dependancy

I have this single project dependandcy and every time it tries to download it it downloads stuff for about 2 minutes and then fails with just "Could not acquire lock(s)" <dependencies&...
QueenMaddii's user avatar

15 30 50 per page
1
2 3 4 5
282