Category "maven"

Build a jar file from project folder in a specific location of git repository using azure devops

I am having a git repository for my project with a structure as shown below. The structuring is based on the source, all the codes, scripts related to a sourc

Connect to SQL Server in Robot framework | Maven Dependency

I'm trying to connect to SQL server in robot framework, so I've added the following code in pom.xml file: <!-- https://mvnrepository.com/artifact/com.mic

Unable to validate pom.xml of a mule application in SonarQube

I am using SonarQube to validate artifactId, modelVersion etc in pom.xml file for a mule application.To validate these nodes, I have build some rules in SonarQu

In Maven Site how do I add a external href (to another root domain) in a menu item

I am trying to use the Maven Site archetype to generate a few sites. I want to have a menu section (called "Quick Links" for now) that has a number of common si

Packaging jar file with source code using Maven so breakpoints can be used in Eclipse

Requirements I am refactoring a Java application and am trying to move code out of a war file and into a jar file so it can be used across many different web ap

No suitable driver found for jdbc by Java 9.0.4 and Derby 10.14.2.0 and Maven

I'm trying to solve the problem with connection to Derby since a few days. I have always the same Exception: java.sql.SQLException: No suitable driver found

Sping security OpenSAML 4.1.1 artifacts not found

I have a maven multi module project where I'm using spring boot 2.6.4 and spring security in a saml2 scenario. As far as I know spring uses opensaml and more ex

Jasper Library download forbidden when running maven: mvn package

I am downloading all libraries I need for my spring project in Intellij Idea. I am using maven: mvn package. All libraries succeeded, except for one that is for

exec-maven-plugin: Can I run exec:exec goal without first running the toolchains:toolchain goal?

I've inherited an application that only compiles and runs in Java 1.8. Because I don't want to make Java 1.8 the primary jvm on my machine, I felt that the best

How to add Repository maven in new Android Studio Project setup(2022)?

I want to use the maven library in the android studio project. in the library documentation, they mention adding like this, repositories { maven { url 'http

Maven toolchain and heroku/cloud deployment

This is going to be a broad topic so please bear with me. So I build a microservices app started as a hobby and now in the few months I put into it I made somet

Trigger parameterised maven release with Curl

Using following command to perform maven release: curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -u user:jenkinscrumb --data-urlencode json=

What are trustAnchors ? and How do I configure it?

I was recently assigned a java project. I am not very familiar with Java. I have been trying to build the projects but I am having the following error: the trus

java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap error when trying to execute tests using Chromedriver and Maven

I am new to selenium tests and I am currently watching some youtube videos using maven. Today I tried a few codes and worked fine but when accessing one store p

Maven Enforcer: How to access maven properties from beanshell rule

I successfully created a evaluateBeanshell rule with the maven-enforcer-plugin that scans files in the workspace for common mistakes. With a hardcoded path the

scanBasePackages on SpringBootApplication breaks endpoints

I am using an external dependency in my SpringBootApplication. The main class is defined as @ConfigurationPropertiesScan @EnableConfigurationProperties @SpringB

Spotbugs build issue

Built failed while creating aws-sdk-v2 jars due to spotbugs plugin. Steps to reproduce the error: clone latest version of aws-sdk-java-v2 In terminal, go to dir

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver even after using the mySql Maven Dependency on Intellij

I am using Intellij for a servlet project and using maven <dependency> <groupId>mysql</groupId> <artifactId>mysql-conn

Eclipse 'Project Explorer View' doesn't show Errors - Stack Overflow

In the "Project Explorer" view of a maven project, instead of showing errors (compilation) in the project itself (red blade), they appear at the level of the fo

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver even after using the mySql Maven Dependency on Intellij

I am using Intellij for a servlet project and using maven <dependency> <groupId>mysql</groupId> <artifactId>mysql-conn