Maven org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin not found error resolution
Scenes
After pulling down flowable
the source code of the project and [adding it as a Maven project] locally, the flowable-mule
module pom.xml
file depends on org.eclipse.m2e:lifecycle-mapping
the plug-in, and IDEA displays an errorcan't find plugn。
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 mvn
thing is .
Concrete operation
- Pull down the source code project
checkout
to the local - run
mvn install