Local maven dependency (2)

As an alternative to local maven dependency (1) You can go this way:

 <name>My Lib</name>

Local maven dependency (1)

A local maven dependency can be defined like this:


Maven Project Build Lifecycle Mapping Problem

Eclipse does not accept the pom.xml as shown:


It shows the error message below.

Plugin execution not covered by lifecycle configuration: 
(execution: default-compile, phase: compile) pom.xml /takari-cpsuite 
line 24 Maven Project Build Lifecycle Mapping Problem

To solve this issue, leave Eclipse, do not install m2e, go to project in shell,

mvn clean install

will download the needed maven plugins automatically. Afterwards this project can be used as a maven dependency in other projects, e.g. in Eclipse projects with maven nature.