0
我有一个只需要在Linux上执行的maven插件。我发现这个配置似乎工作如何仅在特定平台上运行插件
How do I make this plugin run only on non-Windows platforms?
<profiles>
<profile>
<activation>
<os>
<family>!mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
...
</plugin>
</plugins>
</build>
...
</profile>
</profiles>
如何修改它,使它只执行在Linux上?
我用这个家族作为Linux,它似乎在工作。但是,感谢这个信息 –
您能否请您将答案标记为已接受? –