简体   繁体   English

Maven插件执行其他插件?

[英]Maven plugin to execute other plugins?

Is there a maven plugin that executes other maven plugins? 是否有maven插件执行其他maven插件? I swear there was one and now I can not find it. 我发誓有一个,现在我找不到它。

Thanks! 谢谢!

If you don't find anything else, you could always write your own with the help of The Mojo Executer . 如果您没有找到任何其他内容,您可以随时在The Mojo Executer的帮助下编写自己的内容。 It's a library that allows you to easily write plugins that invoke other plugins. 它是一个库,允许您轻松编写调用其他插件的插件。

I'm still not quite sure I understand your answer to Waldheinz though. 我仍然不太确定我理解你对Waldheinz的回答。 Maybe you could explain exactly why you need to do this? 也许你可以解释为什么你需要这样做? Maybe there's an alternative solution that doesn't involve chaining plugins. 也许有一个替代解决方案,不涉及链接插件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有条件地执行 maven 插件 - conditionally execute maven plugins Maven - 未能执行目标 org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean - Maven - Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean Maven:无法执行目标 org.apache.maven.plugins:maven-resources-plugin:2.7:resources - Maven:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources Maven 3:无法执行目标org.apache.maven.plugins:maven-archetype-plugin:2.2:generate - Maven 3: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate Maven 构建错误 - 无法执行目标 org.apache.maven.plugins:maven-assembly-plugin:2.5.5 - Maven build error - Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5 Maven:未能执行目标 org.apache.maven.plugins:maven-compiler-plugin:3.10.1compile: - Maven: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile MAVEN 错误:“无法执行目标 org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean” - MAVEN ERROR : "Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean " 无法执行目标com.jayway.maven.plugins.android.generation2:android-maven-plugin - Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin 无法执行目标 org.apache.maven.plugins:maven-archetype-plugin:2.4:generate - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate 无法执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test on project XYZ - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test on project XYZ
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM