Category "maven"

Access Remote Maven Artifactory from Bitbucket Pipelines

I'm trying to set Bitbucket pipelines to run Maven verify command. What I currently struggle with is how to access dependencies that are defined in my POM. I ha

FailSafe plugin is not running feature files in parallel

I have included failsafe plugin with parallel methods and threadcount 4. And framework is cucumber with junit. I'm trying to run features in parallel with fails

Maven test fail on terminal but passes in IntelliJ

My Spring Boot application uses TestNG and it has the surefire plugin. I am attempting to package it on the terminal but it keeps failing on the maven test step

How to upload Maven packages and build info to Artifactory from Jenkins

I'm a little confused about how this should work. I have a Jfrog Maven repo. In my Jenkins pipeline I'm just using mvn deploy to deploy to it. But I want to get

Maven- Getting dependencies from pom file

I need to get all the dependencies of a project, so to my knowledge, everything under <dependencies> ... <dependencies> and <exclusions> ... &

AWS CodeArtifact token update

I created AWS CodeArtifact repository, obtained token with aws codeartifact get-authorization-token command, and set it correctly to .m2/settings.xml (my projec

maven-shade-plugin doesn't replace the original jar

It is weird that my maven-shade-plugin doesn't replace the original jar with the shaded jar. Does anyone know what could be the reason? Here's my plugin in pom.

force maven to use different java version

I have my existing project that uses Java 1.8 My JAVA_HOME is set to Java 1.8 As a result maven is using Java 1.8 , which is fine Now our project has decided to

No main manifest attribute, in executable jar

while running my jar I receive the below error No main manifest attribute, in jar I have followed some of the solutions provided here but it did not solv

What is the difference between maven compiler plugin and maven toolchains plugin?

I had to integrate some legacy code into my maven build, so I used the maven-recommended toolchains plugin to change the java version: <plugin> <gr

maven jacoco plugin reports always show 0% of coverage

JaCoCo reports always shows 0% of coverage but Intellij integrated report is ok. I already see others StackOverflow questions but none helped. Below is my jacoc

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found

I'm facing an error in my pom.xml file given below: Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found Below is my pom.xml : <?xml versi

How to resolve class file for com.google.cloud.Service not found

I am Trying to upload JSON data to gcs. As I did not use google cloud previously I started with uploading random String to gcs but I got stuck at the beginning

Cannot resolve class com.github.mikephil.charting.charts.BarChart, MPAndroidChart

What's going on? Got all guide but I have this error. Class referenced in the layout file, com.github.mikephil.charting.charts.BarChart, was not found in the pr

Java 11 Eclipse finds automatic module, Maven does not

I'm attempting to upgrade a 15 year old Maven multimodule project to Java 11, and the module system that was introduced in Java 9. Since the project is built us

How to create a standalone application using JavaFX 11 (Modular)? [duplicate]

I'm following the tutorial here and using openjdk 11.0.2 and javafx-sdk-11.0.2. I've imported the maven project in Eclipse. The project actual

Spring Boot Application faild to start in intellij idea showing exception

I am trying to run application in Intellij Idea, but i am getting this error.... org.springframework.beans.factory.BeanCreationException: Error creating bean w

External properties file in spring

I have a java,spring and not spring boot command line program with maven , which when i build a jar with all dependencies using maven-assembly-plugin , it inclu

How to change window selenium java?

I'm trying to access iframe inside html tag.xpath is not working.How to change my window to iframe in selenium(java/maven)?

Automatic OpenAPI YAML generation

I am working on the backend of a Spring Boot application that uses OpenAPI and Swagger to provide the interface for frontend application via an schema.yml file.