Skip to main content

All Questions

Tagged with
-1 votes
0 answers
36 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 ...
Nkiru Ede's user avatar
0 votes
0 answers
25 views

Maven test pass, but with install tests fail

I'm using maven, liquibase in project and spock with groovy to test java code. Normally my tests pass, but when I'm using packaging/install then tests fails with error of spring context initializing ...
Cezary's user avatar
  • 35
0 votes
0 answers
24 views

How to use @org.apache.maven.plugins.annotations.Parameter in not-mojo object with maven plugin

I know that @Parameter can be used directly in mojo, and I know that the documentation of @Parameter says Beans injected into Mojo parameters are prepared by Sisu JSR330-based container: this ...
xmcx's user avatar
  • 313
0 votes
0 answers
34 views

MojoFailureException maven pom.xml error caused by plugin or dependencies

I've tried to make a maven project. But every time I try to start my build it gives me an error in the console. I'm pretty sure this is a plugin/dependencies error. But I'm still learning so I may be ...
EBJ EBJ's user avatar
0 votes
0 answers
32 views

Dependency 'org.mapstruct:mapstruct:1.6.0.Beta2' not found

I have added the mapstruct dependency: <dependency> <groupId>org.mapstruct</groupId> <artifactId>mapstruct</artifactId> <version>1.6.0.Beta2</version&...
LadyD's user avatar
  • 1
0 votes
0 answers
56 views

MavenProject coming null inside ITestContext

My end goal here is to read all pom.xml from different modules from a custom Testng listener which is present in one IntegrationTests module. Expected behavior iTestContext.getAttribute("maven....
Mehul Parmar's user avatar
-1 votes
0 answers
47 views

Exception during checkstyle execution

Code always fails with below checkstyle error , i tried to reformat multiple ways but couldn't succeed. I tried suggestions to add some additional puppycrawl dependencies , but i couldn't succeed . I ...
santosh jk's user avatar
-1 votes
1 answer
56 views

Custom Maven plugin: How to process FileSet?

I am developing my custom maven plugin. One of the parameters this plugin shall receive is a fileset. Here's a snippet from the plugin itself: @Parameter private FileSet[] filesets; It compiles well ...
queeg's user avatar
  • 8,894
0 votes
0 answers
24 views

How to replace the direct dependency `A` with all transitive dependencies of `A` in the artifact pom.xml?

I have a maven project named A which is dependent on artifacts B and C, I want to generate a thin jar which will have only the classes of A, B and C from project A with As pom. I can do this using ...
Naveen Kumar's user avatar
0 votes
0 answers
24 views

Maven assembly plugin with multi-module spring-boot

I've this multi module spring-boot project -- module_1 -- pom.xml -- module_2 -- pom.xml -- pom.xml module 2 has a dependency on module 1 with mvn package the jar file is created into ...
gekomad's user avatar
  • 565
0 votes
0 answers
25 views

Fix missing POM warning for an undeclared version

While running the maven project, my maven enforcer plugin gives a warning like the below, but I haven't declared that particular version. How to solve this ? [WARNING] The POM for com.amazonaws:aws-...
vistechie's user avatar
0 votes
0 answers
77 views

How to fix Maven compilation error in GitLab CI/CD pipeline?

I'm trying to configure a GitLab runner for my Maven project. The pipeline fails with a compilation error, though it works fine when run manually via Git Bash. [INFO] Compiling 19 source files to D:\...
Ra kk's user avatar
  • 1
0 votes
0 answers
20 views

Generate a zip file for Maven using the Maven plugin for Gradle

I'm using the Maven plugin for gradle to publish to Sonatype's Maven repository. In the past I just used one of the gradle tasks to publish my artifacts. But Sonatype changed their system earlier this ...
Johann's user avatar
  • 29.3k
0 votes
1 answer
169 views

Upgrading spring boot version from 3.2.3 to 3.2.6 making build fail in bamboo giving PluginIncompatibleException

I upgraded spring boot project from 3.2.3 to 3.2.6 It started giving issues in making build in bamboo with PluginIncompatibleException Error is as below: org.apache.maven.cli.MavenCli - Failed to ...
KJ21's user avatar
  • 83
0 votes
0 answers
44 views

Working with protobuf , i am facing this issue mvn protobuf:compile-custom goal

[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile-custom (default) on project automation-utility: protoc did not exit cleanly. Review output for more ...
Yash Shrivastava's user avatar

15 30 50 per page
1
2 3 4 5
175