Maven org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin not found error resolution

Maven org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin not found error resolution

Scenes

After pulling down flowablethe source code of the project and [adding it as a Maven project] locally, the flowable-mulemodule pom.xmlfile depends on org.eclipse.m2e:lifecycle-mappingthe plug-in, and IDEA displays an errorcan't find plugn
pom.xml plugin

learn from

Find the plug-in project and related solutions in github, address

Excerpt error

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0

The situation is similar, and the error is reported due to the lack of the plugn. Excerpt from the original solution

The easiest way is to checkout the repository and run mvn install or mvn deploy -DaltDeploymentRepository=REPOID::default::PLUGIN_REPO_URL.

Otherwise you may download the pom and the binary jar and run:

mvn install:install-file -DpomFile=pom.xml -Dfile=lifecycle-mapping-1.0.0.jar or
mvn deploy:deploy-file -DpomFile=pom.xml -Dfile=lifecycle-mapping-1.0.0.jar -DrepositoryId=REPO_ID -Durl=PLUGIN_REPO

According to the method provided, there are two ways to solve it. The simplest checkout and run mvnthing is .

Concrete operation

  1. Pull down the source code project checkoutto the local
  2. runmvn install
    final rendering

Guess you like

Origin blog.csdn.net/weixin_51623642/article/details/128101556