Category "maven"

Exclude version pattern from renovate

There are several standard Java dependencies that have forks with the same maven coordinates and a "redhat-xxx" suffix in their version number, for example comm

Maven shade plugin does not exclude an artifact

I need to exclude the log4j artifact from the shade plug-in to avoid the log4j vulnerability, however, the exclude tag under artifactSet does not seem to work.

Prevent release artifacts to be overwritten when using s3 to store maven artifacts

We are using Amazon S3 to manage the maven artifacts. Currently, if we do mvn deploy , the release artifacts gets overwritten on Amazon s3. Ideally the release

Getting org.hibernate.HibernateException - Unable to get the default Bean Validation factory

I have a maven project throwing Bean Validation factory error, added below dependencies still issue has not got resolved. Using java 11. <dependency>

Maven Eclipse - Child module not recognized as maven project

I'm working on a new maven multi module project on eclipse. The problem is, the child project is shown as a regular folder and not a maven folder. What's the pr

Maven often doesn't resolve version number for transitive dependencies - "${project.version}"

I've been suffering this problem for a while now and can't figure out what the issue might be. It is intermittent which is why I give it half an hour here and t

How to run JUnit5 suite using the @Suite annotation

I'm trying to figure this out for over a year now but I can't run JUnit5 suites unless I use the JUnit4 @RunWith annotation, which brings me some other issues.

nexus not accepting metadata file upload from maven

I setup a docker nexus with this docker-compose.yml: version: "3" services: nexus: restart: always image: sonatype/nexus3 container_name: nexus

Maven dependency : Failed to get sources. Instead, stub sources have been generated by the disassembler

when i'm navigating to a maven dependency class, i get a .class file with this comment on top and no doc is shown : // Failed to get sources. Instead, stub sour

Error when runnning mvn command to deploy dataflow template

Hi I am running the below code to deploy a dataflow template in GCP. mvn compile exec:java \ -Dexec.mainClass=com.google.cloud.teleport.templates.TextIOT

Java 17 with Maven Wrapper results in Unrecognized VM option 'MaxPermSize=512m'

I use OpenJDK 17 with Maven Wrapper 3.8.2 from Spring Initializr (Maven project, JAR packaging, Java 17, Spring Boot 2.6.0). No additional dependencies. user@D

How can I get the InteractiveMesh library to work with my JavaFX Mavn project?

Im trying to use this importer http://www.interactivemesh.org/models/jfx3dimporter.html to import an STL file as a triangle mesh, i get no errors in the IDE whe

Netbeans (12x)/Maven include and load embedded resources?

Simple question, how to include and load embedded resources from a Maven based project when using Netbeans 12x In a traditional/Ant based project, it's possible

SpringBoot AWS Lambda application deployment issue-Class not found: com.abc.test.TestServiceHandler

Created a Spring boot application using Java 11 and trying to deploy in AWS Lambda. Encountering the following error in AWS Lambda. I see it is an issue with th

How do I get JaCoCo to work with Maven and JUnit 4.11?

I'm having trouble getting JaCoCo to work with Maven. I keep running into either Skipping JaCoCo execution due to missing execution data file. Or The parameter

Maven api pulish with Gradle 7.2

I want to publish an Android in jitpack.io but api dependencies are missing, that's why I use with Gradle 7.2 this project.afterEvaluate { publishing {

openjdk@8 java is loading libcrypto in an unsafe way in macOS Monterey

I'm getting this error when running some mvn test on my Java application in macOS Monterey WARNING: /usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Co

maven-assembly-plugin run multiple times, configure to run only once

Small question regarding maven-assembly-plugin please. I am currently configuring as follow: <plugin> <groupId>org.apache.maven.

Why maven is not able to download "SNAPSHOT" artifacts from azure artifacts repository? (Snapshot translation to timestamp is malfunctioning)

Maven is not able to download artifact when referred by version such as 'XXX-SNAPSHOT' but it is able to download every other dependency from it. It even downlo

Jenkins Artifactory Plugin - Maven wrapper not publishing custom artifacts which have been installed

When building my Maven project, I expect the Jenkins Artifactory Plugin to deploy/publish artifacts which I successfully maven-install (ie, copied from the /tar