mvn parallel building -T on karaf-services-maven-plugin
mvn parallel building -T on karaf-services-maven-plugin
我正在尝试使用命令在 maven 上执行并行构建执行
mvn clean install -DskipTests -T 2.0C
但是工件 org.apache.karaf.tooling:karaf-services-maven-plugin:4.2.8
引发此警告
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project *
[WARNING] * contains the following plugin(s) that have goals not marked *
[WARNING] * as @threadSafe to support parallel building. *
[WARNING] * While this /may/ work fine, please look for plugin updates *
[WARNING] * and/or request plugins be made thread-safe. *
[WARNING] * If reporting an issue, report it against the plugin in *
[WARNING] * question, not against maven-core *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in myBundle Install:
[WARNING] org.apache.karaf.tooling:karaf-services-maven-plugin:4.2.8
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************
在 karaf jira 中实际上说是从 3.0.6 版本开始支持的版本...
所以我丢失了一些其他参数或配置?
Maven 确实正确,版本4.2.8 和更新版本的插件未标记为线程安全。
来自不同插件的其他几个mojos很难,所以这很可能不是一个错误。
我假设您读到 karaf-maven-plugin 是线程安全的,但您使用的是另一个名为 karaf-services-maven-plugin 的插件。
您可以尝试构建是否可以并行执行,但我不建议这样做。如果需要,您可以提交功能请求。
我正在尝试使用命令在 maven 上执行并行构建执行
mvn clean install -DskipTests -T 2.0C
但是工件 org.apache.karaf.tooling:karaf-services-maven-plugin:4.2.8
引发此警告
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project *
[WARNING] * contains the following plugin(s) that have goals not marked *
[WARNING] * as @threadSafe to support parallel building. *
[WARNING] * While this /may/ work fine, please look for plugin updates *
[WARNING] * and/or request plugins be made thread-safe. *
[WARNING] * If reporting an issue, report it against the plugin in *
[WARNING] * question, not against maven-core *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in myBundle Install:
[WARNING] org.apache.karaf.tooling:karaf-services-maven-plugin:4.2.8
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************
在 karaf jira 中实际上说是从 3.0.6 版本开始支持的版本... 所以我丢失了一些其他参数或配置?
Maven 确实正确,版本4.2.8 和更新版本的插件未标记为线程安全。 来自不同插件的其他几个mojos很难,所以这很可能不是一个错误。
我假设您读到 karaf-maven-plugin 是线程安全的,但您使用的是另一个名为 karaf-services-maven-plugin 的插件。
您可以尝试构建是否可以并行执行,但我不建议这样做。如果需要,您可以提交功能请求。