(SOLVED) mvn: not found jenkins

mvn: not found jenkins: If you are running a Maven/Spring project in Jenkins and you are using the shell script option to run some maven command like : and you got this the build error : /Users/Shared/Jenkins/tmp/jenkins8087926087546049217.sh: line 3: mvn: command not found Try this solution : Import the maven path variable before execute the […]

En Lire Plus

(SOLVED) : Unknown error in pom.xml !!

Getting unknown error at Line 1 in pom.xml in Eclipse IDE Solution answer according to current status : This issue got fixed: Please install the m2e connector for mavenarchiver plugin 0.17.3 from https://download.eclipse.org/m2e-wtp/releases/1.4/ obsolete answer : A less profound change than a downgrade from Spring Boot 2.1.5.RELEASE to 2.1.4.RELEASE would be downgrading only the affected Maven JAR […]

En Lire Plus

PARALLELS ARRAYS ET MAVEN

Un précieux lecteur m’a informé, suite à mes deux derniers articles sur les Parallel Arrays , que les JARs de la JSR-166 étaient disponibles via Maven. Bonne nouvelle, et simplification pour leur installation. Ca doit même être une bonne nouvelle pour les aficionados de Gradle et Ivy ! Les dépendances sont alors les suivantes. Ce […]

En Lire Plus

Spring Security Error : AuthenticationManager

error : The type org.springframework.security.authentication.AuthenticationManager cannot be resolved. It is indirectly referenced from required .class files Spring Security error : When you get this error : The solution is : 1. Add spring-security-core to your build path. If you already have one, download the latest version.2. after mvn clean install , if you still see error in […]

En Lire Plus

How to include custom library into maven local repository

If you’ve ever wondered whether you can upload your own libraries as a dependency using Maven, the answer is yes, you can. And it is really simple. It’s a 2-step process. Step 1 Navigate to your Maven project path in the command line and to upload a library, that’s the structure of the maven command: […]

En Lire Plus

How to use Maven profiles

Maven profiles : Simply said, Maven profile is a set of configuration value which override default values. By using it, it allows you to create a custom build for different environments (Production/Development). Maven profiles: To specify a profile in Maven, you need to use the activeProfiles or profiles elements in the pom.xml file. The pom.xml is being […]

En Lire Plus

How to install Maven on Windows, Linux and Mac

In this tutorial, we will be going through the installation process of Maven. If you are a WINDOWS user (if you are not, scroll down to view how to install Maven if you are a Linux or Mac user): Before proceeding with the next steps, make sure you have JDK installed on your system. If […]

En Lire Plus