5,245
questions
0
votes
0
answers
12
views
Maven - Generate maven-metadata.xml for each child project
Giving a maven multi-modules project, how can we run mvn deploy to generate maven-metadata.xml for each sub project and not only for the parent project ?
--> Project_A
----> project_a_1
----> ...
0
votes
0
answers
29
views
Build failing from child module with Maven multi-module setup with dynamic revision
I am trying to utilize maven multi-module setup with dynamic revision, so that version of all the children modules can be managed centrally.
I have uploaded the project here:
When I execute maven ...
-1
votes
0
answers
13
views
Maven mirrors and repositories' update policy
How can I share my repository's update policy with the repository used as a mirror.
<mirrors>
<mirror>
<mirrorOf>central</mirrorOf>
<id>...
0
votes
0
answers
28
views
maven-failsafe-plugin starts test from wrong classpath
I have multimodule project where in child pom I have traditional maven-failsafe-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-...
0
votes
0
answers
16
views
How to resolve MojoExecutionException after I tried to run this cmnd "mvn spring-boot:run"?
After mvn clean install was sucessful and I tried to run it using cmd "mvn spring-boot:run" and faced some errors. Pasted the error stack and the pom file details below. Also I tried ...
1
vote
1
answer
109
views
Maven command not working correctly on machine
So, I've been writing unit tests for some code, and I noticed they don't run correctly when I run Maven commands. I don't even get an error. It returns a whole bunch of lines. It seems it's looking ...
0
votes
1
answer
40
views
Error occurred during initialization of boot layer:Stream 'Caused by: java.lang.module.InvalidModuleDescriptorException: Package not found in module'
I have a project which I am now working on after having it laying around for some time using Java 17 and maven. During compiling the project I got the following error message:
[INFO] --- surefire:3.5....
0
votes
1
answer
33
views
OutOfMemory Exception when building Java 8 project IntelliJ, but works fine with Maven
I have a Java 8 project in intellij. When I build the project using Maven (clean compile verify), it works fine. However, when I try to build the project using IntelliJ's "Build Project" ...
0
votes
1
answer
46
views
Determine which dependency is causing vulnerable jackson-databind jar to be cached in maven repo
Currently getting a vulnerable version of jackson-databind showing up in maven cache of our dev machines/build server, and being flagged on a security scan. By trial and error, I have found the ...
0
votes
0
answers
16
views
Gradle quivalent to Maven's mvn dependency:purge-local-repository
Is there any Gradle command equivalent to Maven's mvn dependency:purge-local-repository, i.e. that reimports dependencies recursively and refreshes the Maven libraries referred in the project pom?
0
votes
0
answers
47
views
MULE Custom connector With JAVA 11 Build failure
I am trying develop a Mule 4.x custom connector using JAVA Mule SDk.
The connector for which I am trying is build is only supporting JAVA 11 at the moment .Thus when I am trying to build the it via ...
0
votes
0
answers
47
views
JBoss EAP 6.4 End to End HelloWorld RMI Example Not Working
What I tried already is having a simple HelloWorld application that has also java client code to try and invoke the session bean deployed in JBoss EAP 6.4 as shown in the details below but I couldn't ...
0
votes
1
answer
44
views
Build separate artifacts for child modules in multi-module Maven project
I was wondering what the best practices are on creating separate artifacts for child modules in a multi-module Maven Spring Boot project. So let's say you have one project (operators), one root pom....
0
votes
1
answer
71
views
Customize maven build cache configuration for submodule
Is there a way to overwrite the maven build cache configuration for a submodule in a multi-module project?
If we assume a project with structure
cool-software-main
cool-software-module-A
cool-...
0
votes
0
answers
22
views
Maven Multiple Repository Issue
I am trying to configure Maven settings.xml file and the project's pom.xml. The gist of my pom.xml currently looks like:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="...