Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将这样的系统属性传递给 Maven
mvn install -Dmy.property="foo bar"
使用 /usr/bin/mvn 中的 Ubuntu 包包装器,这会中断 - 不知何故,命令行被解释为好像是单独-Dmy.property=foo的bar 参数。
-Dmy.property=foo
bar
罪魁祸首似乎是包装脚本中的某些东西 - 不知何故,$@命令/usr/share/maven2/bin/mvn $@中的 重新拆分了命令行参数并错误处理了引号。
$@
/usr/share/maven2/bin/mvn $@
有人知道怎么修这个东西吗?
我正在尝试将给定字段与模型Header中的其他字段进行比较。Alarm正如您在代码中看到的,我通过 3 个不同的步骤过滤警报。前 2 个工作完美。但是,最后一个不起作用。它说:
Header
Alarm
undefined method `wh